Plugin Help Essentials Kits Problem

Discussion in 'Plugin Help/Development/Requests' started by CoolCreeper131, Jul 27, 2017.

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

    CoolCreeper131

    Hey to whoever is reading this

    I'm currently experiencing a little bit of trouble trying to create kits through Essentials Config
    Since I'm building an Op Prison Server, I'm trying to create a kit that has overpowered enchantments (enchantments that are larger than vanilla minecraft). However, when I created my kit, when I did /kit starter, nothing came up in my chat, however some error was spamming my console.


    Here's what I've done in my Config in Essentials config:

    kits:
    Starter:
    delay: 259200
    items:
    - 278 1 efficiency:150 durability:150 fortune:150
    - 276 1 sharpness:150 looting:65 fire_aspect:150 unbreaking:150
    - 277 1 efficiency:150 durability:150 fortune:150
    - 293 1 efficiency:150 durability:150 fortune:150
    - 310 1 protection:150 durability:150 fire_protection:150 projectile_protection:150 blast_protection:150
    - 311 1 protection:150 durability:150 fire_protection:150 projectile_protection:150 blast_protection:150
    - 312 1 protection:150 durability:150 fire_protection:150 projectile_protection:150 blast_protection:150
    - 313 1 protection:150 durability:150 fire_protection:150 projectile_protection:150 blast_protection:150

    unsafe-enchantments: true <---- enabled Unsafe Enchantments

    As you can see, I'm trying to set all my enchantments for /kit starter to 150 (150 Efficiency... Unbreaking... Protection) However when I do /kit starter in my game, nothing spawned in my inventory but this poped up in my console:


    [22:07:51] [Server thread/INFO]: CoolCreeper131 issued server command: /kit starter
    [22:07:51] [Server thread/ERROR]: Command kit failed:
    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) [craftbukkit.jar:git-Bukkit-10c10b3]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) [craftbukkit.jar:git-Bukkit-10c10b3]
    at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:625) [craftbukkit.jar:git-Bukkit-10c10b3]
    at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1296) [craftbukkit.jar:git-Bukkit-10c10b3]
    at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1156) [craftbukkit.jar:git-Bukkit-10c10b3]
    at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:37) [craftbukkit.jar:git-Bukkit-10c10b3]
    at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:9) [craftbukkit.jar:git-Bukkit-10c10b3]
    at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit.jar:git-Bukkit-10c10b3]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_131]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_131]
    at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [craftbukkit.jar:git-Bukkit-10c10b3]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:690) [craftbukkit.jar:git-Bukkit-10c10b3]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:360) [craftbukkit.jar:git-Bukkit-10c10b3]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:646) [craftbukkit.jar:git-Bukkit-10c10b3]
    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:550) [craftbukkit.jar:git-Bukkit-10c10b3]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]

    -----
    Help Please, I've tried everything and I googled any possible tips, but nothing seems to be helping. I've even tried disabling and enabling 'Unsafe enchantments', but it doesn't work.

    Any Help would be appreciated! If you need any information, feel free to comment down.


    Thanks
    Best Regards,
    CoolCreeper131
     
  2. Offline

    Machine Maker

    @CoolCreeper131
    You need to use EssentialsX. Replace the main Essentials.jar with the EssentialsX jar found here.
     
  3. Offline

    CoolCreeper131

    @X1machinemaker1X
    Hey man, quick question
    Can I hug you :)?

    Thanks Bud! Problem Solved!!!!
     
Thread Status:
Not open for further replies.

Share This Page