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.
@Chinimala
The nether groups have a filter permission, so if a player logs out, groups might get removed after some time, so that when they log in again, they don't have the filter permission anymore.
Can you once more paste your configuration of RSP and also the permission groups (PEX)?
I am interested if the players have the filter permissions for keeping the nether group, when they log back in, i.e. rsp.villageois and rsp.citadins - you might consider adding the filter perms to the nether group.
If they disconnect/reconnect immediatly, there's no problem. But sometimes, after more than a few minutes after their disconnection, they are visitors. So yes, the problem is when they disconnect (they are visitors while disconnected).
@Chinimala
The bigger region only is useful if it is set up like a town (one region containing all other regions, but not as big as the whole map). So maybe forget about that one right now.
I think i did not read right: The problem is when they disconnect and then reconnect?
I'm using RSP 1.7.2.
I added the config for the nether and the end after the rest because without this, a "citadinR" in his region going to the nether lose his group without getting an other one so he became visitor.
They can place all blocks inside of their region when standing outside.
I set lazy-dist to 0, there's still the problem. But sorry I don't understand what you mean a the end :/ I understand you say me to create a bigger region around each region, but there are hundreds of regions.
Thank you for helping me !
@Chinimala
I can't judge it right now, will have to take a closer look.
Couple of points:
Hi, I made this config to put my members in a specific group where they can't place some blocks in the regions they own. http://pastebin.com/rzm6eW58 But sometimes (not always), when they leave the game, inside or outside their regions, they are not anymore "Citadins" or "CitadinsR" (or Villageois or VillageoisR), so they become visitors, the defaut group. Can you help me please ? I use permissions ex, worldedit/worldguard and many other plugins. (Sorry about my bad english, I'm french.)
@Toxxic3D
Looks ok on first glance, so four things to check:
Not having any luck here. Trying to just give people with a certain group that go inside a certain area able to do the help command.
They aren't getting the permission.
@Maximvdw
I will have to check out changes in bPermissions once more...
@MineCrafterCity
First point is what do you want to reach... one-time group addition or having the group inside of a region? Further is the group to add permissions or remove or both ?
To have the Advanced group inside of the region you should define the group in RSP (transient-groups).
I don't get this at all, what do I have to do to make this work...
I added this into the bottom of the config yml file..
I gave the group member rps.filter.test so that they should be changed to Advanced.
I don't think I understand this, can I get any help please?
@asofold
Thanks for the quick response: I am running bPermissions version 2.10.7 and I am using world specific permissions. I get errors when a player moves or logs in/quits.
@Maximvdw
Funny that the latest version of RSP is 1.7.2 ...
"invalid world" - looks like bPermission is not initialized at that stage (or does not return properly for another reason), could be due to listener priorities (would need a fix then).
Can you state the version of bPermissions you are using?
Edit: Are you using world-specific permissions in bPermissions at all?
Please update to 1.7 :) I get allot of errors:
@kikotte
That can be tricky. If the players are not meant to be owners or members (if they were, one could add a group with the permission group.groupname to the players and as member/owner of the region), there is no way to do that at present (except for my private plugin).
@asofold
For the WorldGuard can not stop them getting into the region to check the permissions for see if they can come in or not.
@kikotte
RSP does not prevent region enter/exit - if you just want region messages and enter/exit denial, then you should just use the native WorldGuard functionality, it can already do that!
What do you want to reach otherwise?
@KeithSt0ne
For permanent adding you must not add the group to the transient-groups list, then it will be handled by the permissions plugin (PEX, bPermissions, something else via Vault...).
I think region enter messages are not supported by RSP itself. You could use WorldGuard for that, though i am not sure if WorldGuard does those with the player-move-event use disabled - if enabled in the WorldGuard config, RSP + WorldGuard both keep checking regions on player-move, which might mean a little more server load than necessary (your choice what actually is, though). I do have a private plugin for adding functionality like messages and enter/exit denial in some ways, but it would mean a bit of pain adding another plugin to BukkitDev, probably in "Maintenance Phase" right away...
With warp_aysgarth I want the following:
1. add the group to the player on enter (it does this, but is it permanent, I want it to be permanent)
2. say a message in chat, "Aysgarth warp updated"
I'm trying to set it up like Oblivion, where you have to find the village before you can start using the warp to it.
Can this plugins do so they do not enter the Region?
How should you do it with? groupmanager
[Pluginsname] [Regionname] RSP.testregion
?
@LandmineGT
Sorry for late reply, must have missed the subscription message.
The links-part is wrong. You need to set it up like :
This links the permdef "Bank" to the region RegionName in the world WorldName.
The group i would not call "default", but that is not a technical issue, i would just name it UseBank or so (in the permdef and the transient-groups), to have more speaking names.