Region specific permissions
Region Specific Permissions (RSP) allows to add and remove permissions dynamically, using WorldGuard regions as reference. Also useful to limit your worlds to a rectangular or circular zone around an arbitrary center! Currently you need WorldGuard for regions.
Maintenance Phase
Due to timing constraints i might not add much to this plugin, but can keep it updated.
I might implement some features of pex to make this a fully featured permissions plugin, t would be somewhat optional and RSP still would be able to use hooking into other plugins. However that is quite a task and i am not sure if i will do it, or if i want to rely on another permissions plugin, since pex might time out.
Quick links: Installation | Configuration | Commands | Troubleshooting | Examples
Internals: Performance | Progress | Changelog | Source Code on GitHub
REQUIREMENTS:
- WorldGuard
Since version 1.1.0 you don't need a permissions plugin anymore to operate RSP.
Compatible permissions plugins:
- PermissionsEx or
- bPermissions or
- Since 0.12.0:
Vault, linking to another permissions plugin - however it is not guaranteed, that your permission plugin supports adding or removing groups during runtime. Furthermore you might have to alter the RSP settings to achieve compatibility via Vault.
Should work without adaption (or despite): PermissionsBukkit (RSP 0.12.0)
This plugin actually adds and removes permission groups, either those defined by the permissions plugin or those given in the RSP configuration in the transient-groups section.
Actually RSP has more to it than "just" permission adaption for regions, it also allows to confine your worlds to circular or rectangular areas with arbitrary center, to limit your maps.
See the Configuration link for more specific information and the Troubleshooting link for examples and hints. Both sections are under review and will be updated more or less soon.
@Aleix16
Provided RSP works at all for our version of Minecraft:
Add this to the configuration (if you have already, add-in the entries).
Here the essentials.home permission is added if you are within the world with the name 'world' inside the region with the name 'r_ehome'. Now with the default setup oif your server you need to ensure that players don't have the essential.home permission by default. Of course you can alter the world and region name and add more/other entries.
WorldGuard does have some support for disabled/enabled commands within their regions via flags, so that might be worth looking up as well.
@asofold
Please, could someone help me? I dont know how to use this plugin.. What i Need is that:
I want to create a region (like a small zone) where you can use a command or you have a permission like "essentials.home", and meanwhile you are in that zone you can tp to your home; but, when you exit from that zone, you lose the "essentials.home" permission, so you cant use the /home command. It's only an example, I hope someone understand me and can help me.. And sorry if you dont understand my english, i'm spanish ;)
@ZoefyC
Haven't checked yet. I assume it should work, but it'll be better to test.
Does this work in minecraft 1.9? :)
@asofold
This plugin is a God send, you've just increased the capabilities of my server 10x!
RSP 1.9.2 pending approval. Updated to MC 1.8.8 plus latest dependencies.
@chikken001
I'll update ...
I have some errors with worldguard 6.1, like :
could not pass event PlayerMoveEvent to RSP 1.9.1
could not pass event PlayerTeleportEvent to RSP 1.9.1
I think a question was removed (probably you found the answer).
RSP does not support any regex/wildcard permissions, you'd have to enter each one individually.
Concerning simplified ways to express multiple permissions in an efficient way, one could talk about adding something that can be pre-cached (not necessarily strict regex), e.g.
@wesnoah3
You have to insert the world name and region names there instead of TheWrldName and RegionName - then you just append it to the configuration of RSP.
You can use the paste link on the top and set the content type to YAML and just post the link here, or you use code/YAML tags and paste content there, so i can have a quick look:
@asofold
Also where would I paste transient-groups: NoKillAll: - killallp.safe permdefs: PDNoKillAll: have-inside: groups: - NoKillAll links: TheWorldName: RegionName: - PDNoKillAll ?
Also I would like just for a full youtube tutorial for this because I didn't understand some of the things explained, and yes I have check all the links above.
World guard 6.1? The plugin looks to be working fine tho. My server works for any 1.8 and 1.7 versions too.
@wesnoah3
Have you had a look at the configuration and examples pages?
The blueprint for having some permission inside of a region is this example (from
# ADDED PARTS
on):http://dev.bukkit.org/bukkit-plugins/rsp-region-specific-permissions/pages/examples/simple/generic/
The config page might help with the accuracy settings (by default RSP has roughly 4 blocks inaccuracy):
http://dev.bukkit.org/bukkit-plugins/rsp-region-specific-permissions/pages/Configuration/
The minimal thing would look like this:
There is no need to add anything in PEX, but you might want to set the accuracy higher with setting lazydist to 0 either globally. In fact you can also alter the accuracy just for a container region or just for that world, but that should be the follow up steps after making it work at all.
Edit: I am also not 100% sure if this works with WolrdGuard 6 - which versions are you on (server / WG)?
(Sorry for the spam) P.S. I am using PermissionsEx
@asofold
Here is what I want this plugin to do. I have a killall player plugin that kills everyone by typing /killallp but if you have killallp.safe you don't die. How can I make so when a player enters a certain area they get this permission but when they leave the region it gets removed? @asofold
Here is what I want this plugin to do. I have a killall player plugin that kills everyone by typing /killallp but if you have killallp.safe you don't die. How can I make so when a player enters a certain area they get this permission but when they leave the region it gets removed? @asofold
Please have a tutorial! I don't understand how to use this plugin!
@Vlaminations
Ok, i will check this then.
@asofold
Oh yes, sorry for the late reply. But it doesn't work with how the latest Worldguard works. I am not able to send you an error message at the moment, but it should be reproducable by trying yourself with the latest WG version.
@Vlaminations
Are there actual issues with 1.9.1?