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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of asofold asofold Aug 16, 2015 at 16:41 UTC - 0 likes

    RSP 1.9.2 pending approval. Updated to MC 1.8.8 plus latest dependencies.

    BFAK:asofold,90573112,4305cd44b773216e4e4b4865b3831dcc3c507c15087fb5cfeebd9392050724fc

    NoCheatPlus
    Latest beta release (+ 1.8.3, approved) NoCheatPlus 3.12.0-RC-sASO-b813
    (Development builds, 1.8: Jenkins)

  • Avatar of asofold asofold Aug 14, 2015 at 19:07 UTC - 0 likes

    @chikken001: Go

    I'll update ...

  • Avatar of chikken001 chikken001 Aug 14, 2015 at 14:06 UTC - 0 likes

    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

  • Avatar of asofold asofold Aug 14, 2015 at 10:48 UTC - 0 likes

    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.

    • someplugin.somerootperm.item.(34|46|112-275)
    • someplugin.skill.* or worldguard.region.flag.*.own <- This probably is not recommendable, and i would not have RSP resolve these at runtime like pex used to do, but instead any registered permissions could be scanned for inclusion.
  • Avatar of asofold asofold Jul 16, 2015 at 19:04 UTC - 0 likes

    @wesnoah3: Go

    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:

    <<code YAML>>
    # Paste your config in here.
    <</code>>
    
    Last edited Jul 16, 2015 by asofold
  • Avatar of wesnoah3 wesnoah3 Jul 16, 2015 at 16:08 UTC - 0 likes

    @asofold: Go

    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.

  • Avatar of wesnoah3 wesnoah3 Jul 16, 2015 at 16:06 UTC - 0 likes

    World guard 6.1? The plugin looks to be working fine tho. My server works for any 1.8 and 1.7 versions too.

  • Avatar of asofold asofold Jul 16, 2015 at 08:54 UTC - 0 likes

    @wesnoah3: Go

    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:

    transient-groups:
      NoKillAll:
      - killallp.safe
    permdefs:
      PDNoKillAll:
        have-inside:
          groups:
          - NoKillAll
    links:
      TheWorldName:
        RegionName:
        - PDNoKillAll
    

    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)?

    Last edited Jul 16, 2015 by asofold
  • Avatar of wesnoah3 wesnoah3 Jul 15, 2015 at 17:04 UTC - 0 likes

    (Sorry for the spam) P.S. I am using PermissionsEx

  • Avatar of wesnoah3 wesnoah3 Jul 15, 2015 at 17:00 UTC - 0 likes

    @asofold: Go

    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

Table of contents

  1. 1 Maintenance Phase

Facts

Date created
Jan 11, 2012
Categories
Last update
Aug 16, 2015
Development stage
Mature
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
Region specific permissions
Downloads
16,262
Recent files

Authors