Permissions not working.

Discussion in 'Bukkit Help' started by iPWNtehN00B, Jun 16, 2011.

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

    iPWNtehN00B

    I decided to set up my old server again, and so I downloaded Bukkit and Permissions 3.0.

    As far as I can see, I've configured it all fine, but Permissions is not working.
    I have tried to disable build permissions for default users, however logging in as Player (default user),
    I still have build permissions.

    Anyone able to edit my configs or tell me where I'm going wrong?
    I've attached my current config.

    groups.yml:
    Code:
    ##
    # 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
    ##
    #   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:
    #
    #       - '*'
    ##
    #   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: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users.yml:
    Code:
    ##
    # 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 have a prefix and suffix of their own.
    ##
    users:
        TheNo1Yeti:
            groups:
                - Admins
            permissions:
        Herpina:
            groups:
                - Moderator
            permissions:
                - 'herp.derp'
        iPWNtehN00B:
            groups:
                - Admins
            info:
                prefix: '&4'
            permissions:
                - '-derp.derp'
    Anyone?

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

    jtlcr777

    What is the folder's name that these yml files are in?
     
  3. Offline

    iPWNtehN00B

    They're in "world" and "Permissions".

    Anyone?

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

    fugue2005

    @iPWNtehN00B
    Code:
        iPWNtehN00B:
            groups:
                - Admins
            info:
                prefix: '&4'
            permissions:
                - '-derp.derp'
    you are in the admins group. not the default group.
    the Admins group is set build true.

    also, make sure your name isn't in ops.txt
     
  5. Offline

    iPWNtehN00B

    I know that. Like I said, I logged in with Player (disable name verification), and Player had build rights.
    Thanks for the attempt though :).
     
  6. Offline

    fugue2005

    is your name in ops.txt?
    oh nm you mean you logged in as "player"
    are you seeing any errors in your server log while starting?

    if this server is actually running in about 3 hours i'll try logging in and see if i can build.

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

    iPWNtehN00B

    I don't know how I managed to do it, but I literally just got it working!
    The only problem I'm having now is that type /manuadd <playername> Admin
    doesn't actually change their usergroup. I get the yellow text that says "You changed player 'XXXX' group to 'Admin', but unless I manually add it in users.yml, he stays in the default group.
     
  8. Offline

    fugue2005

    oh you're using groupmanager? does groupmanager have anti-build built in?

    "Admin" or "Admins"
    your groupname is "Admins"
     
  9. Offline

    iPWNtehN00B

    Actually, I'm using Essentials, which come to think of it includes GroupManager doesn't it :p. I'm setting up Permissions though.
    Do you happen to know the command to change usergroup in Permissions?
     
  10. Offline

    fugue2005


    oh god, at this point i don't think anyone really does, but i read in the essentials thread that if they go with permisisons instead of groupmanager they will be remapping manuadd to use the permissions commands.
     
  11. Offline

    iPWNtehN00B

    Ah that's alright, it won't kill me to do it manually :).
    Thankyou for all your help!
     
  12. Offline

    iPWNtehN00B

    It's broken again :/

    Code:
    2011-06-20 09:29:28 [SEVERE] java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    2011-06-20 09:29:28 [SEVERE] 	at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:77)
    2011-06-20 09:29:28 [SEVERE] 	at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-06-20 09:29:28 [SEVERE] 	at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-06-20 09:29:28 [SEVERE] 	at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:438)
    2011-06-20 09:29:28 [SEVERE] 	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
    2011-06-20 09:29:28 [SEVERE] 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-06-20 09:29:28 [SEVERE] 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-20 09:29:28 [SEVERE] java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    2011-06-20 09:29:28 [SEVERE] 	at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:77)
    2011-06-20 09:29:28 [SEVERE] 	at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-06-20 09:29:28 [SEVERE] 	at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-06-20 09:29:28 [SEVERE] 	at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:442)
    2011-06-20 09:29:28 [SEVERE] 	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
    2011-06-20 09:29:28 [SEVERE] 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-06-20 09:29:28 [SEVERE] 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    2011-06-20 09:29:28 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  13. Offline

    Jeyge

    @iPWNtehN00B
    Can you post a server.log that includes all of the plugins starting up? I'm wondering if you are getting an error that is preventing Permissions from starting.
     
  14. Offline

    iPWNtehN00B

    I don't know if we're allowed to link to MediaFire, but I have to.
    Pasting it here made Google Chrome crash; same with Pastie.org

    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 27, 2016
  15. Offline

    InfctedMushr00m

    Im having the same exact problem. Anyone? Someone want to join the server? Tell me so i can add you whitelist to test.

    bump

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

    Jeyge

     
    Last edited by a moderator: Nov 27, 2016
  17. Offline

    iPWNtehN00B

    The error was in groups.yml. There were four lines that needed fixing.
    I can't believe I missed them!

    Thankyou heaps for your help.
     
  18. Offline

    InfctedMushr00m

    Wait im having the same probelm. Check mine?
    Show Spoiler
    groups:
    AdvBuilder:
    default: false
    permissions:
    - essentials.powertool
    - essentials.tp
    inheritance:
    - builder
    info:
    prefix: '&6'
    build: true
    suffix: ''
    SuperAdmin:
    default: false
    permissions:
    - essentials.ban
    inheritance:
    - moderator
    info:
    prefix: '&4'
    build: true
    suffix: ''
    Owner:
    default: false
    permissions:
    - '*'
    - nocheat.flying
    - nocheat.moving
    - nocheat.speedhack
    - stealthlogin.join
    inheritance: []
    info:
    prefix: '&d'
    build: true
    suffix: ''
    Basic:
    default: false
    permissions:
    - ac.workbench
    - atm.place.*
    - buttoncontrol.time.day
    - buttoncontrol.time.night
    - buttoncontrol.time.rain
    - buttoncontrol.time.sunny
    - buttoncontrol.time.thunder
    - commandSigns.use
    - essentials.afk
    - essentials.clearinventory
    - essentials.helpop
    - essentials.home
    - essentials.me
    - essentials.msg
    - essentials.seen
    - essentials.sethome
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpahere
    - essentials.tpdeny
    - essentials.warp.*
    - essentials.warp.list
    - falsebook.anyic
    - falsebook.blocks.*
    - falsebook.cart.*
    - giftpost.chest.empty
    - giftpost.chest.everywhere
    - giftpost.chest.open
    - giftpost.chest.send
    - giftpost.chest.upgrade
    - givemewool.givewool
    - iConomy.access
    - iConomy.payment
    - jobs.join.Builder
    - jobs.join.Farmer
    - jobs.join.Hunter
    - essentials.sethome
    - essentials.home
    - jobs.join.Miner
    - jobs.world.RP
    - jobs.world.World
    - meals.use
    - musiccraft.use
    - sc.signcopy
    - servertime.checktime
    - wolfpound.adopt
    - wolfpound.create
    - wolfpound.use
    inheritance:
    - guest
    info:
    prefix: '&a'
    build: true
    suffix: ''
    Guest:
    default: true
    permissions:
    - essentials.list
    - essentials.help
    - essentials.spawn
    - essentials.motd
    - essentials.warp.*
    - essentials.warp
    - essentials.rules
    inheritance:
    info:
    prefix: '&7'
    build: false
    suffix: ''
    Builder:
    default: false
    permissions:
    - essentials.kit
    - essentials.kit.*
    - essentials.warp.*
    - essentials.warp
    - essentials.mail
    - essentials.afk
    - essentials.mail.send
    - essentials.msg
    - essentials.sethome
    - essentials.home
    - essentials.sethome
    - essentials.tp
    - factions.create
    - factions.participate
    - ac.workbench
    - falsebook.blocks.*
    - falsebook.cart.*
    - iConomy.access
    - iConomy.bank.join
    - iConomy.bank.join.multiple
    - iConomy.bank.leave
    - iConomyChestShop.shop.buy
    - iConomyChestShop.shop.create
    - lockette.user.create.*
    - lottery.buy
    - mailbox.user.create
    - mailbox.user.remove
    - mailbox.user.send
    - mcmmo.ability.axes
    - mcmmo.ability.excavation
    - mcmmo.ability.herbalism
    - mcmmo.ability.mining
    - mcmmo.ability.swords
    - mcmmo.ability.unarmed
    - mcmmo.ability.woodcutting
    - mcmmo.commands.ability
    - mcmmo.commands.myspawn
    - mcmmo.commands.setmyspawn
    - mcmmo.skills.*
    - stargate.use
    inheritance:
    - Guest
    info:
    prefix: '&e'
    build: true
    suffix: ''
    Moderator:
    default: false
    permissions:
    - essentials.jail.exempt
    - essentials.jails
    - essentials.kick
    - essentials.togglejail
    inheritance:
    - AdvBuilder
    info:
    prefix: '&3'
    build: true
    suffix: ''
    Donor:
    default: false
    permissions: []
    inheritance:
    - AdvBuilder
    info:
    prefix: '&b'
    build: true
    suffix: ''
    Admin:
    default: false
    permissions:
    - essentials.tempban
    - essentials.unban
    - nocheat.flying
    - nocheat.moving
    - superpowers.use
    inheritance:
    - Moderator
    info:
    prefix: '&c'
    build: true
    suffix: ''
     
  19. Offline

    jtlcr777

    There is no spacing at all. What happened?
     
  20. Offline

    InfctedMushr00m

    Copy and pasting problem. But i have spacing. Upload file?

    Got it working. Thanks anyways :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
Thread Status:
Not open for further replies.

Share This Page