Solved You dont have access to that command

Discussion in 'Bukkit Help' started by Quaadruple, Jun 23, 2012.

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

    Quaadruple

    Im setting up my kits in essentials and in permissionsEX and i keep on getting you dont have access to that command. heres my essentials kits
    ############################################################
    # +------------------------------------------------------+ #
    # | Notes | #
    # +------------------------------------------------------+ #
    ############################################################

    # If you want to use special characters in this document, such as accented letters, you MUST save the file as UTF-8, not ANSI.
    # If you receive an error when Essentials loads, ensure that:
    # - No tabs are present: YAML only allows spaces
    # - Indents are correct: YAML heirarchy is based entirely on indentation
    # - You have "escaped" all apostrophes in your text: If you want to write "don't", for example, write "don''t" instead (note the doubled apostrphe)
    # - List items are prefixed with a hyphen and indented:
    # lists:
    # - look like this
    # not:
    # - like this
    # - Text with symbols is enclosed in single or double quotation marks
    # - CraftBukkit and Permissions have been updated: CraftBukkit and Essentials almost always line up, but sometimes other plugins fall behind CraftBukkit's multiple daily updates
    # - You have saved the document as UTF-8, NOT the default, ANSI

    ############################################################
    # +------------------------------------------------------+ #
    # | Essentials (Global) | #
    # +------------------------------------------------------+ #
    ############################################################

    # A color code between 0-9 or a-f. Set to 'none' to disable.
    ops-name-color: 'c'

    # The character(s) to prefix all nicknames, so that you know they are not true usernames.
    nickname-prefix: '~'

    # Disable this if you have any other plugin, that modifies the displayname of a user.
    change-displayname: true

    # When this option is enabled, the (tab) player list will be updated with the displayname.
    # The value of change-displayname (above) has to be true.
    #change-playerlist: true

    # Adds the prefix and suffix to the displayname of the player, so it will be displayed in messages and lists.
    # The prefix/suffix can be set using Permissions, Group Manager or PermissionsEx.
    # The value of change-displayname (above) has to be true.
    # If you don't set this, it will default to true if essentials chat is installed.
    # Don't forget to remove the # infront of the line
    #add-prefix-suffix: false

    # The delay, in seconds, required between /home, /tp, etc.
    teleport-cooldown: 5

    # The delay, in seconds, before a user actually teleports. If the user moves or gets attacked in this timeframe, the teleport never occurs.
    teleport-delay: 5

    # The delay, in seconds, a player can't be attacked by other players after he has been teleported by a command
    # This will also prevent that the player can attack other players
    teleport-invulnerability: 5

    # The delay, in seconds, required between /heal attempts
    heal-cooldown: 60

    # What to prevent from /i /give
    # e.g item-spawn-blacklist: 46,11,10
    item-spawn-blacklist:

    # Set this to true if you want permission based item spawn rules
    # Note: The blacklist above will be ignored then.
    # Permissions:
    # - essentials.itemspawn.item-all
    # - essentials.itemspawn.item-[itemname]
    # - essentials.itemspawn.item-[itemid]
    # - essentials.give.item-all
    # - essentials.give.item-[itemname]
    # - essentials.give.item-[itemid]
    permission-based-item-spawn: false

    # Mob limit on spawnmob
    spawnmob-limit: 10

    # Shall we notify users when using /lightning
    warn-on-smite: true

    # motd and rules are now configured in the files motd.txt and rules.txt

    # When a command conflicts with another plugin, by default, Essentials will try to force the OTHER plugin to take
    # priority. If a command is in this list, Essentials will try to give ITSELF priority. This does not always work:
    # usually whichever plugin was updated most recently wins out. However, the full name of the command will always work.
    # For example, if WorldGuard and Essentials are both enabled, and WorldGuard takes control over /god, /essentials:god
    # will still map to Essentials, whereas it might normally get forced upon WorldGuard. Commands prefixed with an "e",
    # such as /egod, will always grant Essentials priority.
    # We should try to take priority over /god. If this doesn't work, use
    # /essentials:god or /egod. If god is set using WorldGuard, use /ungod to remove then use whichever you see fit.
    overridden-commands:
    - god

    # Disabled commands will be completely unavailable on the server.
    disabled-commands:
    # - nick

    # Restricted commands have been removed.
    # Now we have a whitelist, all commands not on this list are only available to ops.
    # These will have NO EFFECT if you have Permissions installed!
    # They are here only if you want something simpler than Permissions.
    # These are the permissions without the "essentials." part.
    player-commands:
    - afk
    - back
    - back.ondeath
    - balance
    - balance.others
    - balancetop
    - chat.shout
    - chat.question
    - clearinventory
    - compass
    - depth
    - delhome
    - getpos
    - geoip.show
    - help
    - helpop
    - home
    - home.others
    - ignore
    - info
    - itemdb
    - kit
    - kit.tools
    - list
    - mail
    - mail.send
    - me
    - motd
    - msg
    - msg.color
    - nick
    - near
    - pay
    - ping
    - powertool
    - powertooltoggle
    - protect
    - r
    - rules
    - realname
    - seen
    - sell
    - sethome
    - setxmpp
    - signs.create.protection
    - signs.create.trade
    - signs.break.protection
    - signs.break.trade
    - signs.use.balance
    - signs.use.buy
    - signs.use.disposal
    - signs.use.free
    - signs.use.heal
    - signs.use.mail
    - signs.use.protection
    - signs.use.sell
    - signs.use.time
    - signs.use.trade
    - signs.use.warp
    - signs.use.weather
    - spawn
    - suicide
    - time
    - tpa
    - tpaccept
    - tpahere
    - tpdeny
    - warp
    - warp.list
    - world
    - worth
    - xmpp

    # Note: All items MUST be followed by a quantity!
    # All kit names should be lower case, and will be treated as lower in permissions/costs.
    # Syntax: - itemID[:DataValue] Amount [Enchantment:Level]..
    # Times are measured in seconds.
    kits:
    iron:
    delay: 172800
    items:
    - 306 1
    - 307 1
    - 308 1
    - 309 1
    - 256 1
    - 257 1
    - 258 1
    - 267 1
    - 364 1
    gold:
    delay: 43200
    items:
    - 306 1
    - 307 1
    - 308 1
    - 309 1
    - 256 1
    - 257 1
    - 258 1
    - 267 1
    - 364 5
    diamond:
    delay: 172800
    items:
    - 310 1
    - 311 1
    - 313 1
    - 314 1
    - 276 1
    - 277 1
    - 278 1
    - 279 1
    - 364 5
    obsidian:
    delay: 43200
    items:
    - 310 1
    - 311 1
    - 313 1
    - 314 1
    - 276 1
    - 277 1
    - 278 1
    - 279 1
    - 364 5

    # Essentials Sign Control
    # See http://ess.khhq.net/wiki/Sign_Tutorial for instructions on how to use these.
    # To enable signs, remove # symbol. To disable all signs, comment/remove each sign.
    # Essentials Colored sign support will be enabled when any sign types are enabled.
    # We recommend not enabling chest protection signs if you don't intend to use them, (or are using LWC/Lockette).

    enabledSigns:
    #- color
    #- balance
    - buy
    - sell
    #- trade
    #- free
    - disposal
    #- warp
    - kit
    #- mail
    #- enchant
    #- gamemode
    - heal
    #- spawnmob
    #- time
    #- weather
    #- protection

    # Backup runs a command while saving is disabled
    backup:
    # Interval in minutes
    interval: 30
    # Unless you add a valid backup command or script here, this feature will be useless.
    # Use 'save-all' to simply force regular world saving without backup.
    #command: 'rdiff-backup World1 backups/World1'

    # Set this true to enable permission per warp.
    per-warp-permission: false

    # Sort output of /list command by groups
    sort-list-by-groups: false

    # More output to the console
    debug: false

    # Set the locale for all messages
    # If you don't set this, the default locale of the server will be used.
    # Don't forget to remove the # infront of the line
    #locale: de_DE

    # Turn off god mode when people exit
    remove-god-on-disconnect: false

    # Use the permission system of bukkit
    # This only works if no other permission plugins are installed
    use-bukkit-permissions: false

    # Auto-AFK
    # After this timeout in seconds, the user will be set as afk.
    # Set to -1 for no timeout.
    auto-afk: 300

    # Auto-AFK Kick
    # After this timeout in seconds, the user will be kicked from the server.
    # Set to -1 for no timeout.
    auto-afk-kick: -1

    # Set this to true, if you want to freeze the player, if he is afk.
    # Other players or monsters can't push him out of afk mode then.
    # This will also enable temporary god mode for the afk player.
    # The player has to use the command /afk to leave the afk mode.
    freeze-afk-players: false

    # When the player is afk, should he be able to pickup items?
    # Enable this, when you don't want people idling in mob traps.
    disable-item-pickup-while-afk: true

    # You can disable the death messages of minecraft here
    death-messages: true

    # Add worlds to this list, if you want to automatically disable god mode there
    no-god-in-worlds:
    # - world_nether

    # Set to true to enable per-world permissions for teleporting with /world, /tp ,/tpa and /tpo.
    # Give someone permission to teleport to a world with essentials.world.<worldname>
    world-teleport-permissions: false

    # The number of items given if the quantity parameter is left out in /item or /give.
    # If this number is below 1, the maximum stack size size is given. If oversized stacks
    # is not enabled, any number higher then the maximum stack size results in more than one stack.
    default-stack-size: -1

    # Oversized stacks are stacks that ignore the normal max stacksize.
    # They can be obtained using /give and /item, if the player has essentials.oversizedstacks permission.
    # How many items should be in a oversized stack?
    oversized-stacksize: 64

    # Do you allow to repair enchanted weapons and armor?
    # If you set this to false, you can still allow it for certain players using the permission
    # essentials.repair.enchanted
    repair-enchanted: true

    #Do you want essentials to keep track of previous location for /back in the teleport listener?
    #If you set this to true any plugin that uses teleport will have the previous location registered.
    register-back-in-listener: false

    ############################################################
    # +------------------------------------------------------+ #
    # | EssentialsHome | #
    # +------------------------------------------------------+ #
    ############################################################

    # If no home is set, send players to spawn when /home is used
    spawn-if-no-home: true

    # Allows people to set their bed at daytime
    update-bed-at-daytime: true

    # Allow players to have multiple homes.
    # Players need essentials.sethome.multiple before they can have more than 1 home, default to 'default' below.
    # Define different amounts of multiple homes for different permissions, e.g. essentials.sethome.multiple.vip
    # People with essentials.sethome.multiple.unlimited are not limited by these numbers.
    sethome-multiple:
    default: 3
    # essentials.sethome.multiple.vip
    vip: 5
    # essentials.sethome.multiple.staff
    staff: 10

    # Set timeout in seconds for players to accept tpa before request is cancelled.
    # Set to 0 for no timeout
    tpa-accept-cancellation: 0

    ############################################################
    # +------------------------------------------------------+ #
    # | EssentialsEco | #
    # +------------------------------------------------------+ #
    ############################################################

    # Defines the balance with which new players begin. Defaults to 0.
    starting-balance: 0

    # worth-# defines the value of an item when it is sold to the server via /sell.
    # These are now defined in worth.yml

    # Defines the cost to use the given commands PER USE
    command-costs:
    # /example costs $1000 PER USE
    #example: 1000
    # /kit tools costs $1500 PER USE
    #kit-tools: 1500

    # Set this to a currency symbol you want to use.
    currency-symbol: '$'

    # Set the maximum amount of money a player can have
    # The amount is always limited to 10 trillions because of the limitations of a java double
    max-money: 10000000000000

    # Set the minimum amount of money a player can have (must be above the negitive of max-money).
    # Setting this to 0, will disable overdrafts/loans completely. Users need 'essentials.eco.loan' perm to go below 0.
    min-money: -10000

    # Enable this to log all interactions with trade/buy/sell signs and sell command
    economy-log-enabled: false

    ############################################################
    # +------------------------------------------------------+ #
    # | EssentialsHelp | #
    # +------------------------------------------------------+ #
    ############################################################

    # Show other plugins commands in help
    non-ess-in-help: true

    # Hide plugins which dont give a permission
    # You can override a true value here for a single plugin by adding a permission to a user/group.
    # The individual permission is: essentials.help.<plugin>, anyone with essentials.* or '*' will see all help this setting reguardless.
    # You can use negitive permissions to remove access to just a single plugins help if the following is enabled.
    hide-permissionless-help: true

    ############################################################
    # +------------------------------------------------------+ #
    # | EssentialsChat | #
    # +------------------------------------------------------+ #
    ############################################################

    chat:

    # If EssentialsChat is installed, this will define how far a player's voice travels, in blocks. Set to 0 to make all chat global.
    # Note that users with the "essentials.chat.spy" permission will hear everything, regardless of this setting.
    # Users with essentials.chat.shout can override this by prefixing text with an exclamation mark (!)
    # Or with essentials.chat.question can override this by prefixing text with a question mark (?)
    # You can add command costs for shout/question by adding chat-shout and chat-question to the command costs section."
    radius: 0

    # Chat formatting can be done in two ways, you can either define a standard format for all chat
    # Or you can give a group specific chat format, to give some extra variation.
    # If set to the default chat format which "should" be compatible with ichat.
    # For more information of chat formatting, check out the wiki: http://ess.khhq.net/wiki/Chat_Formatting

    format: '<{DISPLAYNAME}> {MESSAGE}'
    #format: '&7[{GROUP}]&f {DISPLAYNAME}&7:&f {MESSAGE}'

    group-formats:
    # Default: '{WORLDNAME} {DISPLAYNAME}&7:&f {MESSAGE}'
    # Admins: '{WORLDNAME} &c[{GROUP}]&f {DISPLAYNAME}&7:&c {MESSAGE}'

    # If your using group formats make sure to remove the '#' to allow the setting to be read.

    ############################################################
    # +------------------------------------------------------+ #
    # | EssentialsProtect | #
    # +------------------------------------------------------+ #
    ############################################################

    protect:
    # Database settings for sign/rail protection

    # mysql or sqlite
    # We strongly recommend against using mysql here, unless you have a good reason.
    # Sqlite seems to be faster in almost all cases, and in some cases mysql can be much slower.
    datatype: 'sqlite'

    # If you specified MySQL above, you MUST enter the appropriate details here.
    # If you specified SQLite above, these will be IGNORED.
    username: 'root'
    password: 'root'
    mysqlDb: 'jdbc:mysql://localhost:3306/minecraft'

    # For which block types would you like to be alerted?
    # You can find a list of IDs in plugins/Essentials/items.csv after loading Essentials for the first time.
    # 10 = lava :: 11 = still lava :: 46 = TNT :: 327 = lava bucket
    alert:
    on-placement: 10,11,46,327
    on-use: 327
    on-break:

    blacklist:

    # Which blocks should people be prevented from placing
    placement: 10,11,46,327

    # Which items should people be prevented from using
    usage: 327

    # Which blocks should people be prevented from breaking
    break:

    # Which blocks should not be pushed by pistons
    piston:

    # General physics/behavior modifications
    prevent:
    lava-flow: false
    water-flow: false
    water-bucket-flow: false
    fire-spread: true
    lava-fire-spread: true
    flint-fire: false
    lightning-fire-spread: true
    portal-creation: false
    tnt-explosion: false
    tnt-playerdamage: false
    fireball-explosion: false
    fireball-fire: false
    fireball-playerdamage: false
    creeper-explosion: false
    creeper-playerdamage: false
    creeper-blockdamage: false
    enderdragon-blockdamage: true
    enderman-pickup: false
    villager-death: false
    # Monsters won't follow players
    # permission essentials.protect.entitytarget.bypass disables this
    entitytarget: false
    # Prevent the spawning of creatures
    spawn:
    creeper: false
    skeleton: false
    spider: false
    giant: false
    zombie: false
    slime: false
    ghast: false
    pig_zombie: false
    enderman: false
    cave_spider: false
    silverfish: false
    blaze: false
    magma_cube: false
    ender_dragon: false
    pig: false
    sheep: false
    cow: false
    chicken: false
    squid: false
    wolf: false
    mushroom_cow: false
    snowman: false
    ocelot: false
    iron_golem: false
    villager: false

    # Maximum height the creeper should explode. -1 allows them to explode everywhere.
    # Set prevent.creeper-explosion to true, if you want to disable creeper explosions.
    creeper:
    max-height: -1

    # Protect various blocks.
    protect:
    # Protect all signs
    signs: true

    # Prevent users from destroying rails
    rails: true

    # Blocks below rails/signs are also protected if the respective rail/sign is protected.
    # This makes it more difficult to circumvent protection, and should be enabled.
    # This only has an effect if "rails" or "signs" is also enabled.
    block-below: true

    # Prevent placing blocks above protected rails, this is to stop a potential griefing
    prevent-block-on-rails: false

    # Store blocks / signs in memory before writing
    memstore: false

    # Disable various default physics and behaviors
    disable:
    # Should fall damage be disabled?
    fall: false

    # Users with the essentials.protect.pvp permission will still be able to attack each other if this is set to true.
    # They will be unable to attack users without that same permission node.
    pvp: false

    # Should drowning damage be disabled?
    # (Split into two behaviors; generally, you want both set to the same value)
    drown: false
    suffocate: false

    # Should damage via lava be disabled? Items that fall into lava will still burn to a crisp. ;)
    lavadmg: false

    # Should arrow damage be disabled
    projectiles: false

    # This will disable damage from touching cacti.
    contactdmg: false

    # Burn, baby, burn! Should fire damage be disabled?
    firedmg: false

    # Should the damage after hit by a lightning be disabled?
    lightning: false

    # Should people with build: false in permissions be allowed to build
    # Set true to disable building for those people
    build: true

    # Should people with build: false in permissions be allowed to use items
    # Set true to disable using for those people
    use: true

    # Should we tell people they are not allowed to build
    warn-on-build-disallow: true

    # Disable weather options
    weather:
    storm: false
    thunder: false
    lightning: false

    ############################################################
    # +------------------------------------------------------+ #
    # | Essentials Spawn / New Players | #
    # +------------------------------------------------------+ #
    ############################################################

    newbies:
    # Should we announce to the server when someone logs in for the first time?
    # If so, use this format, replacing {DISPLAYNAME} with the player name.
    # If not, set to ''
    #announce-format: ''
    announce-format: '&dWelcome {DISPLAYNAME}&d to the server!'

    # When we spawn for the first time, which spawnpoint do we use?
    # Set to "none" if you want to use the spawn point of the world.
    spawnpoint: newbies

    # Do we want to give users anything on first join? Set to '' to disable
    # This kit will be given reguardless of cost, and permissions.
    #kit: ''
    kit: tools

    # Set this to lowest, if you want Multiverse to handle the respawning
    # Set this to high, if you want EssentialsSpawn to handle the respawning
    # Set this to highest, if you want to force EssentialsSpawn to handle the respawning
    respawn-listener-priority: high

    # When users die, should they respawn at their first home or bed, instead of the spawnpoint?
    respawn-at-home: false

    # End of File <-- No seriously, you're done with configuration.

    permissionsEX
    groups:
    Player:
    default: true
    permissions:
    - modifyworld.*
    - essentials.rules
    - essentials.spawn
    - essentials.home
    - essentials.sethome
    - essentials.motd
    - essentials.tpdeny
    - essentials.tpaccept
    - essentials.helpop
    - essentials.help
    - essentials.tpa
    - essentials.msg
    - essentials.suicide
    - essentials.msg
    - essentials.warp
    - essentials.balance
    - essentials.pay
    - essentials.plugins
    - essentials.signs.use.buy
    - essentials.signs.use.disposal
    - essentials.signs.use.sell
    prefix: '&b[Player]&f'
    Friend:
    default: true
    permissions:
    - essentials.joinfullserver
    inheritance:
    - Player
    prefix: '&b[Friend]&f'
    Iron:
    default: false
    permissions:
    - essentials.kick.notify
    - essentials.tpahere
    - essentials.warp
    - essentials.repair
    - essentials.kit.iron
    - essentials.afk
    - essentials.sethome.multiple
    - essentials.sethome.multiple.unlimited
    inheritance:
    - Player
    prefix: '&7[Iron]&f'
    Gold:
    default: false
    permissions:
    - essentials.kick.notify
    - essentials.tpahere
    - essentials.warp
    - essentials.kit.gold
    - essentials.afk
    - essentials.sethome.multiple
    - essentials.sethome.multiple.unlimited
    inheritance:
    - Player
    prefix: '&6[Gold]&f'
    Diamond:
    default: false
    permissions:
    - essentials.kick.notify
    - essentials.tpahere
    - essentials.warp
    - essentials.kit.diamond
    - essentials.afk
    - essentials.sethome.multiple
    - essentials.sethome.multiple.unlimited
    inheritance:
    - Player
    prefix: '&3[Diamond]&f'
    Obsidian:
    default: false
    permissions:
    - essentials.kick.notify
    - essentials.tpahere
    - essentials.warp
    - essentials.kit.obsidian
    - essentials.afk
    - essentials.sethome.multiple
    - essentials.sethome.multiple.unlimited
    inheritance:
    - Player
    prefix: '&0[Obsidian]&f'
    Moderator:
    default: false
    permissions:
    - essentials.gamemode
    - essentials.kick
    - essentials.kick.notify
    - essentials.warp
    - essentials.tp
    - essentials.tpahere
    - essentials.vanish
    - essentials.spectate
    - essentials.invsee
    - essentials.tell
    inheritance:
    - Player
    prefix: '&c(Moderator)&f'
    Admin:
    default: false
    permissions:
    - essentials.gamemode
    - essentials.kick
    - essentials.kick.notify
    - essentials.tphere
    - essentials.tp
    - essentials.warp
    - essentials.ban
    - essentials.feed
    inheritance:
    - Player
    prefix: '&c(Admin)&f'
    Co-Owner:
    default: false
    permissions:
    - pex demote
    - pex promote
    - essentials.ban
    - essentials.unban
    - essentials.banip
    - essentials.unbanip
    - essentials.build
    - essentials.warp
    inheritance:
    - Player
    prefix: '&4(Co-Owner)&f'
    Owner:
    default: false
    permissions:
    - pex demote
    - pex promote
    - essentials.ban
    - essentials.unban
    - essentials.banip
    - essentials.unbanip
    - essentials.build
    - essentials.kit.vip
    - essentials.warp
    inheritance:
    - Player
    prefix: '&4(Owner)&f'
    users:
    pongui:
    group:
    - Iron
    XxnitroxtheftxX:
    group:
    - Moderator
    dominatous:
    group:
    - Co-Owner
    TehFrezze:
    group:
    - Friend
    Percipitation:
    group:
    - Moderator
    gintail:
    group:
    - Friend
    lukebran:
    group:
    - Moderator
    Bleu_Greeper:
    group:
    - Player
    mtang64:
    group:
    - Moderator
    OMGitzCara:
    group:
    - Admin
    darkdemon98:
    group:
    - Moderator
    zapdose2442:
    group:
    - Friend
    DeathSquid:
    group:
    - Friend
    Bobish1:
    group:
    - Vip
    mrmylesz:
    group:
    - Admin

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

    andrewpo

  3. Offline

    Quaadruple

    Last edited by a moderator: May 26, 2016
  4. Offline

    evank2911

    Op your self in the console
     
  5. Offline

    EnvisionRed

    The issue is that you didn't put it in valid YAML format. It has to be like:
    Code:
    kits:
      iron:
        delay: 172800
        items:
          - 306 1
          - 307 1
          - 308 1
          - 309 1
          - 256 1
          - 257 1
          - 258 1
          - 267 1
          - 364 1
      otherkit:
        delay: 100000
        items:
          - 100 1
          - 101 1
     
    etc. 
    

    Please note that IF YOU USE TABS IT WILL BREAK THE FILE. Yaml does not support tabs and you must use spaces for it to work. Proper spacing is essential.
     
  6. Offline

    Quaadruple

    It didnt work.
     
  7. Offline

    HollowCube

    Your problem is that you did not properly set up permissions. Post your permissions config as code or link it from pastebin. Also, what is your in-game username so I can check your group in the file?
     
  8. Offline

    EnvisionRed

    Chances are, if you didn't put the kits in proper YAML format, then none of the rest of your config is. Try going through your config and fixing it.
     
Thread Status:
Not open for further replies.

Share This Page