Permissons and commands not working right?

Discussion in 'Bukkit Help' started by Dragonslife, Apr 4, 2011.

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

    Dragonslife

    Hello guys

    i'm running my own bukkit server, used to use HMod before 1.4 came out, as HMod isnt going to get updated anymore i'll use bukkit now.

    Now my problem is, normal users that login to the server, cant use the /give commands and a few other commands... even with no plugins at all on the server, it still wont allow normal users to use the command(s). So the problem lays somewhere in the server itself.. so i took a look in the server properties, but i couldnt find anything there of the permissions.... does anyone know how i can fix this?
     
  2. Offline

    Godspeed

    If you want users to use the build in commands they need to be op. you can manually add them to the ops.txt file in the server folder ( one user per line), or use the "/op username" command in the console.
     
  3. Offline

    Dragonslife

    yeah but as op they can do quite much anything, is there anyway i can set seperate permissions for diffrent usergroups? i tried to use the permissions plugin, but it didnt affect my server... and the usergroupmanager plugin doesnt include alot of stuff i want/need that permissions plugin does have?
     
  4. Offline

    Godspeed

    Permissions or Groupmanager are indeed the plugins you are looking for then.

    Maybe you can give some more information to what you have tried so far?
    And what stuff you need from Groupmanager that is not included?
     
  5. Offline

    Dragonslife

    Ok so i added Essentials combined with EssentialsGroupManager to my plugins again now, now when i try to use the /give command on a normal user account i get this message...

    [​IMG]
    Uploaded with ImageShack.us
     
  6. Offline

    Godspeed

  7. Offline

    Dragonslife

    still the same error, this is in my groups file

    [​IMG]
    Uploaded with ImageShack.us

    so anyone knows what's going wrong here or...?

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

    solentice

    First, post the whole console messages you see, starting from when server actually starts, to when it says done. Your Essentials group file above looks correct, from the little that I can see, but there could be some code error further down. Try and post your groups.yml file code using the code tag(to the left of quotes icon).
     
  9. Offline

    Dragonslife

    Ok so first, here's the server and what it's saying from startup till fully loaded.

    [​IMG]

    And here's the code of my groups.yml file (servermap > plugins > GroupManager > worlds > World2

    Code:
    groups:
      Default:
        default: true
        permissions:
        - essentials.give
        - essentials.help
        - essentials.helpop
        - essentials.list
        - essentials.motd
        - essentials.rules
        - essentials.spawn
        inheritance: []
        info:
          prefix: '&e'
          build: false
          suffix: ''
      SemiAdmin:
        default: false
        permissions:
        - -groupmanager.mantogglesave
        - essentials
        - essentials.clearinventory
        - essentials.cooldown.bypass
        - essentials.deljail
        - essentials.god
        - essentials.heal
        - essentials.heal.others
        - essentials.invsee
        - essentials.item
        - essentials.jails
        - essentials.kickall
        - essentials.kit.*
        - essentials.mute
        - essentials.sell
        - essentials.setjail
        - essentials.signs.protection.override
        - essentials.spawmob
        - essentials.teleport.cooldown.bypass
        - essentials.teleport.timer.bypass
        - essentials.togglejail
        - groupmanager.*
        - essentials.burn
        inheritance:
        - moderator
        info:
          prefix: '&c'
          build: true
          suffix: ''
      Builder:
        default: false
        permissions:
        - essentials.afk
        - essentials.back.ondeath
        - essentials.balance
        - essentials.chat.shout
        - essentials.compass
        - essentials.home
        - essentials.kit
        - essentials.kit.tools
        - essentials.mail
        - essentials.mail.send
        - essentials.me
        - essentials.msg
        - essentials.nick
        - essentials.pay
        - essentials.portal
        - essentials.protect
        - essentials.sethome
        - essentials.signs.buy.use
        - essentials.signs.disposal.create
        - essentials.signs.disposal.use
        - essentials.signs.free.use
        - essentials.signs.heal.use
        - essentials.signs.mail.create
        - essentials.signs.mail.use
        - essentials.signs.protection.create
        - essentials.signs.protection.use
        - essentials.signs.sell.use
        - essentials.signs.trade.create
        - essentials.signs.trade.use
        - essentials.suicide
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpahere
        - essentials.tpdeny
        - essentials.warp
        - essentials.warp.list
        - essentials.worth
        inheritance:
        - default
        info:
          prefix: '&2'
          build: true
          suffix: ''
      Moderator:
        default: false
        permissions:
        - essentials.back
        - essentials.ban
        - essentials.banip
        - essentials.broadcast
        - essentials.delwarp
        - essentials.depth
        - essentials.eco
        - essentials.getpos
        - essentials.jump
        - essentials.kick
        - essentials.kill
        - essentials.setwarp
        - essentials.time
        - essentials.togglejail
        - essentials.top
        - essentials.tp
        - essentials.tphere
        - essentials.tpo
        - essentials.tpohere
        - essentials.tppos
        - essentials.tptoggle
        - essentials.unban
        - essentials.unbanip
        - essentials.whois
        - essentials.world
        - groupmanager.listgroups
        - groupmanager.mandemote
        - groupmanager.manload
        - groupmanager.manpromote
        - groupmanager.mansave
        - groupmanager.manselect
        - groupmanager.manuadd
        - groupmanager.manudel
        - essentials.ext
        inheritance:
        - builder
        info:
          prefix: '&5'
          build: true
          suffix: ''
      Admin:
        default: false
        permissions:
        - '*'
        inheritance:
        - semiadmin
        info:
          prefix: '&4'
          build: true
          suffix: ''
    
     
  10. Offline

    solentice

    Your file looks correct, and it passes the online YAML checker...Your Essentials build is a bit outdated now, especially since your are trying to use the latest NON recommended build 640 of craftbukkit...Recommended build is craftbukkit 617 currently, and that's what the Essentials devs probably used to test all their plugins against. When you use non recommended builds, somethings may have been changed, which could very well break compatibility with certain plugins designed to work with the recommended build. Try using the recommended 617 build, get it here: http://ci.bukkit.org/job/dev-CraftBukkit/
    Or get the latest Essentials build, just redownload from their page, cause I know I recently got build 2.1.14 just last night, and you have 2.1.11.
     
  11. Offline

    Dragonslife

    Ok so what i did, is get the recommeded build from bukkit (617) and installed this in a fully clean new directory, so in there i had only the RUN.bat file, and the craftbukkit.jar file.... then i launched the server... closed it, set onlinemode to false in server properties, launched the server again, logged in, and tried to use the /give command... and got the same error, so it must been some step i've not done? i think it's kinda useless to add all those users to the ops file? people should just log in, and be able to use the /give command, at least that used to be the way my Hmod worked (such a shame it's not going to be continued..). So anyone knows what i'm doing wrong here or...? been trying quite a while now to get my server running nicely again like it did... still doesnt work.. so can anyone say what i'm doing wrong here?
     
  12. Offline

    solentice

    It's very easy to troubleshoot one plugin at a time, so your best bet is to go back to the basics and use that fresh directory, keep the bat file, and the craftbukkit file, and add only the Essentials plugin that already contains that GroupManager system. Set the essentials.give permissions for the Default group, then try and log in without adding your name any group, and see if you can use /give. Make sure no one is listed in ops.txt also! Once you can confirm that it works for you, then you can start adding the other plugins one at a time to make sure it wasn't a plugin conflict...

    I can tell you that Essentials 2.1.19 (the latest from yesterday night), with craftbukkit 640 and 617, has worked well with command permissions, so it's not necessarily Essentials, it's got to be your configurations, or a conflicting plugin...
     
  13. Offline

    ash243x

    can someone help me with the same issue, but using permissions instead of group-manager?

    I got a brand new folder, put the RUN and the Craftbukkit snapshot (build 617) into it, started up the server, then added the permissions 2.5.5 plugin. I added myself to the permissions plugin but the server refuses to acknowledge any of the built-in commands even when i explicitly give permission
     
  14. Offline

    solentice

    ash, the Permissions plugin requires a separate plugin to offer any use of commands. It wasn't designed for the standard vanilla server, it was designed to allow a permissions based system when using other plugins so you can control what commands from the plugins are allowed. When you add the Permissions plugin, for it to function properly, you need to add other plugins that offer permissible commands, such as CommandBook, or Essentials. These other plugins will normally contain their own versions, or extensions of the standard built-in server commands which you can then add to specific groups and users.
     
    ash243x likes this.
  15. Offline

    ash243x

    thank you! I have literally been searching for hours for a solution to this and no one has been of any help. Granted this solved my problem, now I am just confused about how my old server was able to allow people these commands without any such plugins? (it was only running permissions, world edit and world guard - or so i thought)
     
  16. Offline

    solentice

    You're probably speaking of the built-in Server Commands that are part of Minecraft server. These server commands are given to all Operators(OPs), using the ops.txt file, and they DON'T require any plugins, hence why they worked all the time as long as you were an OP. Being an Operator also has the perk of getting practically all plugin commands(some plugins don't pass commands to OPs), but it bypasses the Permissions system, in a way making an OP like the god of all, but you probably wouldn't want that for just regular players.
     
  17. Offline

    ash243x

    I know for a fact that I didn't have anyone set as OP, but everyone had access to the basic commands as long as I set them to have permissions. ... could it be something built into MyMcAdmin? I didn't even think about it but my old server was running that too.
     
  18. Offline

    solentice

    Not, sure, I have zero experience with that MyMcAdmin.
     
  19. Offline

    Dragonslife

    ok so, normal users can login now, but they cant place down anything... admins can...i found out that this problem is within the permissions plugin... so there i should put something down, that means the allowing of users placing blocks.... here is my code for permissions... does anyone know what i should put in there so that normal users can also put down blocks?

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #  Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #  If this file is for your default world (the one in server.properties) then you must
    #  leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #  To make a group inherit the permissions from another
    #  group simply place the groups name in the "inheritance:" like so:
    #
    #  Example:
    #      inheritance:
    #          - Default
    ##
    #  All permissions including the asterisks must be placed in single quotes.
    #  like so:
    #
    #      - 'foo.bar'
    #
    #  Otherwise errors will happen!
    ##
    #  Globalized Permission settings:
    #
    #      If a permission contains periods (.) you can denote a globalized parameter:
    #
    #          - 'foo.*'
    #
    #      This will allow you to use all general commands.
    #
    ##
    #  Single Asterisk denotes all commands:
    #
    #      - '*'
    #  If you give a group this permissions, do not have the group inherit any permissions
    #  from other groups.  Any users assigned to this group should NOT be given any additional
    #  permissions either.
    ##
    #  To exempt a node use the - prefix like so:
    #      - '-foo.bar'
    ##
    #  prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #  such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: 'def'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
                - 'essentials.*'
                - 'giveto.*'
                - 'tpack.cuboid.create'
                - 'tpack.cuboid.protection'
                - 'stargate.use'
        Moderator:
            default: false
            info:
                prefix: 'mod'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: '[&9ADMIN&9]'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        BlackDeath:
            group: Admins
            permissions:
        Sensou:
            group: Admins
            info:
                prefix: ''
                suffix: ''
            permissions:
        nielsieh:
            group: Admins
            permissions:
     
  20. Offline

    solentice

    Dragonslife, when you say normal players, are you talking about the players that aren't listed as users in your Permissions file above? If yes, then as long as you don't have any other world protection plugin installed, the setting to fix their issue will be within the Default group in the very beginning of your file. Look under "groups:", then Default: (the first group), then go to the build: false permission and change it to build: true so they can actually build(place and destroy blocks). That will allow any player that connects to your server, that isn't part of your Moderator or Admins group, to be able to build, meaning placing and breaking blocks. Hope that fixed your issue...
     
  21. Offline

    Dragonslife

    oooh how stupid i didn't see that there's building: false! changed it and it works now! ty alot for all of your help! btw, one more question, do you have any experience with the Citizens plugin?
     
  22. Offline

    solentice

    NP...and no I don't have any experience with that plugin, but there should be many here who do...Post your issue with that plugin within the plugin's own thread. It's much easier to get help directly from the people who use it of course.
     
  23. Offline

    Dragonslife

    ok well, thnx alot for all the help :)
     
  24. Offline

    goinundercover

    It seems like this thread is kind of dead :p. My permissions, has never worked, but when I type in /plugins , it says permissions and its green. Nothing seems to work besides the default minecraft commands with /op. All my other plugins work though.
     
Thread Status:
Not open for further replies.

Share This Page