Kit Enchantments

Discussion in 'Bukkit Help' started by X_TurtleKing_X, Jun 8, 2013.

  1. Offline

    X_TurtleKing_X

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I run a server that requires kits with weapons that need to be enchanted... but they won't work right.
    Anyone mind taking a look at the file and helping?
    (If you see anything else that doesn't seem right or will be more officiant, feel free to tell)

    ############################################################
    # +------------------------------------------------------+ #
    # | 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: '4'

    # 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

    # 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: 0

    # 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: 0

    # 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 completelly 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
    - clearinventory
    - compass
    - depth
    - getpos
    - geoip.show
    - help
    - helpop
    - home
    - home.others
    - ignore
    - info
    - kit
    - list
    - mail
    - mail.send
    - me
    - motd
    - msg
    - nick
    - pay
    - ping
    - powertool
    - protect
    - r
    - rules
    - 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
    - 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.
    # Times are measured in seconds.
    kits:
    godclass:
    delay: 2
    items:
    - 276 1
    - 261 1 power:4 flame:1 infintiy:1
    - 310 1
    - 311 1
    - 312 1
    - 313 1
    - 352 20
    - 262 1
    transportation:
    delay: 2
    items:
    - 328 1
    tankclass:
    delay: 2
    items:
    - 310 1
    - 311 1
    - 312 1
    - 313 1
    - 268 2 smite:3
    - 352 20
    sniperclass:
    delay: 2
    items:
    - 302 1
    - 303 1
    - 304 1
    - 305 1
    - 261 1 power:5 punch:1 infinity:1
    - 262 1
    - 352 20
    defenseless:
    delay: 2
    items:
    - 298 1
    - 283 1
    - 267 1
    - 272 1
    - 268 1
    - 353 20
    assaultclass:
    delay: 2
    items:
    - 302 1
    - 303 1
    - 304 1
    - 305 1
    - 261 1 power:1 punch:2 flame:1 infinity:1
    - 262 1
    - 353 20
    soldierclass:
    delay: 2
    items:
    - 306 1
    - 307 1
    - 308 1
    - 309 1
    - 272 1
    - 261 1 infinity:1
    - 262 1
    - 353 20
    dayo'play:
    delay: 2
    items:
    - 76 1
    - 323 1
    monthlyplay:
    delay: 2
    items:
    - 76 32
    - 323 1
    lifetimeplay:
    delay: 2
    items:
    - 76 64
    - 76 64
    - 397:3 1
    - 54 1
    - 267 1 smite:1
    locker:
    delay: 2
    items:
    - 397:3 1
    - 54 1
    blueteam1:
    delay: 2
    items:
    - 314 1
    - 272 1 fireaspect:2
    redteam1:
    delay: 2
    items:
    - 306 1
    - 272 1 fireaspect:2
    blueteam2:
    delay: 2
    items:
    - 314 1
    - 261 1 infinity:1 flame:1
    - 262 1
    redteam2:
    delay: 2
    items:
    - 306 1
    - 261 1 infinity:1 flame:1
    kingofthehill:
    delay: 2
    items:
    - 276 1 knockback:2 sharpness: 2
    # 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.
    # We recommend not enabling chest protection signs if you don't intend to use them, (or are using LWC/Lockette).

    enabledSigns:
    - 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: 60
    # Add a command that backups your data, e.g.
    #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
    # 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: 1000

    # 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
    # Setting this to 0, will disable overdrafts/loans compeltely. Users need 'essentials.eco.loan' perm to go below 0.
    min-money: -10000000000000

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

    ############################################################
    # +------------------------------------------------------+ #
    # | 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
    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: 372
    on-break: 2,5:3,14,15,16,20,21,49,56,73,74,89,101,112,113,127,155,323

    blacklist:

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

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

    # Which blocks should people be prevented from breaking
    break: 2,5:3,14,15,16,20,21,49,56,73,74,89,101,112,113,127,155,323

    # Which blocks should not be pushed by pistons
    piston:

    # General physics/behavior modifications
    prevent:
    lava-flow: true
    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:
    chicken: false
    cow: false
    creeper: false
    ghast: false
    giant: false
    monster: false
    pig: false
    pig_zombie: false
    sheep: false
    skeleton: false
    slime: false
    spider: false
    squid: false
    zombie: false
    wolf: false
    cave_spider: false
    enderman: true
    silverfish: false
    ender_dragon: false
    villager: false
    blaze: false
    mushroom_cow: false
    magma_cube: false
    snowman: 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: true

    # 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: true

    # 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: false

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

    # 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:

    # 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.

    This post has been edited 1 time. It was last edited by TnT Jun 8, 2013.
  2. Offline

    Trevor1134

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    please use pastebin.com
  3. Offline

    X_TurtleKing_X

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    This post has been edited 1 time. It was last edited by TnT Jun 8, 2013.
  4. Offline

    Necrodoom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    paste link here.

    This post has been edited 1 time. It was last edited by necrodoom Jun 8, 2013.
  5. Offline

    X_TurtleKing_X

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    This post has been edited 1 time. It was last edited by TnT Jun 9, 2013.
  6. Offline

    Necrodoom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  7. Offline

    X_TurtleKing_X

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  8. Offline

    Necrodoom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  9. Offline

    X_TurtleKing_X

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    All of them, instead of giving me the enchantment it gives me 2, or more depending on the number, damaged weapons.
    @necrodoom
  10. Offline

    MakeMeBacon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  11. Offline

    Necrodoom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    using this config i get no errors except the last one which you used a space between the enchant and the enchant level.
    make sure essentials is 2.10.1+, and this time, say exactly what you expected it to give, and what it actually gave.
  12. Offline

    X_TurtleKing_X

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I tried to get GodClass I'm supposed to get
    Diamond sword
    Bow (with Power:4 Flame:1 and infinity:1
    Diamond Armor
    1 Arrow
    20 Bone

    I got a diamond sword... and an error message that said "this kit is improperly defined or does not exist
    @necrodoom
  13. Offline

    Necrodoom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    tried this very same kit and its working fine, try update essentials to a prebuild.

Share This Page