Permissions does nothing, commands are based on OPs not permission file

Discussion in 'Bukkit Help' started by Trevo4311, Feb 28, 2011.

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

    Trevo4311

    So I'm pretty new to bukkit and the whole permissions thing, personally I liked hMod better but had no choice to switch when 1.3 came around. Anyway, it seems that my permission file has no effect on what commands people can use, it is completely dependent on whether or not they are OP. If you are not OP you can't use even the most basic commands, even if I give you permissions in the world.yml file.

    How do I fix this?

    Thanks in advance.

    EDIT: Here is the world.yml file
    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.
    #   Does not work for the default world.
    plugin:
        permissions:
            system: default
            copies:
    ## 
    # 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:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
        Default:
            default: true
            info:
                prefix: 
                suffix:
                build: false
            inheritance: 
            permissions:
                - 'general.spawn'
                - 'iConomy.payment'
                - 'iConomy.list'
                - 'iConomy.rank'
                - 'general.sethome'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
                - Moderator
            permissions:
                - '*'
                
    ##
    # trevo4311 has control over all commands.
    ##
    users:
        Trevo4311:
            group: Admin
            permissions:
        TheSilverPhoenix:
            group: Default
            permissions:
                - 'worldedit.*'
        Steedy1:
            group: Default
            permissions:
                -'worldedit.*'
    
     
  2. Offline

    jwideman

    The problem is that you're overloading. Admin doesn't need to inherit anything, since * gives it everything already. There's a bug with Permissions that makes overloading break.
     
  3. Offline

    Trevo4311

    Well I tried taking out out the inheritance but it did nothing.
    Here is my new world.yml file:
    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.
    #   Does not work for the default world.
    plugin:
        permissions:
            system: default
            copies:
    ## 
    # 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:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
        Default:
            default: true
            info:
                prefix: 
                suffix:
                build: false
            inheritance: 
            permissions:
                - 'general.spawn'
                - 'iConomy.payment'
                - 'iConomy.list'
                - 'iConomy.rank'
                - 'general.sethome'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
    ##
    # trevo4311 has control over all commands.
    ##
    users:
        Trevo4311:
            group: Admin
            permissions:
        TheSilverPhoenix:
            group: Default
            permissions:
                - 'worldedit.*'
        Steedy1:
            group: Default
            permissions:
                - 'worldedit.*'
    
     
  4. Offline

    pstap92

    I'm having the same problem as Trevo4311
     
  5. Offline

    jwideman

    Check for tabs?
     
  6. Offline

    pstap92

    I checked every single space to make sure and there are no tabs.
     
  7. Offline

    shane3x

    I tested this and it seems this is related the problems I'm having. I set my friend to 'Admin' with * permissions yet he can't do anything.
     
  8. Offline

    pstap92

    I set myself as an Admin with all permissions and unless I'm an OP I can't do anything.
     
  9. Offline

    shane3x

    Same.
     
  10. Offline

    jwideman

    Here's the thing guys: it sounds like Permissions isn't loaded. This is usually due to problems with the config file. Post your server.log - just the section where you started up the server to where it says done, please.
     
  11. Offline

    shane3x

    I just ran my server again and copied the bottom part of the log. From what I can read it says its loaded ok:

    Code:
    [INFO] Starting minecraft server version Beta 1.3
    2011-03-02 13:16:10 [INFO] Loading properties
    2011-03-02 13:16:10 [INFO] Starting Minecraft server on *:25565
    2011-03-02 13:16:10 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-456-g24221c2-b438jnks (MC: 1.3)
    2011-03-02 13:16:10 [INFO] Preparing level "world"
    2011-03-02 13:16:10 [INFO] Preparing start region
    2011-03-02 13:16:11 [INFO] [Permissions] version [2.4] (Phoenix) was Initialized.
    2011-03-02 13:16:11 [INFO] WorldGuard loaded.
    2011-03-02 13:16:11 [INFO] [AfkBooter] version 0.4 is loaded.
    2011-03-02 13:16:11 [INFO] [AfkBooter] Kick timeout 180 sec, exempt players:
    2011-03-02 13:16:11 [INFO] [AutoMessage] version [1.5] loaded
    2011-03-02 13:16:11 [INFO] HelpPages version 1.0 is enabled!
    2011-03-02 13:16:11 [INFO] HeroBounty version 1.46 enabled.
    2011-03-02 13:16:11 [INFO] [Permissions] version [2.4] (Phoenix)  loaded
    2011-03-02 13:16:11 [INFO] [HEROCHAT] Permissions 2.4 found.
    2011-03-02 13:16:11 [INFO] [HEROCHAT] HeroChat version 3.18 enabled.
    2011-03-02 13:16:11 [INFO] [HeroicDeath] 1.4.3.138 enabled.
    2011-03-02 13:16:11 [INFO] [iConomy] Logging is currently disabled.
    2011-03-02 13:16:11 [INFO] [iConomy] v4.0 (Kristen) loaded.
    2011-03-02 13:16:11 [INFO] [iConomy] Developed By: [Nijikokun, Coelho]
    2011-03-02 13:16:11 [INFO] iConomyChestShop version 0.72 is enabled!
    2011-03-02 13:16:11 [INFO] [INFORMANT]version 1.6 is enabled
    2011-03-02 13:16:11 [INFO] [INFORMANT]Loading Settings
    2011-03-02 13:16:11 [INFO] [INFORMANT]Loading Previous Players
    2011-03-02 13:16:11 [INFO] WorldEdit 4.0-beta7 enabled.
    2011-03-02 13:16:11 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-03-02 13:16:11 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-03-02 13:16:11 [INFO] WorldGuard: Single session is enforced.
    2011-03-02 13:16:11 [INFO] WorldGuard: TNT ignition is blocked.
    2011-03-02 13:16:11 [INFO] WorldGuard: Lighters are blocked.
    2011-03-02 13:16:11 [INFO] WorldGuard: Lava fire is blocked.
    2011-03-02 13:16:11 [INFO] WorldGuard: All fire spread is disabled.
    2011-03-02 13:16:11 [INFO] WorldGuard 4.0-alpha1 enabled.
    2011-03-02 13:16:11 [INFO] Done (1514554962ns)! For help, type "help" or "?"
    
     
  12. Offline

    rberg79

    i was having the same problem except i couldn't access the shop even if i was an OP. i had to rename the please-rename-me.yml file. i really assumed it wouldn't be that counter-intuitive of a setup lol.

    anyway, is permissions not compatible with craftbukkit essentials? that kinda sucks because i needed permissions to do a certain shop mod.. bleh lol
     
  13. Offline

    shane3x

    My server.props world name is 'world' which also matches config file inside the permissions folder which is 'world.yml' and since the plugin says it's loaded it must be something else that is causing it.
     
  14. Offline

    jwideman

    Well, shit - I'm stumped. What I'd do at this point is start removing plugins until stuff worked.
    Correct - the Essentials team chose the betamax format, it seems.
     
  15. Offline

    Desolater_IV

    I am having the same problem as everyone else, :,(
     
  16. Offline

    qrux

    Me too :(
    EDIT: I have tested to remove all other plugins, one after one. Surprisingly, Permissions still doesn't work. Kind of weird.
     
  17. Offline

    dark navi

    I am using Essentials v225, CB Build 449, and Permissions v2.0. Everything works fine, so if you really need them to work, use them rolled back a bit.
     
  18. Offline

    shane3x

    I upgraded to Permissions 2.5.1 and everything seems to work fine (I can use all but the built-in bukkit commands without requiring to be set as an OP).
     
Thread Status:
Not open for further replies.

Share This Page