SecureZone
SecureZone
Bukkit Plugin to restrict players to or from zones.
The plugin watches both player movement and player teleports.
As currently implemented, the plugin should prevent a player from teleporting out of a KEEPIN zone if they don't have permission, regardless of the source of the teleport. This is primarily due to the fact that where the teleport is detected the plugin can't tell who 'ordered' it.
The presently defined zone type are:
- KEEPIN: Keep players in the zone unless they have a zone-specific permission.
- KEEPOUT: Keep players out of the zone unless they have a zone-specific permission.
This plugin requires WorldEdit to be installed as it uses WorldEdit to select the zones to be created.
Installation
Place the SecureZone.jar (or SecureZone-version.jar) in your plugins directory.
Presently there is no manual configuration required for SecureZone. The configuration file is used to hold the currently defined protected zones, and will be created as necessay.
Commands
/securezoneprovides help for the commands you have permission to run./securezonecreate <zone> [zonetype]Create the named zone of the optionally specified type which defaults to KEEPOUT./securezonedelete <zone>Delete the named zone/securezonemodify <zone> <zonetype>Modify an existing zone's zonetype/securezonelist [world]List the currently defined zones. If the optional world is specified, only zones from that world will be listed./securezonevisit <zone>Transport the sender to the approximate center of the zone. This was added to help you locate zones if you have forgotten where they lived.
Each of the above commands is aliased to suport sz in place of securezone like /szlist.
Each of the 'non-help' commands is also aliased to support 'szX' where X is the
first letter of the command. (For example /szc is aliased to /securezonecreate).
Permissions
- securezone.admin: Parent permission for all commands and unrestricted access to zones
- securezone.create: Create zones
- securezone.delete: Delete zones
- securezone.modify: Modify zones
- securezone.list: List zones
- securezone.visit: Visit zones
- securezone.ignorezones: grants unrestricted access to all zones
Each named zone references a named securezone.ZoneName permission.
For KEEPIN zones this permission is required to leave the zone.
For KEEPOUT zones this permission is required to enter the zone.
Building the plugin
Should you be so inclined, the source for the plugin is on GitHub.
The plugin is built with Maven.
-
View User Profile
-
Send Message
Posted Apr 13, 2014What is the [zonetype] ???
-
View User Profile
-
Send Message
Posted Apr 17, 2013what's the perm for entering a specific zone?
-
View User Profile
-
Send Message
Posted Mar 12, 2013Can you create a version of this plugin for 1.4.7 please? Sorry for my bad english...
-
View User Profile
-
Send Message
Posted Feb 16, 2013@IBCoding Idea: please add a config entry that allows you to define the text that appears when you can't entry the zone. Oh and please also let it work with color codes.
-
View User Profile
-
Send Message
Posted Aug 27, 2012Recently updated this to be compatible with the latest bukkit.
This plugin requires WorldEdit to be installed as it uses WorldEdit to select the zones to be created.
WorldEdit is another plugin (I don't write it). Selections are a cuboid defined by two points (the opposite corners). You can get the tool used to make selections by typing '//wand'. You then left click one corner and right click the other. Pay attention to the vertical component. If your zone is defined by clicking two spots on the ground, the zone is 'in' the ground. One of your two points needs to be at a different height than the other.
Alternatively, WorldEdit has commands to 'adjust' the selected area, like '//expand 5 up', which moves the top of your selection up by 5 blocks. For more information, please refer to WorldEdit documentation.
-
View User Profile
-
Send Message
Posted Aug 25, 2012Posted version 0.7 that builds and appears to run with the latest beta. It should work with the latest recommended build as well, let me know if it doesn't.
-
View User Profile
-
Send Message
Posted Aug 25, 2012I was in the process of relocating and its taken a fair amount of time to get my dev system running again. Let me see if I can get it to build against the latest stuff.
-
View User Profile
-
Send Message
Posted Jun 7, 2012im guessing this is now inactive?
-
View User Profile
-
Send Message
Posted May 15, 2012how do i select an area to make a secure zone?