Permissions Help!

Discussion in 'Bukkit Help' started by XCaliberGaming, Apr 13, 2013.

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

    XCaliberGaming

    I really like the whole factions plugin, except, I don't want players to be able to set their factions home.
    I tried permissions, but I don't want to have to write in the permission for every single command I have!
    Is there a permissions plugin or something, that allows you to disable one command? Like writing in the permission will disable it or something? Let me know if you've got an idea. Thanks!
     
  2. Offline

    Necrodoom

    thats what wildcards and negation are for.
     
  3. Offline

    XCaliberGaming

    I don't even know what either of those are.
    please be more specific
     
  4. Offline

    Iroh

    Wildcards work this, if you have lwc.admin lwc.pro and lwc.epic as nodes you can give someone lwc.* and the *(wildcard) counts as every possible text combination (so it would include pro admin and epic). Negation is blocking a command as such
    - -essentials.ban
    That would block someone from using essentials ban and
    - essentials.ban
    Would allow them to ban.
     
  5. Offline

    XCaliberGaming

    Well how do you use wildcards or negation?
     
  6. Offline

    Iroh

    Did you read my post! I just gave examples of both.
     
  7. Offline

    XCaliberGaming

    Yah I did, you can try again in child terms cause all I really got from it was the two examples of permissions, and 3 file names.
     
  8. Offline

    Iroh

    Are you farmilliar with command nodes? Here is an example perms file
    groups:
    member:
    permissions:
    - admin.* <--- this would give you admin.ban admin.freeze and every other command node begining with admin
    - -essentials.ban <---This would stop the member group from using the command associate with essentials.ban
    - lwc.admin <--- this is an example without negation or wildcard
    That admin.* is an example of wildcard, the - -essentials.ban is negation, what that means it when it sees the - -essentials.ban it read it like this, let group member not user essentials.ban it reads admin.* as let member use every node starting with admin, and it reads lwc.admin as let member use the command associate with lwc.admin.
     
  9. Offline

    XCaliberGaming

    Ok this makes sense. So as I started out in the thread, I don't want to have to have to write all the permissions. I get that I use wildcards, and that I should put it in the permissions file, but what exactly do I enter? - wildcard? -* ?
     
  10. Offline

    Iroh

    .* is a wildcard. What permissions are you trying to add?
     
  11. Offline

    XCaliberGaming

    I just want to remove some faction commands and some essentials commands.
    So if I type
    - .*
    - essentials.back
    for example, that will remove back?

    Because usually it will allow it then.
     
  12. Offline

    Iroh

    Sorry the * is the wildcard not .*Also if you want all faction commands you could give them
    factions.kit.fullplayer
    And it will give them all player commands. Also the negation thing you did wrong
    - essentials.back
    will give them essentials.back
    - -essentials.back
    will stop them from using essentials.back
     
  13. Offline

    Necrodoom

    i advice you to read the documentation of your permission plugin.
     
  14. Offline

    XCaliberGaming

    OOOOOH! Ok that really helped. Haha thanks for your time, and for helping me!
     
Thread Status:
Not open for further replies.

Share This Page