Owner can't execute a command and break blocks

Discussion in 'Bukkit Help' started by mattataki, Jul 8, 2013.

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

    mattataki

    Hello, I might be the only one here having such problem. Usually, users asks why non-op can't break blocks or execute commands etc. So here is my problem. I, the owner of the server am not OP. I do have the - '*' node though. All other players has special nodes for what they need. All other players of all ranks lower than owner, can execute all commands properly and break blocks where ever they want as long as it's not in protected worldguard regions of course. I set the Admin group able to build in protected regions. So I have an admin that can build in that region ok? But just recently, I am not able to build/destroy the same blocks in the exact same spot.

    Second issue is linked directly to Admincmd. I cannot use the /afk command. All players can. When I type the command in the Owner rank, it does nothing. It does not even display the blabla Unknown command. Type /help for help thing.

    I would think of a craftbukkit bug but since I'm not sure, I did not create a post on the bug page.

    Useful info:

    -Plugins:
    • AdminCmd 7.3.5 (BUILD 06.04.2013 @ 18:26:29)
    • PermissionsEx 1.19. -->http://pastebin.com/mJJT1U3c (Permissions.yml[link])
    • WorldGuard 5.7.3 with custom flags plugins (FlyFlag, PotionEffectFlag, DamageFlag, TreeFarmFlag)
    -CraftBukkit on Bukkit 1.5.2-R1.0

    Edit:
    1-Just to add detail, the owner can't break block but only in an undefined region that is in the "Spawn" region (name of the region) This issue just happened recently. I did not have it before. Anywhere else is fine.

    2-I noticed that if I played on the same computer so the same ip, but with a different account, no matter what rank the player is when it plays on my ip, it has all Owner permissions almost. Thankfully, it does not have PermissionsEx, Admincmd and maybe others but it does have some lethal perms such as WorldEdit. Also, the player is able to build in the region I can't on my account.
     
  2. Offline

    Shieldcrafter

    I dont know bout first but second just
    uninstall admincmd and get essentials. Edit that config to your likings(Take your time)
     
  3. Offline

    farkros

    Please post your permissions.yml in a code spoiler.
     
  4. Offline

    Dead-i

    Spacing! :)

    In YAML, spacing is the most important part of the whole file. YAML relies so much on the formatting, and tiny little errors can screw up the file.

    In your Pastebin, there does appear to be some spacing errors in your permissions.yml which could be why you are having Permission issues. ;)

    The permission nodes of the group must always be in line with the parent. So...
    Code:
            permissions:
          - -timbermp.use
            - -skillz.*
    ..should be..
    Code:
            permissions:
            - -timbermp.use
            - -skillz.*
    There are a few other little nodes and categories that are out-of-line in various places in the file.

    This parser can be really useful for isolating these kind of errors: http://yaml-online-parser.appspot.com/
     
  5. Offline

    mattataki

    No no, this is all right. I don't want to disrespect you in any way, just that you are wrong. Even if I usually code in Python, I know that YAML does not like wrong placed or not placed spacing. The permissions.yml is perfect.

    How is this even a fix? Why would I change a plugin that is 100.35X better to something that has non pertinent features?

    Code:
    groups:
      Default:
        default: true
        worlds:
          Brownboo:
            permissions:
            - admincmd.kit.tools
            - admincmd.kit.equip
            - timbermp.use
          MiniGames:
            permissions:
            - -timbermp.use
            - -skillz.*
            - -skillz.skill.*
            - -mcmmo.all
            - deathban.ban.exempt
          Skyblock:
          - deathban.ban.exempt
        permissions:
        - -firstjoinplus.notify
        - -bukkit.command.plugins
        - deathban.class.Default
        - deathban.display
        - deathban.status
        - deathban.credits.check
        - deathban.credits.check.others
        - deathban.credits.send
        - group.Default
        - mcmmo.commands.ptp.world.Brownboo
        - mcmmo.commands.ptp.world.Brownboo_nether
        - mcmmo.commands.ptp.world.Brownboo_the_end
        - mcmmo.commands.ptp.world.Skyblock
        - timbermp.use
        - iConomy.access
        - iConomy.list
        - iConomy.payment
        - iConomy.rank
        - iConomy.bank.*
        - bukkit.broadcast.user
        - admincmd.tp.to
        - admincmd.tp.here
        - skillz.check
        - skillz.skill.*
        - minigame.help
        - minigame.join
        - minigame.quit
        - minigame.revert
        - minigame.sign.use
        - minigame.treasure.announce
        - minigame.treasure.hint
        - minigame.list
        - lwc.protect
        - admincmd.player.afk
        - treasurechest.access
        - treasurechest.access
        - treasurechest.count
        - treasurechest.count.others
        - treasurechest.list
        - automessage.receive.Default
        - factions.kit.fullplayer
        - factions.money.kit.standard
        - admincmd.player.msg
        - admincmd.spawn.tp.*
        - modifyworld.*
        - islandworld.island
        - islandworld.island.create
        - islandworld.island.delete
        - islandworld.island.info
        - islandworld.island.spawn
        - islandworld.island.home
        - islandworld.island.sethome
        - islandworld.island.fixhome
        - islandworld.island.expell
        - islandworld.island.add
        - islandworld.island.remove
        - islandworld.island.tp
        - islandworld.island.leave
        - islandworld.island.visit
        - islandworld.island.accept
        - islandworld.island.deny
        - islandworld.create.normal
        - islandworld.challenges.list
        - islandworld.challenges.complete
        - ChestShop.shop.buy
        - ChestShop.shop.sell
        - skillz.skills
        - skillz.skills.other
        - skillz.check
        - skillz.reset.self
        - admincmd.server.help
        - admincmd.spawn.tp
        - admincmd.server.motd
        - admincmd.server.news
        - admincmd.server.rules
        - admincmd.tp.toggle.allow
        - admincmd.coloredsign.create
        prefix: '&e[New]&6'
        suffix: '&7'
        options:
          admincmd.maxHomeByUser: 1
          admincmd.immunityLvl: 0
          admincmd.maxItemAmount: 30
          build: false
          rank: '1000'
      Member:
        inheritance:
        - default
        worlds:
          Brownboo:
            permissions:
            - -admincmd.kit.equip
            - admincmd.kit.member
          MiniGames:
            permissions:
            - mychunk.claim
            - mychunk.user
            - mychunk.commands.toggle.notify
            - mychunk.unclaim.self
            - mychunk.sell
            - mychunk.allowmobs
            - mychunk.allowpvp
          Skyblock:
            permissions:
            - mychunk.claim.
            - mychunk.claim.area
            - mychunk.claim.overbuy
            - mychunk.user
            - mychunk.commands.toggle.notify
            - mychunk.unclaim.self
            - mychunk.sell
            - mychunk.allowmobs
            - mychunk.allowpvp
        permissions:
        - -automessage.receive.Default
        - -deathban.class.Default
        - deathban.class.Member
        - group.Member
        - automessage.receive.Member
        - admincmd.tp.home
        - admincmd.tp.sethome
        - admincmd.player.msg
        - factions.kit.fullplayer
        - chatcolors.*
        - treasurechest.access
        - treasurechest.access
        - treasurechest.count
        - treasurechest.count.others
        - treasurechest.list
        - ChestShop.shop.create.*
        - radiobeacon.create
        - sht.ticket
        - multiverse.help
        - admincmd.admin.home
        - admincmd.tp.toggle.*
        - admincmd.tp.back
        - admincmd.warp.tp
        prefix: '&2[Mbr]&a'
        suffix: '&7'
        options:
          admincmd.maxHomeByUser: 3
          admincmd.immunityLvl: 10
          admincmd.maxItemAmount: 30
          build: true
          rank: '900'
      VIP:
        inheritance:
        - Member
        worlds:
          Brownboo:
            permissions:
            - -admincmd.kit.member
            - admincmd.kit.VIP
            - worldedit.navigation.jumpto.tool
            - worldedit.navigation.thru.tool
          MiniGames:
            permissions:
            - -worldedit.navigation.jumpto.tool
            - -worldedit.navigation.thru.tool
          Skyblock:
            permissions:
            - -worldedit.navigation.jumpto.tool
        permissions:
        - automessage.receive.VIP
        - -deathban.class.Member
        - deathban.class.VIP
        prefix: '&1[VIP]&3'
        suffix: '&7'
        options:
          admincmd.maxHomeByUser: 4
          admincmd.immunityLvl: 20
          admincmd.maxItemAmount: 30
          build: true
          rank: '800'
      HighVIP:
        inheritance:
        - VIP
        worlds:
          Brownboo:
            permissions:
            - admincmd.kit.HighVIP
            - worldedit.navigation.jumpto.tool
            - worldedit.navigation.thru.tool
        permissions:
        - admincmd.player.fly
        - admincmd.player.potion
        - -deathban.class.VIP
        - deathban.class.HighVIP
        - group.HighVIP
        prefix: '&6[&3HighVIP&6]&1'
        suffix: '&7'
        options:
          admincmd.maxHomeByUser: 6
          admincmd.immunityLvl: 20
          admincmd.maxItemAmount: 30
          build: true
          rank: '600'
      God:
        inheritance:
        - HighVIP
        worlds:
          Brownboo:
            permissions:
            - admincmd.kit.God
        permissions:
        - admincmd.player.enchant
        - -deathban.class.HighVIP
        - deathban.class.God
        - group.God
        prefix: '&6[God]&e'
        suffix: '&7'
        options:
          admincmd.maxHomeByUser: 8
          admincmd.immunityLvl: 20
          admincmd.maxItemAmount: 30
          build: true
          rank: '400'
      Moderator:
        inheritance:
        - God
        worlds:
          Brownboo:
            permissions:
            - -admincmd.kit.vip
            - -admincmd.kit.dtools
            - -admincmd.kit.dequip
            - admincmd.kit.mod
          MiniGames: {}
          UHC:
            permissions:
            - -admincmd.kit.dequip
            - -admincmd.kit.dtools
        permissions:
        - -creativeplus.dropitems
        - -creativeplus.breakbl
        - -creativeplus.placebl
        - -creativeplus.storage.allowed
        - -creativeplus.sharedinv
        - -creativeplus.deathdrop
        - -admincmd.player.fireball
        - -admincmd.player.fakequit.other
        - -admincmd.player.fireball.other
        - -admincmd.player.vulcan
        - -admincmd.player.vulcan.other
        - -admincmd.player.walk
        - -admincmd.player.walk.other
        - -admincmd.player.asuser
        - -admincmd.server.reload
        - -admincmd.server.setspawn
        - -admincmd.server.stop
        - -admincmd.player.invisible.other
        - -admincmd.player.kickall
        - -deathban.class.God
        - deathban.class.Moderator
        - UHC.heal.self
        - UHC.feed.self
        - admincmd.player.roll
        - bukkit.command.teleport
        - firstjoinplus.notify
        - group.Moderator
        - worldguard.notify
        - automessage.receive.Moderator
        - factions.kit.mod
        - lwc.mod
        - lwc.shownotices
        - treasurechest.access
        - admincmd.kit.*
        - bukkit.command.kick
        - bukkit.command.ban.player
        - bukkit.command.ban.list
        - bukkit.command.unban.player
        - bukkit.command.ban.ip
        - bukkit.command.unban.ip
        - bukkit.command.teleport
        - bukkit.command.give
        - bukkit.command.defaultgamemode
        - thecleaner.broadcast
        - admincmd.player.loc
        - admincmd.player.loc.other
        - admincmd.player.heal
        - admincmd.player.heal.other
        - admincmd.player.kill
        - admincmd.player.clear
        - admincmd.player.kick
        - admincmd.player.msg
        - admincmd.player.spymsg
        - admincmd.player.ip
        - admincmd.player.ip.other
        - admincmd.player.mute
        - admincmd.player.mute.command
        - admincmd.player.ban
        - admincmd.player.freeze
        - admincmd.player.invisible
        - admincmd.player.np
        - admincmd.player.np.other
        - admincmd.player.afk
        - admincmd.player.god
        - admincmd.player.god.other
        - admincmd.player.fly
        - admincmd.player.fly.other
        - admincmd.player.superbreaker
        - admincmd.player.played
        - admincmd.player.eternal
        - admincmd.player.eternal.other
        - admincmd.player.feed
        - admincmd.player.feed.other
        - admincmd.player.fakequit
        - admincmd.player.whois
        - admincmd.player.whois.other
        - admincmd.player.reply
        - admincmd.player.pres
        - admincmd.player.pres.other
        - admincmd.player.experience
        - admincmd.player.experience.other
        - admincmd.player.fly.allowed
        - admincmd.player.nodrop
        - admincmd.player.potion
        - admincmd.player.potion.other
        - admincmd.player.quit
        - admincmd.player.search
        - admincmd.player.withdraw
        - admincmd.player.withdraw.other
        - admincmd.player.mutelist
        - admincmd.player.unmuteall
        - admincmd.player.openinv
        - admincmd.tp.players
        - admincmd.tp.location
        - admincmd.tp.location.other
        - admincmd.tp.see
        - admincmd.warp.*
        prefix: '&6[&5Mod&6]&d'
        suffix: '&7'
        options:
          admincmd.maxHomeByUser: 10
          admincmd.immunityLvl: 30
          admincmd.maxItemAmount: 30
          build: true
          rank: '300'
      Admin:
        inheritance:
        - moderator
        worlds:
          Brownboo:
            permissions:
            - admincmd.kit.admin
          MiniGames:
            permissions:
            - worldedit.*
        permissions:
        - -creativeplus.dropitems
        - -creativeplus.breakbl
        - -creativeplus.placebl
        - -creativeplus.storage.allowed
        - -creativeplus.sharedinv
        - -creativeplus.deathdrop
        - -admincmd.player.fireball
        - -admincmd.player.fakequit.other
        - -admincmd.player.fireball.other
        - -admincmd.player.vulcan
        - -admincmd.player.vulcan.other
        - -admincmd.player.walk
        - -admincmd.player.walk.other
        - -admincmd.player.asuser
        - -admincmd.server.reload
        - -admincmd.server.setspawn
        - -admincmd.server.stop
        - -admincmd.player.invisible.other
        - -admincmd.player.kickall
        - -admincmd.player.roll
        - -deathban.class.Moderator
        - deathban.class.Admin
        - automessage.receive.Admin
        - factions.kit.admin
        - group.Admin
        - factions.money.*
        - treasurechest.access
        - radiobeacon.addmessage
        - radiobeacon.reveal
        - thecleaner.monster
        - thecleaner.animal
        - thecleaner.watermob
        - thecleaner.vehicle
        - thecleaner.painting
        - thecleaner.pet
        - thecleaner.golem
        - thecleaner.villager
        - thecleaner.force
        - thecleaner.info
        - thecleaner.all
        - thecleaner.verbose
        - thecleaner.broadcast
        - thecleaner.world.[world name]
        - admincmd.server.memory.*
        - admincmd.item.*
        - admincmd.server.extinguish
        - admincmd.server.replace
        - admincmd.server.repeat
        - admincmd.server.uptime
        - admincmd.server.version
        - admincmd.server.list
        - admincmd.server.help
        - admincmd.server.lock
        - admincmd.server.broadcast
        - admincmd.player.afk
        - admincmd.player.god
        - admincmd.player.god.other
        - admincmd.player.superbreaker
        - admincmd.player.played
        - admincmd.player.gamemode
        - admincmd.player.gamemode.other
        - admincmd.player.fakequit
        - admincmd.player.quit
        - admincmd.player.search
        - admincmd.player.withdraw
        - admincmd.player.withdraw.other
        - admincmd.player.mutelist
        - admincmd.player.unmuteall
        - admincmd.warp.*
        prefix: '&6[&4Admin&4]&c'
        suffix: '&f'
        options:
          admincmd.maxHomeByUser: 10
          admincmd.immunityLvl: 100
          admincmd.maxItemAmount: 64
          build: true
          rank: '200'
      Owner:
        permissions:
        - treasurechest.access
        - treasurechest.access.treasure
        - '*'
        - radiobeacon.admin
        - sht.admin
        - skillz.reset.other
        - skillz.skill.<skillname>
        - thecleaner.*
        - worldguard.*
        - worldedit.*
        - admincmd.player.kickall
        - UHC.*
        inheritance:
        - admin
        prefix: '&6[&2Owner&6]&3'
        suffix: '&f'
        options:
          admincmd.maxHomeByUser: 0
          admincmd.immunityLvl: 150
          admincmd.maxItemAmount: 64
          build: true
          rank: '0'
    users:
      mattataki:
        group:
        - Owner
    
    I thought that pastebin wwas the best choice. May I ask why you prefer to have it in a spoiler? And I did not find any spoiler options so I sent you a (Code) box.

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

    farkros


    Some people don't know what pastebin is. so i was making it easier.
    I see quite abit of formatting issues with your permissions, I'll fix them up for you.


    I'm at a lose with some of the things in the permissions

    under skyblock you have the (permissions)
    but after "- mychunk.allowpvp" you have "permissions" again. Were you intending to make a group named "permissions" ?
    Code:
    Skyblock:
          permissions:
          - mychunk.claim.
          - mychunk.claim.area
          - mychunk.claim.overbuy
          - mychunk.user
          - mychunk.commands.toggle.notify
          - mychunk.unclaim.self
          - mychunk.sell
          - mychunk.allowmobs
          - mychunk.allowpvp
        permissions:
        - -automessage.receive.Default
        - -deathban.class.Default
        - deathban.class.Member
        - group.Member
        - automessage.receive.Member
        - admincmd.tp.home
        - admincmd.tp.sethome
        - admincmd.player.msg
        - factions.kit.fullplayer
        - chatcolors.*
        - treasurechest.access
        - treasurechest.access
        - treasurechest.count
        - treasurechest.count.others
        - treasurechest.list
        - ChestShop.shop.create.*
        - radiobeacon.create
        - sht.ticket
        - multiverse.help
        - admincmd.admin.home
        - admincmd.tp.toggle.*
        - admincmd.tp.back
        - admincmd.warp.tp
        prefix: '&2[Mbr]&a'
        suffix: '&7'
        options:
          admincmd.maxHomeByUser: 3
          admincmd.immunityLvl: 10
          admincmd.maxItemAmount: 30
          build: true
          rank: '900'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 3, 2016
  7. Offline

    mattataki

    No no, I see you are not familiar with Per-world permissions. I did not try to make a group, I added "worldname" then "permissions:" under which creates permissions that only apply to that world.
    Then I have "permissions:" those are general permissions.

    If I do not add general permissions, I will have to enter all permissions and copy paste them under all of the world names. That just doesn't make sense.

    Code:
    ##This is how you make world base permissions
    groups:
      Default:
        default: true
        worlds:
          Brownboo:
            permissions:
            - special.world.node
          MiniGames:
            permissions:
            - -special.world.node
        permissions:
        - General.server.wide.node
        - serverwide.node.1
        - serverwide.node.2
        - serverwide.node.3
    And this Jus doesn't make sense:
    Code:
    ##This is how you make ugly world base permissions
    groups:
      Default:
        default: true
        worlds:
          Brownboo:
            permissions:
            - special.world.node
          MiniGames:
            permissions:
            - -special.world.node
          world:
            permissions:
            - General.server.wide.node
            - serverwide.node.1
            - serverwide.node.2
            - serverwide.node.3
          world_nether:
            permissions:
            - General.server.wide.node
            - serverwide.node.1
            - serverwide.node.2
            - serverwide.node.3
          world_the_end:
            permissions:
            - General.server.wide.node
            - serverwide.node.1
            - serverwide.node.2
            - serverwide.node.3
          random_world:
            permissions:
            - General.server.wide.node
            - serverwide.node.1
            - serverwide.node.2
            - serverwide.node.3
    #See how ugly and long it becomes?
    I think we should look somewhere else than in my permissions. Since this thread is started, I only get comments of it supposed to be wrong. It has to be cleaned a little, I know. But it is 100% correct. Please double check what you're going to say before commenting please. Have you seen how the random "permissions:" was aligned with the default group and it is the same for all other groups? I put world base permissions first just like negative ones. Anyway, PermissionEx does not exclude negative permissions when they are located at the end. That's the way it reads. It starts from the top and goes down. If it sees a permission, it gives the group the ability to use it. If it encounters a negative one, that contradicts it, it will not override it.

    Thanks for the help and your time though. I don't want to be rude. If I seem rude in the responses, don't take it personal. I will like to thank everyone giving efforts to resolve this.:)

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

    mattataki

    1/2[Solved] Bukkit server.properties... The spawn protection started working again. I simply set the spawn protection t 10 instead of 100. I solved it all. I still have the AdminCmd issue though
     
Thread Status:
Not open for further replies.

Share This Page