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 Apr 29, 2016 at 13:43 UTC - 0 likes

    @Aleix16: Go

    Provided RSP works at all for our version of Minecraft:

    Add this to the configuration (if you have already, add-in the entries).

    # ADDED PARTS (PERMDEFS + LINKS)
    # PERMDEFS:
    permdefs:
        pd_ehome:
            ignore-perm: test.ignore.test
            # No filter perm used, uncomment to use:
            # filter-perm: test.test.test
            have-inside:
                groups:
                - g_ehome
    # LINKS:
    links:
        world:
            r_ehome:
            - pd_ehome
    # TRANSIENT-GROUPS:
    transient-groups:
      g_ehome:
      - essentials.home
    

    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.

    BFAK:asofold,90573112,4305cd44b773216e4e4b4865b3831dcc3c507c15087fb5cfeebd9392050724fc

    NoCheatPlus
    Latest beta release (1.8.x, this site) 3.13.0-BETA-sMD5NET-b878
    (Development builds, 1.8.x: Jenkins)

  • Avatar of Aleix16 Aleix16 Apr 25, 2016 at 22:04 UTC - 0 likes

    @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 ;)

    Last edited Apr 28, 2016 by Aleix16
  • Avatar of asofold asofold Apr 11, 2016 at 01:36 UTC - 0 likes

    @ZoefyC: Go

    Haven't checked yet. I assume it should work, but it'll be better to test.

  • Avatar of ZoefyC ZoefyC Apr 01, 2016 at 09:35 UTC - 0 likes

    Does this work in minecraft 1.9? :)

  • Avatar of Karudel Karudel Feb 16, 2016 at 09:55 UTC - 0 likes

    @asofold: Go

    This plugin is a God send, you've just increased the capabilities of my server 10x!

  • 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.

  • 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

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
17,684
Recent files

Authors