How to use permissions

Discussion in 'Bukkit Help' started by Javiervs, Dec 27, 2012.

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

    Well, I suppose there are lots of tutorials to do that, but I need a bit of help because there are some things that I don't understand.

    First, I want to know what are "permissions", because I have seen it in lots of plugin descriptions, but I have no idea of what it is. In my server, I only make the User-Op distinction, so I need a bit of orientation about it.

    Thank you for your support.

    Regards.
     
  2. Offline

    Tomrocks99

    What are Permissions? Permissions can chnage what commands different players/ranks can use.
    How do I set up Permissions? When you download a plugin you need to look for "Nodes". If you cant find nodes you can always google the nodes for a chosen plugin.
    How do I set up the layout? Here is the part of my Permissions. I use PermissionsEx.
    Code:
    groups:
      [Rank]:
        default: true/false
        prefix: '[[Rank name]]'
        permissions:
    [- Insert Node]
    [- Insert Node]
      [Rank]:
        default: true/false
        prefix: '[[Rank name]]'
        permissions:
    [- Insert Node]
    [- Insert Node]
    Can I add that before each node you might need five spaces (NOT TAB). I hope this helps.
     
    Zankla likes this.
  3. Offline

    Zankla

    I am not a good person for teaching this .. but I will say once you grasp it it makes your server AWESOME.

    think in terms of being able to tell people what they can and can not do by attaching them to a group.

    you first assign what the group can do (permission nodes) for the plugins and server commands then you place the people into those group you want them. you can also give specific abilities to individuals as well, under their names in the users part (were you attach a name to a group) of permissions.

    that is how I think of permissions, as a concept. Makes it sort of make sense for me.

    the tricky part is making sure the config is correct in how it is set, NEVER use tab. but once you do the first few with success it will flow.
     
  4. And what is PermissionsEx?

    Where do I have to configure it, in permissions.yml?

    If I delete "prefix", the players will have no prefix on chat, right?

    Thanks and regards.
     
  5. Offline

    Tomrocks99

    What is permissionsEx? PermissionsEx is a permissions plugin (The one I use).
    Where do I configure it? Once you have downloaded PermissionsEx it is pretty straight forward. You go to the PermissionsEx file in "Plugins". There you will find 2 files. Config.yml and Permissions.yml. Permissions.yml is the one where you write your nodes and stuff, like what I have written above.

    Im not too sure about the Prefix thing. Sorry :(

    -Tomrocks99
     
  6. Ok, now I understand more or less how it works. Let me know a bit about how to ser the nodes.you put something like this:

    groups:
    User:
    default: true
    permissions:
    -lalala
    -lalala
    -lalala
    Admin:
    default: false
    prefix: Admin
    permissions:
    -lalala
    -lalala
    -lalala
    VIP:
    default: false
    permissions:
    -lalala
    -lalala
    -lalala
    ---------------------------------
    Should it be right?

    Thanks for your support.
    Regards.
     
  7. Offline

    Tomrocks99

    Assuming that -lalala is a real node in the file, it is pretty much correct. When you have finished with the Permissions.yml post it here. I will take a look.
     
  8. Offline

    Zankla

    that looks about right ... things to remember

    NO TAB - use space bar to move the line to the correct spot

    and place a space between the "-" and the node

    this
    - essentials.fly
    not
    -essentials.fly

    for negative nodes (removing a permission)

    this
    - -essentials.fly
    not
    --essentials.fly
    and not
    -- essentials.fly
     
    Javiervs likes this.
  9. Thank you. I will try and see how it works.

    Ok, I will do it. Thanks.

    One question. How do I assign groups to the users?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
  10. Offline

    Tomrocks99

    Get SetRankPEx. Then you can do /rank (Player) (Rank)
     
  11. And another question. Do I have to specify every node a group can use, or some are automatically included? I say it because I have looked at the list of nodes that essentials have (only essentials and not other plugins) and there are a lot, so if I have to specify each one it will take me a long time.

    Another question: What does setting up "default: true" into a group means?
     
  12. Offline

    Zankla

    After this on the same page

    groups:
    User:
    default: true
    permissions:
    -lalala
    -lalala
    -lalala
    Admin:
    default: false
    prefix: Admin
    permissions:
    -lalala
    -lalala
    -lalala
    VIP:
    default: false
    permissions:
    -lalala
    -lalala
    -lalala

    put this

    users:
    yourname:
    group: VIP
    anothername:
    group: User

    with appropriate spaces and no tabs
    users: line 0 (no spaces)
    names line 2 (2 spaces)
    group assignment line 4 (4spaces)
     
    Javiervs likes this.
  13. Offline

    Zankla

    what permissions plugin are you using because it does make a difference where you put users on some as they have there own users yml

    Do not skip a line between groups and users

    groups:
    User:
    default: true
    permissions:
    -lalala
    -lalala
    -lalala
    Admin:
    default: false
    prefix: Admin
    permissions:
    -lalala
    -lalala
    -lalala
    VIP:
    default: false
    permissions:
    -lalala
    -lalala
    -lalala
    users:
    yourname:
    group: VIP
    anothername:
    group: User

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
  14. Ok.

    I need you to answer this question, please.
    Thanks and regards.
     
  15. Offline

    Zankla

    they will have just the basic minecraft abilities, as if the were playing single player, unless you give them the node to do something else.

    and you can add inheritance to keep from repeating the nodes for each group.

    groups:
    User:
    default: true
    permissions:
    -lalala
    -lalala
    -lalala
    Admin:
    default: false
    inheritance:
    - default
    prefix: Admin
    permissions:
    -lalala
    -lalala
    -lalala
    VIP:
    default: false
    inheritance:
    - Admin
    permissions:
    -lalala
    -lalala

    Note the added inheritance under Admin this makes all Admin's also have the nodes from default as well as the inheritance under VIP gives all the Admin nodes as well as the inherited nodes Admin has from default

    default: true
    would make that group the default group for anyone new to the server or if the persons name is not in the user section

    inheritance: should be at line 4 (4 spaces)
    the group that is being inherited is line 4 (4 spaces) as well

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
  16. Inheritance means that will take all the nodes from that group, right? And I suppose that if I put inheritance in group B from group A, I could put for example "-essentials.fly" to remove the inherited node, right?

    Ok, I am learning a lot about this system. The groups to inherit have to be created by me, or there are some "default" like basic user and operator?

    Thank you a lot.
    Regards.
     
  17. Offline

    Necrodoom

    yes, and inherited groups are groups you create.
     
  18. Ok, so I have to work a lot to set the default permissions, but then I can inherit it and use for the others.

    Any other "setting" that would be interesting to know?

    Thank you.
    Regards.
     
  19. Offline

    Necrodoom

    well, first off, what permission plugin you use?
     
  20. Offline

    Tomrocks99

    Do you mean like this?
    Code:
        inheritance:
        - Guest
     
  21. I use PermissionsEx, the one someone here recommended me.

    Yes, I suppose.
     
  22. Offline

    Necrodoom

    id advice to not use PEX, due to major problems with it: http://bit.ly/QBTtcQ
    anyway, most permission plugins also provide a build toggle (sets abillty to interact true/false) and prefix/suffix (formats chat, [prefix] [playername] [suffix]) each plugin does it a bit differently however.
     
  23. Offline

    Tomrocks99

    [quote uid=2611 name="necrodoom" post=1476033]id advice to not use PEX, due to major problems with it: <Edit by Moderator: Redacted bit url>
    anyway, most permission plugins also provide a build toggle (sets abillty to interact true/false) and prefix/suffix (formats chat, [prefix] [playername] [suffix]) each plugin does it a bit differently however.[/quote]
    PEX works fine, if you dont do /reload and you set it up properly.
     
    Last edited by a moderator: Feb 17, 2017
  24. Offline

    Necrodoom

    and requires a special API, silent crashes instead of providing crash reports, doesnt do negation correctly..
    why not just use a permission plugin that doesnt have any of these issues?
     
  25. Well, I am not going to discuss it, I will only use the plugin you tell me. If you say that PermissionsEx crashes the server, I won't use it, but I would like you to give me one that works. If you think that you should discuss it, create a new topic and do it there. Agree?

    Do you recomend me this one: bPermissions? I suppose that the configuration of the permissions are equal, not?

    Thank you.
    Regards.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
  26. Offline

    Tomrocks99

    Your desision. I use PermissionsEx and it has never failed. bpermissions has failed for me however. If you use bpermissions I will not be able to help you. Your desision.

    -Tomrocks99
     
  27. Offline

    Zankla

    I had used permissionsEX up until 1.4.6 and since then it was a constant fight ... Group Manager, since it is part of the Essentials development team, always has a deb build out quickly. I very rarely ever have an issue with anything essentials. It took a bit more to grasp their concept but once you do the limitations are limitless.
     
  28. Why bPermissions has failed you?

    So you recommend PermissionsEx? I don't know if I have really understood it.

    Thank you and regards.
     
  29. Offline

    Zankla

    I recommend Group Manager once you get a better grasp it is a far better less buggy plugin

    PEX do not use the reload just restart server
     
Thread Status:
Not open for further replies.

Share This Page