Experience and permissions.

Discussion in 'Bukkit Help' started by Nefhith, Aug 15, 2012.

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

    Nefhith

    Well, I'd like to know two things.

    First of all: what are permissions and how can make them work in 1.3.1.
    The main problem of permissions is that I couldn't find any useful faq or anything related to learn how to use it or configure it.

    And the second is: Can you tell me a plugin to control the experience mobs from spawners (as well as drop, but that is optional) so the players on my servers don't make exp farms with them?

    Thank you very much, and sorry if my bad english makes everything hard to understand ^^U
     
  2. Offline

    yloplopy

    Permissions are this things that lets you use commands. Its hard to explain how to configure them in permissions plugins because there are so many and the all work slightly different... My favorite is group manager!

    Group manager will have 2 .yml's. They are located in groupmanager\worlds\<MAINWORLD>\ users or groups.

    users will be the place where u specify what group the user is in.

    groups are where the permissions are at.

    They both have pre written defaults that you can change.


    Not sure about the XP plugin though :/
     
  3. Offline

    Nefhith

    Basically, permissions is something like that:

    Show Spoiler

    Normalusergroup:
    /home
    /help

    Moderatorgroup:
    /home
    /help
    /ban

    Admingroup:
    /home
    /help
    /ban
    /stop


    Am I right?
     
  4. Offline

    Omnitv

    Heres some basic info for permissions.
    UGP http://forums.bukkit.org/threads/the-ultimate-guide-to-permissions.80291/#post-1161143
    Also here is a wiki about permissions:
    http://www.google.com/url?sa=t&rct=...7fUlzmQUORYsVOwOQ&sig2=wPlnDH-gS7ORUYM6I9621A
     
  5. Offline

    UniqueBen

    In short, permissions are laid out like this for both EGM (Essentials Group manager) and PEX (PermissionsEX) A Few things are different between the 2 but the general idea is the same.

    Essentials GroupManager Layout:
    lines with # infront of them are my explaining what each section does.
    PHP:
    #This is your Group name, as long as you remember these case sensitivity isn't a big issue here
    #as it'll be read regardless. Just remember when entering the name of the group into stuff like
    #chat managers (essentials chat) that you remember it becomes case sensitive there.
    Newbie:
    #default: true/false
    #If it is set to true players will join as this rank, it is strongly recommended to only have 1
    #group set to default.
        
    default: true
    #Many other plugins will have permissions, you can generally find a reference guide with the
    #permission nodes listed on their website/bukkitdev/wiki pages.
        
    permissions:
        - -
    bukkit.command.kill
        
    essentials.sethome.multiple.Newbie
        
    essentials.sethome
        
    group.newbie
        
    serversigns.use.civilian
    #You can use inheritence to tell the server which groups this group should take permissions from.
    #It will use ALL permissions that the inherited group has.
        
    inheritance:
        - 
    g:essentials_default
        
    g:bukkit_default
        
    g:global_perms
        info
    :
    #If you do NOT have essentials chat set up for per-group layout what ever is between ' ' will be used as a prefix.
    #A prefix is displayed before the name.
          
    prefix''
    #Build tells the server whether this player is allowed to build/break blocks. true = they can build, false = they can't build.
          
    buildtrue
    #If you do NOT have essentials chat set up for per-group layout what ever is between ' ' will be used as a suffix.
    #A suffix is displayed after the name.
          
    suffix''
    It looks like this without my little comments added in there.

    PHP:
      Newbie:
        default: 
    true
        permissions
    :
        - -
    bukkit.command.kill
        
    essentials.sethome.multiple.Newbie
        
    essentials.sethome
        
    group.newbie
        
    serversigns.use.civilian
        inheritance
    :
        - 
    g:essentials_default
        
    g:bukkit_default
        
    g:global_perms
        info
    :
          
    prefix''
          
    buildtrue
          suffix
    ''
    The groups used in those 2 examples are actually from my server so those permission nodes probably wont be on your server.

    In-depth Inheritance:
    With Essentials Group Manager there are GlobalGroups, these are defined in 'globalgroups.yml'.
    If you choose to create these. (Can be very useful if you're an organisation freak) you can link to them via the inheritance by putting '- g:globalgroupname'.

    example:
    Code:
      Newbie:
        default: true
        permissions:
        - -bukkit.command.kill
        - essentials.sethome.multiple.Newbie
        - essentials.sethome
        - group.newbie
        - serversigns.use.civilian
        inheritance:
        - g:essentials_default
        - g:bukkit_default
        - g:global_perms
        - g:mcmmo
        info:
          prefix: ''
          build: true
          suffix: ''
    
    If I were to do this, I would then make a global group like this in globalgroups.yml
    Code:
    groups:
     
      g:mcmmo:
        permissions:
        - mcmmo.ability.mining
        - -mcmmo.ability.herbalism
        - mcmmo.skill.mining
    
    In the above example, Newbie would gain access to mcMMO Mining abilities and would lose access to mcMMO herbalism abilities, he would also gain the ability to use the mcMMO mining skill. With some plugins global group permissions MAY not work, I haven't looked into compatibility between plugins all that much so they may work.

    The second option for the inheritance is to use a group in the same file name, you can do this by putting '- groupname' in the inheritance, this will give this group all of the permissions and inheritances off the group inherited from. If you wish to remove a globalgroup that has been inherited you can negate it like this '- -g:globalgroupname' and the permissions of that globalgroup will be removed from the local group.

    _______
    I Would do examples for PermissionsEX and PermissionsBukkit but I haven't dealt with the 2 all that much. Essentials Group Manager, PermissionsEX and PermissionsBukkit all have Wiki sites that give you a really good explanation of how each plugin works, you should read them.

    Hope I helped you out a bit.
     
  6. Offline

    Nefhith

    Daaaaamn... It's everything but easy or simple.

    And there isn't any plugin that can be configured more easily, like just saying X group can use Y commands? I just get lost with this:
    Or maybe looking at the wikis as you said (UniqueBen) I'll understand it better?
     
  7. Offline

    Necrodoom

    the example YMLs that GM give should help you on setting it up, since you have groups preset and you can easily edit the permissions to your will
     
  8. Offline

    Nefhith

    This is just too hard to understand... =/
     
  9. Offline

    Omnitv

  10. Offline

    Nefhith

    Thank you very much Omnitv! It helped a lot! =D

    I'll stick with bPermissions, since it seems to be the only one I found compatible with 1.3.1


    Edit: And if I want to make a owner group, I have to give permissions for EVERYTHING?
    Also, I found a problem with bpermissions. I tried to put it like that:

    My users couldn't use /exxp pay and when they used /help, about 6 pages of commands showed up, and they could use stuff like /compass.
    I tried deleting the "bukkit.*" part, but just did nothing. What am I doing wrong?
     
  11. Offline

    Omnitv

    You got bPerms...
    Bpermissions Links
    http://forums.bukkit.org/threads/st...oob-level-99-tutorial-for-bpermissions.55315/
    http://forums.bukkit.org/threads/bpermissionsgui-a-gui-editor-for-bpermissions.56446/
     
  12. Offline

    Nefhith

    Well, the first one is easy, because it's just installing it.

    The problem comes with the GUI, which makes me get lost. What I do is:
    -Copy "WebGUI_Plugin" into the plugins folder
    -Restart the server
    -The server makes the config.yml file, which I must change (or at least I think so)

    The problem comes when I have to edit the config.yml file, because I don't know what to do there =/

    Thanks for your patience.


    Edit:
    In the second link, where I get stuck it says this:
    Show Spoiler

    After this is generated you will have a file that looks like this:
    bind-port: 4545
    bind-ip: ANY
    username: admin
    password: password
    whitelist-ip:
    - 127.0.0.1
    - localhost

    bind-port is the port that the webgui binds to, bind-ip is the ip that the webgui binds to (set to ANY to allow for any ip bindings) and the whitelist-ip section is a list of ips that are allowed to connect by default (you can add more via commandline/ingame auth.
    username/password are fairly self-explanatory, these are the username/password you must enter in the gui client in order to be able to access the server!
    Then, just start up the client and input your server details and password. The server-format should be like this:
    username@host

    or if you have a non-standard (not 4545 port)
    username@host:ip
    username@host:4545


    Where THIS is what makes me just confused.
    bind-port: 4545
    bind-ip: ANY
    username: admin
    password: password
    whitelist-ip:
    - 127.0.0.1
    - localhost


    In bind-port I must put the port to the FTP of the server or "25650" as the standard port?
    On bind IP, username and password what the hell does the guy mean with "username@host" and "the username/password you must enter in the gui client in order to be able to access the server!"
     
  13. Offline

    Omnitv

    You dont have to install the bukkit GUI. :p codename_B may help you with his GUI.
     
  14. Offline

    Nefhith

    Yes I do, as I understood, I must put the WebGUI_plugin on the server and it will make the config.yml.

    And well, I'll ask codename_B, thank you for you help and patience. May Odin be with thou, good sir.

    Going to the second question of the first post: Can you tell me a plugin to control the experience mobs from spawners (as well as drop, but that is optional) drop so the players on my servers don't make exp farms with them?


    I've got my group.yml file configure like that right now:

    And my users can't use any of these commands. Why is that?
     
  15. Offline

    Nefhith

    Bumping for some help.
     
  16. Offline

    Necrodoom

    so is every other permissions plugin. nothing broke when going from 1.2.5 to 1.3.1.
     
  17. Offline

    Nefhith

    Oh. Good to know that.

    Which one do you suggest me to use (being a noob)?
     
  18. Offline

    Necrodoom

    i prefer using GroupManager, but Bpermissions is also a good permissions plugin, both are better to use than permissionsEX. permsbukkit has an annoying format, so i dislike it, and the other 4 active ones i never seen being used.
     
Thread Status:
Not open for further replies.

Share This Page