Coder Social home page Coder Social logo

crazy-crew / crazyenchantments Goto Github PK

View Code? Open in Web Editor NEW
145.0 9.0 113.0 20.35 MB

Adds over 80 unique enchantments to your server and more!

Home Page: https://modrinth.com/plugin/crazyenchantments

License: MIT License

Java 100.00%
minecraft modrinth papermc spigotmc hacktoberfest2022

crazyenchantments's People

Contributors

alexandermoebius avatar badbones69 avatar blackbeltpanda avatar bodyash avatar citymonstret avatar cmdrkittens avatar dorcomando avatar elric02 avatar encode42 avatar euphillya avatar gm1224 avatar hitosherizu avatar illusionthedev avatar mowstyl avatar omerbengera avatar pmme avatar rubenicos avatar ryderbelserion avatar scrydanbiringer avatar sgdc3 avatar th3al3x avatar themondon avatar tr7zw avatar truedarklord avatar tyler489 avatar youhavetrouble avatar ytnoos avatar yukun99 avatar zetastormy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crazyenchantments's Issues

API

How can I use this API to create custom enchants?

Could not pass InventoryClickEvent

Error Log:

[18:43:23 ERROR]: Could not pass event InventoryClickEvent to Click2Enchant v1.4org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_8_R3.inventory.CraftMetaItem cannot be cast to org.bukkit.inventory.meta.EnchantmentStorageMeta at io.github.calemyoung.click2enchant.utils.EnchantmentUtil.canEnchantWithBook(EnchantmentUtil.java:53) ~[?:?] at io.github.calemyoung.click2enchant.listeners.InstantEnchant.onInventoryClick(InstantEnchant.java:42) ~[?:?] at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[server.jar:git-Spigot-db6de12-18fbb24] ... 15 more>

ERROR Could not pass event EntityDamageByEntityEvent

I've been getting this recently

27.05 05:17:53 [Server] ERROR Could not pass event EntityDamageByEntityEvent to CrazyEnchantments v1.6.2.1
27.05 05:17:50 [Server] INFO Caused by: java.lang.NullPointerException
27.05 05:17:50 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:792) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.WorldServer.tickEntities(WorldServer.java:630) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.World.tickEntities(World.java:1421) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.World.g(World.java:1587) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.World.entityJoinedWorld(World.java:1612) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.EntityTippedArrow.m(EntityTippedArrow.java:68) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.EntityArrow.m(EntityArrow.java:188) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.EntityArrow.a(EntityArrow.java:268) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.EntityPlayer.damageEntity(EntityPlayer.java:497) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.EntityHuman.damageEntity(EntityHuman.java:763) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.EntityLiving.damageEntity(EntityLiving.java:816) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.EntityHuman.damageEntity0(EntityHuman.java:839) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at net.minecraft.server.v1_9_R1.EntityLiving.damageEntity0(EntityLiving.java:1211) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:602) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:479) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:570) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:89) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
27.05 05:17:50 [Server] INFO org.bukkit.event.EventException

Error when doing /ce add

I tried doing /ce add and I got this error

org.bukkit.command.CommandException: Unhandled exception executing command 'ce' in plugin SwarmEnchantments v1.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]Caused by: java.lang.NullPointerException at me.BadBones69.CrazyEnchantments.Main.onCommand(Main.java:326) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[server.jar:git-Spigot-db6de12-18fbb24] ... 15 more

Also I got this in game
2016-05-07_12 05 12

100% books failing

I have used 2 100% books on my server so far, and they both failed. 1 succeeded tho.

Berserk effects code needs to be edited

Bolded and italicised brackets are missing.

damager.addPotionEffect(new PotionEffect(PotionEffectType.SLOW_DIGGING, **_(_**Api.getPower(lore, Api.getEnchName("Berserk")) + 5**_)_** * 20, 1))

Only shows in hand

When you use signs it makes it so if your not making it show up in your hand then it will cause a visual glitch. Now this has cause mass duping on my server. Please fix this soon, Thanks.

Glitch when used with beast-xpwithdraw

When the plugin is used with beast-xpwithdraw, throwing a withdrawn xpbottle triggers the help tip for when the enchantment book is right clicked. I tried changing the config, and it still does the same thing. For now, I'm setting that one message to not display anything, but it is still putting a blank in chat.

Enchantments don't work

Once I get any enchantment and I access my inventory, the books become unenchanted. It's on a Bukkit server, and all the enchantments don't work.

Could not pass PlayerInteractEvent

Error log:

[18:27:13 ERROR]: Could not pass event PlayerInteractEvent to CrazyEnchantments v1.6.2.3org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:228) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerInteractManager.interact(PlayerInteractManager.java:463) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:759) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:52) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]Caused by: java.lang.NullPointerException

Error in console during startup

I get the following error in the console when I start up CE. I am using spigot 1.10 Buildtools: 52.
The plugin itself works fine in-game. I see something about SilkSpawners in the error, but do not have it installed.

[22:40:07] [Server thread/ERROR]: Error occurred while enabling CrazyEnchantments v1.6.3 (Is it up to date?) java.lang.NoClassDefFoundError: de/dustplanet/util/SilkUtil at me.BadBones69.CrazyEnchantments.MultiSupport.SilkSpawners.<init>(SilkSpawners.java:16) ~[?:?] at me.BadBones69.CrazyEnchantments.Main.onEnable(Main.java:72) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) ~[spigot-1.10_BT52_06_12.jar:git-Spigot-3ccadba-7f1a322] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot-1.10_BT52_06_12.jar:git-Spigot-3ccadba-7f1a322] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.10_BT52_06_12.jar:git-Spigot-3ccadba-7f1a322] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugin(CraftServer.java:362) [spigot-1.10_BT52_06_12.jar:git-Spigot-3ccadba-7f1a322] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugins(CraftServer.java:322) [spigot-1.10_BT52_06_12.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.MinecraftServer.t(MinecraftServer.java:416) [spigot-1.10_BT52_06_12.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.MinecraftServer.l(MinecraftServer.java:381) [spigot-1.10_BT52_06_12.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.MinecraftServer.a(MinecraftServer.java:336) [spigot-1.10_BT52_06_12.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:270) [spigot-1.10_BT52_06_12.jar:git-Spigot-3ccadba-7f1a322] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:539) [spigot-1.10_BT52_06_12.jar:git-Spigot-3ccadba-7f1a322] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92] Caused by: java.lang.ClassNotFoundException: de.dustplanet.util.SilkUtil at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_92] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.10_BT52_06_12.jar:git-Spigot-3ccadba-7f1a322] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.10_BT52_06_12.jar:git-Spigot-3ccadba-7f1a322] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_92] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_92] ... 13 more

Commands And BlackScrolls

Hello, I currently have the latest version and this is happening. When I try to remove an enchantment from the item with a black scroll, it just acts as if you were clicking any other item onto the sword, just replaces the sword's spot. Also when I try to do /ce add and /ce remove, it says "An internal error occured while attempting to perform this command". Please Help, Thanks! Here is my config: http://pastebin.com/0n3jms3y

OnInvClick is still here

Yep, OnInvClick still errors:

[17:38:23 ERROR]: Could not pass event InventoryClickEvent to CrazyEnchantments v1.6.2.1org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]Caused by: java.lang.NullPointerException at org.bukkit.ChatColor.translateAlternateColorCodes(ChatColor.java:324) ~[server.jar:git-Spigot-db6de12-18fbb24] at me.BadBones69.CrazyEnchantments.Api.color(Api.java:42) ~[?:?] at me.BadBones69.CrazyEnchantments.Api.makeItem(Api.java:291) ~[?:?] at me.BadBones69.CrazyEnchantments.GUI.openInfo(GUI.java:828) ~[?:?] at me.BadBones69.CrazyEnchantments.GUI.onInvClick(GUI.java:231) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[server.jar:git-Spigot-db6de12-18fbb24] ... 15 more

entitydamagebyentityevent

[14:43:44 ERROR]: Could not pass event EntityDamageByEntityEvent to CrazyEnchantments v1.6.2.4org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callEvent(CraftEventFactory.java:87) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:553) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:466) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:585) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.EntityLiving.d(EntityLiving.java:1102) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.EntityHuman.d(EntityHuman.java:859) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.EntityLiving.damageEntity(EntityLiving.java:743) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.EntityHuman.damageEntity(EntityHuman.java:800) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.EntityPlayer.damageEntity(EntityPlayer.java:496) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.EntityArrow.t_(EntityArrow.java:242) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.World.entityJoinedWorld(World.java:1607) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.World.g(World.java:1582) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.World.tickEntities(World.java:1425) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.WorldServer.tickEntities(WorldServer.java:597) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:786) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]Caused by: java.lang.NullPointerException at me.BadBones69.CrazyEnchantments.Enchantments.Bows.onArrowDamage(Bows.java:132) ~[?:?] at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[server.jar:git-Spigot-db6de12-18fbb24] ... 22 more>

error when doing /ce book from console

I used the console to give myself a CE book, but it gave me errors. I'm doing this as a crate plugin can only give books via commands. How do I solve this? The line of code it's having an error on is very weird, it's the line that goes if(lvl.equals("6"))lvl="VI";, and I've already added all the enchants that I have removed to the plugin, other issues have all been fixed. The crate plugin is cosmicchest btw.
[21:19:45 WARN]: Unexpected exception while parsing console command "ce book Obliterate 1 1 xu_yukun"org.bukkit.command.CommandException: Unhandled exception executing command 'ce' in plugin SwarmEnchantments v1.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:627) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:412) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_8_R3.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at me.BadBones69.CrazyEnchantments.Main.onCommand(Main.java:363) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[server.jar:git-Spigot-db6de12-18fbb24] ... 8 more>

Enchant Bottle From Tinkerer are broken

I figured out an insane glitch. When using the enchant bottles from the Tinkerer, if you get a CE book then use the XP bottle, it will give you back all the XP you used to get the CE book and the XP from the bottle.
Ex. You have 73 Levels and you get a T3 Enchant book for 60 Levels, you now have 13 levels, but when you use the enchant bottle from the Tinkerer, it takes you back to 73 Levels and gives you a little bit more.
This is a very bad glitch, I had to remove CE's from my server because it was so OP. Please fix ASAP

Infinite Books

Hi, I recently updated my plugin to the most recent version and now at first it didn't charge the amount of EXP levels in the config, and now i changed it to Total exp and people can get an infinite amount of books for free. So basically players can get infinite books and the plugin kinda doesn't work like it is supposed to, but before I updated it worked perfectly. Here is my config. http://pastebin.com/xxrKj7Xa
Thanks!

It seems onInvClick strikes again

[17:07:26] [Server thread/ERROR]: Could not pass event InventoryClickEvent to CrazyEnchantments v1.6.1.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91] Caused by: java.lang.IllegalArgumentException: bound must be positive at java.util.Random.nextInt(Random.java:388) ~[?:1.8.0_91] at me.BadBones69.CrazyEnchantments.ECControl.Enchants(ECControl.java:39) ~[?:?] at me.BadBones69.CrazyEnchantments.ECControl.pick(ECControl.java:185) ~[?:?] at me.BadBones69.CrazyEnchantments.GUI.onInvClick(GUI.java:175) ~[?:?] at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[server.jar:git-Spigot-db6de12-18fbb24] ... 15 more

XP problem

I noticed that if you try to buy a book that costs 10 000 (more or less) it will say I need 9937 more xp when I have 10 000 XP. I gave myself 9 937 more XP and it said I needed 9 917 more XP and so on. If you could fix this that would be great!

Book isn't give after payment of XP

Hello.

There is a problem with the sign shop.
When somebody try to buy a book with the differents shop signs and categories, The xp is payed
(so for exemple the user have now 0 XP because he payed 15XP to buy the book")
But ! The book isn't give to the user...

Can you help me please?

PS: Sorry for english

Only Passive CEs working

I loaded the default CE from spigot itself, and everything still refuses to work. I am using the default config, everything. I'm not sure if this is a bug, or if it's just a really low chance of activating, but nothing seems to be working.

Error when doing /ce from console

I know this is not supposed to be done XD, but a thread returning false would be nice haha, line 188 is the oncmd action for /ce, with no extra args after it. The one that only checks for instanceof player, and perms.

[22:03:10 WARN]: Unexpected exception while parsing console command "ce"org.bukkit.command.CommandException: Unhandled exception executing command 'ce' in plugin SwarmEnchantments v1.5 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:627) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:412) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_8_R3.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at me.BadBones69.CrazyEnchantments.Main.onCommand(Main.java:188) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[server.jar:git-Spigot-db6de12-18fbb24] ... 8 more>

Could not pass event PlayerMoveEvent

http://hastebin.com/wesuyuyata.avrasm

[18:44:53] [Server thread/ERROR]: Could not pass event PlayerMoveEvent to CrazyEnchantments v1.6.2.2 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[paperspigot.jar:git-PaperSpigot-"ee63dbe"] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[paperspigot.jar:git-PaperSpigot-"ee63dbe"] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[paperspigot.jar:git-PaperSpigot-"ee63dbe"] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [paperspigot.jar:git-PaperSpigot-"ee63dbe"] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [paperspigot.jar:git-PaperSpigot-"ee63dbe"] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:273) [paperspigot.jar:git-PaperSpigot-"ee63dbe"] at net.minecraft.server.v1_8_R3.PacketPlayInFlying.a(SourceFile:126) [paperspigot.jar:git-PaperSpigot-"ee63dbe"] at net.minecraft.server.v1_8_R3.PacketPlayInFlying$PacketPlayInPosition.a(SourceFile:57) [paperspigot.jar:git-PaperSpigot-"ee63dbe"] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [paperspigot.jar:git-PaperSpigot-"ee63dbe"] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_72] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_72] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [paperspigot.jar:git-PaperSpigot-"ee63dbe"] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:773) [paperspigot.jar:git-PaperSpigot-"ee63dbe"] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [paperspigot.jar:git-PaperSpigot-"ee63dbe"] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [paperspigot.jar:git-PaperSpigot-"ee63dbe"] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [paperspigot.jar:git-PaperSpigot-"ee63dbe"] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72] Caused by: java.lang.NullPointerException at java.lang.String.contains(String.java:2133) ~[?:1.8.0_72] at me.BadBones69.CrazyEnchantments.Enchantments.Helmets.onMovment(Helmets.java:64) ~[?:?] at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[paperspigot.jar:git-PaperSpigot-"ee63dbe"] ... 16 more

Problem with black scrolls

When I'm in creative, it gives me this:
[12:12:53 ERROR]: Could not pass event InventoryCreativeEvent to SwarmEnchantments v1.2org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1776) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInSetCreativeSlot.a(SourceFile:23) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInSetCreativeSlot.a(SourceFile:9) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]Caused by: java.lang.NullPointerException

When in survival, it does this:
[12:13:10 ERROR]: Could not pass event InventoryClickEvent to SwarmEnchantments v1.2org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1630) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]Caused by: java.lang.NullPointerException

Error Log

I've been getting this error on my server recently
[02:51:40] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to CrazyEnchantments v1.6.2.1
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:198) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:194) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:945) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:27) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_77]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_77]
at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]
Caused by: java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Unknown Source) ~[?:1.8.0_77]
at me.BadBones69.CrazyEnchantments.Api.percentPick(Api.java:635) ~[?:?]
at me.BadBones69.CrazyEnchantments.Controlers.DustControl.openDust(DustControl.java:109) ~[?:?]
at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot_1.9.2_e000104-4cb3258.jar:git-Spigot-e000104-4cb3258]
... 18 more

XP problem

I find dealing with large numbers of XP it doesn't quite work. If I set the book to cost 10 000 XP and I have 10 100 it will ask for another 9 937 and I don't know why.

Skillswipe

Skillswipe doesn't check if the player is out of xp before giving xp I think? Beast-xpwithdraw makes the player always have 1 xp left, so maybe that's causing the enchant to continue triggering?

Clicking in inventory GUIs doesnt work, tells me server is outdated when its newest offered version.

I'm having the following issue with any time I attempt to click anything on an inventory GUI. This is on Spigot 1.9.4 with no other plugins, with version 1.5.2:
Hopefully I'm just stupid and its an easy fix.

`[17:24:30 ERROR]: [Crazy Enchantments]>> Your server is to far out of date.Please update or remove this plugin to stop ferther Errors.
[17:24:32 ERROR]: [Crazy Enchantments]>> Your server is to far out of date.Please update or remove this plugin to stop ferther Errors.
[17:24:32 ERROR]: Could not pass event InventoryClickEvent to CrazyEnchantments v1.5.2
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1851) [spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at net.minecraft.server.v1_9_R2.PacketPlayInWindowClick.a(SourceFile:33) [spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at net.minecraft.server.v1_9_R2.PacketPlayInWindowClick.a(SourceFile:10) [spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_77]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_77]
at net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45) [spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726) [spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665) [spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564) [spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]
Caused by: java.lang.IllegalArgumentException: Item cannot be null
at org.apache.commons.lang.Validate.noNullElements(Validate.java:364) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at org.bukkit.craftbukkit.v1_9_R2.inventory.CraftInventory.addItem(CraftInventory.java:274) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
at me.BadBones69.CrazyEnchantments.GUI.onInvClick(GUI.java:150) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.4.jar:git-Spigot-4af49dc-23da8b0]
... 15 more

`

XP problem

If I posted this twice sorry! I submitted this issue one before but it deleted... I think.
I have been having trouble trying to buy books that cost a large amount of XP. When I try to buy a book that costs 10 000 it will say I need 9 937 more XP. when I give myself another 9 937 it says I need
9 917 then 9902 etc.

Bug signs: give book but without paying...

Hello. Can you help me :/

[04:16:56 ERROR]: Could not pass event PlayerInteractEvent to CrazyEnchantments v1.6.3.2
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at net.minecraft.server.v1_9_R1.PlayerInteractManager.a(PlayerInteractManager.java:482) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:888) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at net.minecraft.server.v1_9_R1.PacketPlayInUseItem.a(SourceFile:55) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at net.minecraft.server.v1_9_R1.PacketPlayInUseItem.a(SourceFile:11) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
Caused by: java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Random.java:388) ~[?:1.8.0_91]
at me.BadBones69.CrazyEnchantments.ECControl.Enchants(ECControl.java:41) ~[?:?]
at me.BadBones69.CrazyEnchantments.ECControl.pick(ECControl.java:226) ~[?:?]
at me.BadBones69.CrazyEnchantments.Controlers.SignControl.onPlayerInteract(SignControl.java:251) ~[?:?]
at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.jar:git-Spigot-2038f4a-cd36f6f]
... 17 more

Thank you.

Plugin affecting beacon effects

Using the latest version of the plugin on my Spigot 1.9.4 server the plugin seems to be affecting beacon effects such as haste. The player receives the beacon effect but upon any kind of movement loses it. After disabling Crazy Enchantments, the issue was no longer present.

on damage enchants don't seem to work

I used the default source code to specifically test if it was my version of the plugin failing, and even on the default version, enchants that activate upon being attacked seem not to work :P

Items reappearing

When I threw stuff out of my inventory, it would magically reappear when I did /ce, but if I place them into my playervault, then throw it out, it doesn't happen.

Can't seem to get CustomEnchantments to work

I put in a few custom enchantments in customenchantment.yml, file reloaded with no errors, but the plugin refuses to acknowledge that they exist, and I can't do /ce add or /ce book with them. Even when I get a book by using the GUI, it doesn't work when I try to apply it, and breaks the item that it is applying onto even when it has 100% success rate. Also, I did make sure the spaces were right, I put this in quotes as putting it in code completely messes up the format.

My config:

Potion Effect Names to pick from: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html

Enchantments:
Sniper: #Enchantment
Name: 'Sniper' #The in-game name of the enchantment
Color: '&c' #The color of the enchantment on the item
BookColor: '&c&l' #The color of the enchantment on the book
MaxPower: 4 #Max lvl the enchantment goes up to
Categories: #All the categories the Enchantment can be found in
- 'T3'
EnchantOptions: #Customizing Options for each enchantment.
ItemsEnchantable: 'Bows' #You can pick from Armor, Boots, Helmets, Axes, Swords, Weapons(Swords & Axes), and Bows.
BowOptions: #Options that only effect Bow Enchantments.
OnHit: #When the arrow Hits.
#Remove the # to use the Exploding option.
#Ground: #Options if the arrow hits the ground.
# Explode: #Options for the explosion.
# Power: 2 #The power of the explosion.
# PowerIncrease: 2 #How much each lvl will increases the strength.
# Chance: 25 #Chance of the arrow exploding.
Damaged: #The player that is attacked.
PowerIncrease: 1 #How many times the Potion Effects go up each lvl.
PotionEffects: #Effects that are added to the Damaged.
- 'HARM:1, Time:1, Chance:3'
NatureWrath: #Enchantment
Name: 'Nature Wrath' #The in-game name of the enchantment
Color: '&c' #The color of the enchantment on the item
BookColor: '&c&l' #The color of the enchantment on the book
MaxPower: 4 #Max lvl the enchantment goes up to
Categories: #All the categories the Enchantment can be found in
- 'T3'
EnchantOptions: #Customizing Options for each enchantment.
ItemsEnchantable: 'Weapons' #You can pick from Armor, Boots, Helmets, Axes, Swords, Weapons(Swords & Axes), and Bows.
WeaponOptions: #Options that only effect Sword and Axe Enchantments.
#Remove the # to use the Damager options.
#Damager: #The player with the sword.
# PowerIncrease: 1 #How many times the Potion Effects go up each lvl.
# PotionEffects: #Effects that are added to the Damager.
# - 'REGENERATION:2, Time:10, Chance:25'
Damaged: #The player that is attacked.
DamageMultiplyer: #The Damager Multipler Option.
PowerIncrease: 1 #How many times the Multiplier will go up each lvl.
Multiplyer: 2 #How many times stronger the attack is.
Chance: 5 #The chance of the multiplier happening.
#Remove the # to use the Potion options.
PowerIncrease: 1 #How many times the Potion Effects go up each lvl.
PotionEffects: #Effects that are added to the Damaged.
- 'WITHER:1, Time:7, Chance:1'
- 'POISON:1, Time:7, Chance:1'
- 'CONFUSION:1, Time:10, Chance:1'
- 'BLINDNESS:1, Time:10, Chance:1'
- 'SLOWNESS:3, Time:10, Chance:1'<

Success and Destroy rates not working

I'm not sure if this is just me but I have been having trouble getting the success and destroy rates to work. Even if it says it has a 1% chance of working it works. multiple times in a row I have put 1% and 2% on my gear and never have them break. If you could help me that wold be great!

Enchantment Glow not Staying

Hi,
I recently downloaded and installed the plugin, and I love it! However, when I put and enchantment on an item, if I close and reopen my inventory, or open my inventory after having been given an enchanted book, the items lose their enchanted glow, no matter what. I'm not sure what the error could be, and I checked the config, only to find nothing about the issue present. Please let me know how to fix this, and in the meantime, I'll just uninstall and reinstall the plugin, keeping my same config.
Thanks, Ty Howard.

Weird errors

Just one of them when I'm doing /ce lostbook for a T1 book

[17:34:02] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'ce' in plugin CrazyEnchantments v1.6.2.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[server.jar:git-Spigot-db6de12-18fbb24] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-db6de12-18fbb24] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91] at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91] Caused by: java.lang.NullPointerException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.