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.
@Remi_Scarlet
Yes, it just gets added then.
@VietNg
I might need support at some point :)
Concerning negation i am not sure what i can do - for using PEX i should try to preserve the previous groups order, and also to add the groups at the right end, so that the pex logics for adding negative permissions should work (next topic for me to work on: http://dev.bukkit.org/server-mods/rsp-region-specific-permissions/tickets/5-use-optimal-group-order-and-preserve-it-for-negative/).
@awesomebilly
Thanks - i am not sure what is surprising about the rsp rank getting added, did a transient group get added to your players on some occasion?
figured it out. This plugin rocks.
Except it adds my "rsp" rank to the players pex group :(
I've tested it and It didn't negate permission. I love the features this plugin has(world border), I hope you can add the negation power for this plugin soon. If you need support to your project, we can gladly contribute :)
So just checking, but this plugin "adds" a permission group to the user, correct? Eg if I have player Remi_Scarlet with usergroups, "admin," "superawesomeperson," and "trollololadmin" and I enter a region where if I meet the criteria, permdefs says to "add" on the group, "isInTheArea" I'll have the previous three I have, AS WELL AS "isInTheArea" so in total, while in this region, I have four permission groups?
PermissionsEX, btw.
@VietNg
EDIT: i have to think more about it...
Adding negative permissions usually demands having a certain order of groups getting added to players.
This order might be violated by changing groups and adding permissions and so on, so i am not sure if one can really rely on it.
You might simply try to test it with transient-groups given below. If you're lucky it works, but it might get broken later. As long as Bukkit does not support permission priorities it won't be certain...
I might later extend RSP to allow for better control of overall permisions, such as flying to have everywhere unless stated otherwise...
@asofold
Hi, I'm using PermissionsEx for permissions. I'm very new to this plugin but it's very important for my server to negate some permissions in a certain region.
@VietNg
Negative permissions may be difficult to do with transient permissions.
What permission plugin are you using?
Most probably for negative permisisons you would have to create a permission group in your permission plugin with the negated permission. You could name it NoFly.
Then you need the following entries in rsp.yml:
You could actually try to use transient permissions with RSP but there is no guarantee that a negative permission will override the permissions set by your permissions plugin.
If you try those, you would add to rsp.yml:
I am extremely confused even after reading the config page. Supposedly If I want to set the permission essentials.fly to negative in the region "pvp" in "world", how would I do that? Thank you very much :)
@MiachBiatch
Should work with 1.3.1 , running on test server.
Still using this plugin Asofold! Please update to 1.3.1, thanks alot! :)
Thank you for the update.
to note, the dwarf setup is working absolutely fine, the others, an exact replica wont... though human used too :/
http://pastebin.com/heX0jm7j
so it works one mo, then next its going tits up, please tell me why lol....
http://pastebin.com/heX0jm7j
im now using have-inide as well as an add-exit...
after three an a half hours of trying this an that, iv got it working!
Brill plugin, tyvm :)
@mrcb
You are using add-enter and add-exit, thus the groups get added only, in on case when players enter the region in the other case when players exit the region.
To remove groups you should could remove-enter and remove-exit.
If you want them to have a group inside you can also use have-inside for that gorup.
So you are just intending to give extra permissions inside of a region - use have-inside.
now the enter one has stopped working :/
right, when a human enters the region human world, there put into the group humana, perfect.
when they leave, i want them to go back to being a human, but they dont, where am i going wrong please?
pic of config:
http://i252.photobucket.com/albums/hh32/craigb07/Untitled-16.png
@Remi_Scarlet
Wow sorry, thank you for telling - i did check the configuration explanations but not these ones !
this is a great plugin!! very nice.
but i hope you can implement the single permissions.
Ah, got'cha.
btw you should probably fix this page, then :P http://dev.bukkit.org/server-mods/rsp-region-specific-permissions/pages/examples/simple/pex/ (I ended up copying and editing the names to my server info, but yeah, the have-inside and groups are flipped there, too)
And the config worked like a charm, so +9999 internets to this plugin and you :D