How to assign World Edit max limit to given rank?

Discussion in 'Bukkit Help' started by Liping, Sep 7, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Liping

    Hi,

    I am using permissionEX and world edit. I was wondering how to get the max limit only assigned to a specific rank?
     
  2. Offline

    Lolmewn

    Doesn't max limit go via Permissions? If so, simply assign the max-rank to the permissible groups.
     
  3. Offline

    Liping

    What do you mean??
     
  4. Offline

    Lolmewn

    I mean exactly what I wrote down. Which part don't you understand?
     
  5. Offline

    Liping

    I try to find the node. there is only the //limit node. But that limits all the groups rather than a specific group in my PermissionEX.
     
  6. Offline

    Lolmewn

    Liping oh yeah, I see. Maybe there is no node for it then... I suggest you ask in plugin requests if someone could make this for you
     
  7. Offline

    Liping

    Thanks. But I do see for some servers they do have a limit on other ranks. It seems they are able to do it easily.
     
  8. Offline

    xDeeKay

    Liping There is a way to do this, but it's a little messy. Also, the max 'per-group' limits you can give are 3.

    1. Navigate to WorldEdit >> config.yml >> max-blocks-changed: >> default: >> Change this to the amount of blocks you want to limit for your 1st rank.
    2. For max-blocks-changed: >> maximum: >> Change this to the amount of blocks you want to limit for your 2nd rank. Also, give the permission node 'worldedit.limit' to this group. This will allow them to reach the maximum block change limit that you set.
    3. Give the permission node 'worldedit.limit.unrestricted' to your third rank for no limits. Give them 'worldedit.limit' as well.

    For example:
    Moderator: Can only modify up to the block amount set in 'default'.
    Admin: Can only modify up to the block amount set in 'maximum'.
    Owner: Can modify as many blocks as they like.

    Hope this is easy to follow. =p
     
  9. Offline

    Lolmewn

    xDeeKay likes this.
  10. Offline

    Liping

    Hi. The steps are easy to follow. Thank You. But it still does not work after restart. Here is a copy of my permission.yml
    http://pastebin.com/hZF84zFS
    I checked it with yml checker and the format is fine. I must have done something wrong to make it not working.
     
  11. Offline

    xDeeKay

    Liping Sorry, what exactly isn't working?
     
  12. Offline

    Liping

    Hi.
    The Permission you told me to add to the ranks isn't working. I changed the default max block change to 5000 and maximum block change to 10000. I added the perms you told me and it doesn't work.
    This is a copy of my permission.yml
    http://pastebin.com/hZF84zFS
    not sure where I did it wrong.
     
  13. Offline

    xDeeKay

    Liping It seems your groups Architect, Moderator, Admin, and Owner all have worldedit.* which would give them every WorldEdit feature. That means essentially they all have 'worldedit.limit.unrestricted', meaning they can all bypass your limits, which you don't want.

    So, I take it you're trying to give Architect a 5000 block limit, Moderator a 10000 block limit, and Admin and Owner a no block limit? In this case, you'll need to use some negative nodes to take away some WorldEdit permissions from your groups.

    Give Architect these permissions:
    Code:
        - -worldedit.limit.unrestricted
        - -worldedit.limit
    This will take away the ability for them to bypass the infinite limit, as well as using //limit to bypass the 5000 block limit they have.

    Give Moderator this permission:
    Code:
        - -worldedit.limit.unrestricted
    This will take away the ability for them to bypass the infinite limit, but still be able to use '//limit 10000' to extend their limit to 10000 blocks.
     
  14. Offline

    Liping


    Hi. Thanks for Replying.
    The methods you gave me still does not seems to work. It seems I am still doing something wrong. Forgive me for being a newbie at this. I wonder if it is to do with my world edit file as well?
    Here is again the edited version of the permission.yml file:
    http://pastebin.com/ikUZP9ZS
    and here is the world edit config:
    http://pastebin.com/gZDy4U8v
     
Thread Status:
Not open for further replies.

Share This Page