Essentials Kits Not Working

Discussion in 'Spigot Help' started by Bio, Oct 15, 2017.

  1. Bio

    Bio

    I have a problem with essentials, when i'm trying to give me kits after kit vip+ this happens:
    Code (Text):
    Comando kit fallito:
    java.lang.NoClassDefFoundError: Could not initialize class com.earth2me.essentials.Enchantments
            at com.earth2me.essentials.MetaItemStack.parseEnchantmentStrings(MetaItemStack.java:465) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.MetaItemStack.addStringMeta(MetaItemStack.java:280) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.MetaItemStack.parseStringMeta(MetaItemStack.java:157) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.Kit.expandItems(Kit.java:252) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.Kit.expandItems(Kit.java:217) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.commands.Commandkit.giveKits(Commandkit.java:101) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.commands.Commandkit.run(Commandkit.java:40) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:180) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:526) [Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.Essentials.onCommand(Essentials.java:401) [Essentials-2.x-SNAPSHOT.jar:?]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131]
            at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
     
    Here's my config file of essentials
    Code (Text):

    #
    # +------------------------------------------------------+ #
    # |                       Notes                          | #
    # +------------------------------------------------------+ #
    ops-name-color: none
    nickname-prefix: '~'
    max-nick-length: 15
    change-displayname: true
    teleport-safety: true
    teleport-cooldown: 0
    teleport-delay: 0
    teleport-invulnerability: 4
    heal-cooldown: 60
    permission-based-item-spawn: false
    spawnmob-limit: 50
    warn-on-smite: true
    socialspy-commands:
    - msg
    - w
    - r
    - mail
    - m
    - t
    - whisper
    - emsg
    - tell
    - er
    - reply
    - ereply
    - email
    - action
    - describe
    - eme
    - eaction
    - edescribe
    - etell
    - ewhisper
    - pm
    player-commands:
    - afk
    - afk.auto
    - back
    - back.ondeath
    - balance
    - balance.others
    - balancetop
    - build
    - chat.color
    - chat.format
    - chat.shout
    - chat.question
    - clearinventory
    - compass
    - depth
    - delhome
    - getpos
    - geoip.show
    - help
    - helpop
    - home
    - home.others
    - ignore
    - info
    - itemdb
    - kit
    - kits.tools
    - list
    - mail
    - mail.send
    - me
    - motd
    - msg
    - msg.color
    - nick
    - near
    - pay
    - ping
    - 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.enchant
    - signs.use.free
    - signs.use.gamemode
    - signs.use.heal
    - signs.use.info
    - signs.use.kit
    - signs.use.mail
    - signs.use.protection
    - signs.use.repair
    - 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
    enabledSigns:
    - color
    - balance
    - buy
    - sell
    - trade
    - free
    - disposal
    - warp
    - kit
    - mail
    - enchant
    - gamemode
    - heal
    - info
    - spawnmob
    - repair
    - time
    - weather
    sign-use-per-second: 20
    backup:
      interval: 30
    per-warp-permission: false
    list:
      Admins: owner admin
    debug: false
    locale: it
    remove-god-on-disconnect: false
    auto-afk: 300
    auto-afk-kick: -1
    freeze-afk-players: false
    disable-item-pickup-while-afk: false
    cancel-afk-on-interact: true
    cancel-afk-on-move: true
    death-messages: true
    allow-silent-join-quit: false
    custom-join-message: '&2[&a+&2] &b{USERNAME}'
    custom-quit-message: '&4[&c-&4] &b{USERNAME}'
    world-teleport-permissions: false
    default-stack-size: -1
    oversized-stacksize: 64
    repair-enchanted: true
    unsafe-enchantments: true
    register-back-in-listener: false
    login-attack-delay: 5
    max-fly-speed: 0.8
    max-walk-speed: 0.8
    mails-per-minute: 1000
    max-tempban-time: -1
    update-bed-at-daytime: true
    world-home-permissions: false
    sethome-multiple:
      default: 3
      vip: 5
      staff: 10
    tpa-accept-cancellation: 120
    starting-balance: 500
    currency-symbol: $
    max-money: 10000000000000
    min-money: 0
    economy-log-enabled: false
    non-ess-in-help: true
    hide-permissionless-help: true
    chat:
      radius: 0
      format: '{DISPLAYNAME}&7»&7 {MESSAGE} '
      group-formats:
        Utente: '&7[&bUtente&7] {DISPLAYNAME} &7»&7 {MESSAGE}'
        Vip: '&7[&dVip&7] {DISPLAYNAME} &7»&b {MESSAGE}'
        Vip+: '&7[&dVip+&7] {DISPLAYNAME} &7»&b {MESSAGE}'
        Vip++: '&7[&dVip++&7] {DISPLAYNAME} &7»&b {MESSAGE}'
        MVP: '&7[&d&lMVP&7] {DISPLAYNAME} &7»&a {MESSAGE}'
        MVP+: '&7[&d&lMVP+&7] {DISPLAYNAME} &7»&a {MESSAGE}'
        MVP++: '&7[&d&lMVP++&7] {DISPLAYNAME} &7»&a {MESSAGE}'
        Helper: '&7[&2Helper&7] {DISPLAYNAME} &7»&2 {MESSAGE}'
        Moderatore: '&7[&3Moderatore&7] {DISPLAYNAME} &7»&3 {MESSAGE}'
        Admin: '&7[&cAdmin&7] {DISPLAYNAME} &7»&c {MESSAGE}'
        CapoBuilder: '&7[&6&lBuilder&7] {DISPLAYNAME} &7»&6 {MESSAGE}'
        Pluginner: '&7[&b&lPluginner&7] {DISPLAYNAME} &7»&b {MESSAGE}'
        Founder: '&7[&4Founder&7] {DISPLAYNAME} &7»&c {MESSAGE}'
        Co-Founder: '&7[&4Co-Founder&7] {DISPLAYNAME} &7»&c {MESSAGE}'
        Builder: '&7[&6Builder&7] {DISPLAYNAME} &7»&6 {MESSAGE}'
    protect:
      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
        tnt-minecart-explosion: false
        tnt-minecart-playerdamage: false
        fireball-explosion: false
        fireball-fire: false
        fireball-playerdamage: false
        witherskull-explosion: false
        witherskull-playerdamage: false
        wither-spawnexplosion: false
        wither-blockreplace: false
        creeper-explosion: false
        creeper-playerdamage: false
        creeper-blockdamage: false
        enderdragon-blockdamage: true
        enderman-pickup: false
        villager-death: false
        entitytarget: false
        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
          wither: false
          bat: false
          witch: false
          horse: false
      creeper:
        max-height: -1
      disable:
        fall: false
        pvp: false
        drown: false
        suffocate: false
        lavadmg: false
        projectiles: false
        contactdmg: false
        firedmg: false
        lightning: false
        wither: false
        weather:
          storm: false
          thunder: false
          lightning: false
        build: true
        use: true
        warn-on-build-disallow: true
      alert:
        on-placement: 10,11,46,327
        on-use: 327
      blacklist:
        placement: 10,11,46,327
        usage: 327
    newbies:
      announce-format: '&bBenvenuto &a{DISPLAYNAME} &bsu TeslaPvP'
      spawnpoint: none
      kit: ''
    respawn-listener-priority: high
    respawn-at-home: false
    kits:
      Utente:
        delay: 86400
        items:
        - 272 1
        - 257 1
        - 275 1
        - 273 1
        - 298 1
        - 299 1
        - 300 1
        - 301 1
        - 297 16
      Vip:
        delay: 6000
        items:
        - 267 1
        - 257 1
        - 258 1
        - 256 1
        - 306 1
        - 307 1
        - 308 1
        - 309 1
        - 322 2
        - 265 12
        - 266 8
        - 264 3
        - 46 16
        - 400 16
      Vip+:
        delay: 6000
        items:
        - 267 1
        - 278 1
        - 258 1
        - 256 1
        - 306 1
        - 311 1
        - 308 1
        - 309 1
        - 322 8
        - 265 24
        - 266 16
        - 264 8
        - 46 16
        - 400 32
      Vip++:
        delay: 6000
        items:
        - 267 1 damage_all:1
        - 278 1 dig_speed:1 durability:1
        - 258 1 dig_speed:1 durability:1
        - 256 1 dig_speed:1 durability:1
        - 306 1
        - 311 1
        - 308 1
        - 309 1
        - 322 16
        - 265 42
        - 266 26
        - 264 14
        - 46 18
        - 400 64
      MVP:
        delay: 6000
        items:
        - 276 1 damage_all:2 durability:1
        - 278 1 dig_speed:3 durability:1
        - 279 1 dig_speed:2 durability:1
        - 277 1 dig_speed:2 durability:1
        - 310 1 protection_environmental:2
        - 311 1 protection_environmental:2
        - 308 1 protection_environmental:4
        - 313 1 protection_environmental:2
        - 322:1 6
        - 400 64
        - 265 16
        - 265 64
        - 266 42
        - 264 28
        - 46 26
        - 400 64
      MVP+:
        delay: 6000
        items:
        - 276 1 damage_all:3 durability:3
        - 278 1 dig_speed:4 durability:3 loot_bonus_blocks:2
        - 279 1 dig_speed:4 durability:3
        - 277 1 dig_speed:4 durability:3
        - 310 1 protection_environmental:3 durability:4
        - 311 1 protection_environmental:3 durability:4
        - 312 1 protection_environmental:3 durability:4
        - 313 1 protection_environmental:3 durability:4
        - 322:1 14
        - 400 64
        - 265 64
        - 266 64
        - 264 38
        - 46 42
        - 400 64

     
     
  2. Try using 'protection' instead of 'protection_environmental'

    Like this
    Code (Text):
    - 310:0 1 protection:1 durability:1 name:Hard_Head
    See this Enchantment list (It was the first cross reference that I found)
     
    #2 Goldentoenail, Oct 15, 2017
    Last edited: Oct 15, 2017
  3. Bio

    Bio

    Gives this error, but i don't added Frost Walker
    Code (Text):

    java.lang.NoSuchFieldError: FROST_WALKER
            at com.earth2me.essentials.Enchantments.<clinit>(Enchantments.java:157) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.MetaItemStack.parseEnchantmentStrings(MetaItemStack.java:465) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.MetaItemStack.addStringMeta(MetaItemStack.java:280) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.MetaItemStack.parseStringMeta(MetaItemStack.java:157) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.Kit.expandItems(Kit.java:252) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.Kit.expandItems(Kit.java:217) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.commands.Commandkit.giveKits(Commandkit.java:101) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.commands.Commandkit.run(Commandkit.java:40) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:180) ~[Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:526) [Essentials-2.x-SNAPSHOT.jar:?]
            at com.earth2me.essentials.Essentials.onCommand(Essentials.java:401) [Essentials-2.x-SNAPSHOT.jar:?]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131]
            at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot.jar:git-Spigot-21fe707-e1ebe52]
            at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
     
     
  4. Change over to EssentialsX by @drtshock, it's a much better fork of essentials with a lot of bug fixes and new features.
     
  5. Try using EssentialsX

    Just put the jar(s) in, there should be no need to replace the folder.
     
  6. Legit just copied what i said... Why?
     
  7. Cos we both posted at virtually the same moment :eek: