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.
-
View User Profile
-
Send Message
Posted Jul 31, 2013Hi. Could somebody please explain to me how to ban specific items only in spawn region using this with PermissionsEx. I am running Tekkit Classic server by the way.
-
View User Profile
-
Send Message
Posted Jul 30, 2013@obscurehero
Does the ChestShop permission work (add/remove) with that setup?
-
View User Profile
-
Send Message
Posted Jul 29, 2013@asofold
Not as far as I know. The only way a player can get those nodes (or even child nodes) should be through RSP. I did try to define bPermissions groups after posting this and gave them null permissions... However, no luck there.
-
View User Profile
-
Send Message
Posted Jul 29, 2013@obscurehero
Did you ever use bPermission groups for this, or have other groups defined those nodes?
-
View User Profile
-
Send Message
Posted Jul 29, 2013@asofold
They are parent nodes defined in the plugin.yml of that plugin. It doesn't seem to be working, haha, so I'll do a bit more dinking around.
Thank you for making this plugin and making it public here on DBO. Once I get it working its going to be super useful!
-
View User Profile
-
Send Message
Posted Jul 29, 2013@obscurehero
It looks good at first glance, however the wildcard permissions are not processed by RSP in any special way - so if the market plugin does not define those they can not work.
-
View User Profile
-
Send Message
Posted Jul 28, 2013@asofold
How does this look? http://pastebin.com/AWSAjV0s
Should only allow the permissions in the certain regions. Doesnt seem to be working though. I have NOT defined those groups in bPermissions, however. I didn't htink I needed to.
-
View User Profile
-
Send Message
Posted Jul 28, 2013@asofold
Wow. Seems like my failure to read... Let's see now that I've needed my hand held through this one...
-
View User Profile
-
Send Message
Posted Jul 28, 2013@obscurehero
The config you pasted there does not contain any transient-groups definition, though. Are you using transient permissions on side of the permissions plugin !?
Example: http://dev.bukkit.org/bukkit-plugins/rsp-region-specific-permissions/pages/examples/advanced/negating/
The example would be only really be necessary for overlapping regions, but it shows "transient-groups" as used in RSP.
-
View User Profile
-
Send Message
Posted Jul 28, 2013@asofold
Adding the permission does work. It's the removing that does not work. The regions are non-overlapping. Here is the pastebin (http://pastebin.com/s6xvG40q).
I'm currently using a permdef to pass a transient group to a player that contains the permissions. These permissions are not given to players otherwise and so are completely handled by RSP. However, should I be using another region, instead, to remove the group? I thought that's what 'have-inside' was supposed to do?
Thanks for the reply!
-
View User Profile
-
Send Message
Posted Jul 25, 2013@obscurehero
I am not sure what exactly happens.
Maybe you should paste your configuration (pastebin or bukkitdev paste), so we can rule out some things directly, for instance:
You should handle permissions that get removed dynamically fully inside of RSP with transient groups and priorites in permdefs to be able to reliably negate permissions (see examples link in the description above, the bperms groups only carry the filter). That way adding both permdefs at the same time will lead to removal of the permissions, if the permdef that is used for the removal has a higher priority.
-
View User Profile
-
Send Message
Posted Jul 24, 2013@asofold
I have regions that are very nearby, so I've set my regions to 'have-inside' so that crossing from region to region will remove the permissions or add them for the right players. However, its not operating that way. Even with lazy-dist set to '0' and bringing down the cache to like 1 second (in my test environment) isn't fixing it. I'm guessing its because there isn't enough time to check and then remove permission?
I'm using bPermissions and I have auto-save on so I don't have this plugin saving.
Help?
-
View User Profile
-
Send Message
Posted Jun 24, 2013@asofold
Okay, thanks for the information. It's not really an issue, it just would have been nice.
If you ever find the time to implement it, I would appreciate that, but still. :)
-
View User Profile
-
Send Message
Posted Jun 24, 2013@Blacklands
Could be one of the next additions to have group/flag dependent stuff.
You have to add all the regions in the rsp.yml in the links section.
Currently the only exceptions are the generic links for ownership, membership and "every region":
__owner__ ... __member__ ... __region__, and__global__for world-wide.-
View User Profile
-
Send Message
Posted Jun 24, 2013I'm just trying out RSP for the first time, and it seems to be awesome - I've got one question though:
Let's say you want to set the same permdef for several WorldGuard regions - do you need to add each region to rsp.yml manually? Or is it also possible that you, for example, specify a flag (or a WorldGuard region group), and all regions with that flag (or group) assigned to it will have the permdef?
I hope that was understandable...
-
View User Profile
-
Send Message
Posted Jun 24, 2013@Blacklands
Approval pending ...
-
View User Profile
-
Send Message
Posted Jun 24, 2013@asofold
Really nice to hear that, thanks for the fast response. :)
-
View User Profile
-
Send Message
Posted Jun 24, 2013@Blacklands
I will update the descriptions soon. RSP is still operable, might upload a version compiled for 1.5.2 - i am using it on my own server, so certainly it is still maintained - only adding new features might not happen too much.
-
View User Profile
-
Send Message
Posted Jun 23, 2013Hello asofold,
Does RSP still work with Minecraft 1.5.x (as the last version seems to be for 1.4.7)?
If not, do you still plan to update it (as you have dropped RSP)? And if you wont, do you (or does anyone else) know an alternative for RSP? :/
Thanks in advance for any answer.
-
View User Profile
-
Send Message
Posted May 30, 2013@SmallzZz8
Best start with a test!
It is about configuration, commands are of little use (except maybe for reloading configurations of RSP and GroupManager).
Can you test as a normal user ?
I suggest setting up a test thing with this (abstract) example: http://dev.bukkit.org/server-mods/rsp-region-specific-permissions/pages/examples/advanced/negating/#w-reliably-negating-permissions-inside-of-a-region
So just make a test group in GroupManager, like TestRSP and give it the permission "rsp.filter.havesomething", which means nothing by itself but allows to configure RSP to deal permissions on base of that filter, only to those who have it.
Then you choose a permission or set of permissions for testing, something that does not hurt if a tester has it, but which can be easily checked if it works or not works (like setting time or something), these will be input to RSP config.
Next is to set up RSP to normally give the permissions for the whole world.
Partial copy for having the permission in a world (test it that way, just replace permission names and filter permission
So after this the players who have the filter permission should have the somthing-permissions in the world "TheWorld".
Next is to set up the negation of those permissions within a certain region. Can you follow / test the above so far? The full example shows how the negating parts are done, maybe you can paste the links, transient-groups and permdefs sections once set up (use
<<code YAML>>...<</code>>or a link to a yaml paste).