Crazy-Crew / CrazyCrates

Add unlimited crates to your server with 10 different crate types to choose from!
https://modrinth.com/plugin/crazycrates
MIT License
152 stars 154 forks source link

Players cant open chests #8

Closed cprenaveau closed 8 years ago

cprenaveau commented 8 years ago

https://youtu.be/Y48QSpiHRhY

badbones69 commented 8 years ago

Strange. There mite be a error in console. Check to see if there is on. Also if that happens a quick fix is to just reload the server, Restart, or if you use the plugin PlugMan do /plugman reload crazycrates and these will fix it.

cprenaveau commented 8 years ago

Still not working here is my log when i try to open crates:

09.06 17:56:29 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60] 09.06 17:56:29 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60] 09.06 17:56:29 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60] 09.06 17:56:29 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60] 09.06 17:56:29 [Server] INFO at me.BadBones69.CrazyCrates.CC.onCrateOpen(CC.java:119) ~[?:?] 09.06 17:56:29 [Server] INFO at me.BadBones69.CrazyCrates.CC.openCrate(CC.java:145) ~[?:?] 09.06 17:56:29 [Server] INFO at me.BadBones69.CrazyCrates.CrateTypes.CSGO.openCSGO(CSGO.java:72) ~[?:?] 09.06 17:56:29 [Server] INFO at me.BadBones69.CrazyCrates.Api.color(Api.java:82) ~[?:?] 09.06 17:56:29 [Server] INFO at org.bukkit.ChatColor.translateAlternateColorCodes(ChatColor.java:324) ~[spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO Caused by: java.lang.NullPointerException 09.06 17:56:29 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60] 09.06 17:56:29 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:714) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60] 09.06 17:56:29 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60] 09.06 17:56:29 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:52) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:759) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerInteractManager.interact(PlayerInteractManager.java:463) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:227) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-BT42-1.8.8.jar:git-Spigot-fdc1440-53fac9f] 09.06 17:56:29 [Server] INFO org.bukkit.event.EventException 09.06 17:56:29 [Server] ERROR Could not pass event PlayerInteractEvent to CrazyCrates v1.5.9 09.06 17:56:28 [Server] INFO Gamerframed issued server command: /cc give P Rare 1 Gamerframed

badbones69 commented 8 years ago

It seams one of your CSGO crates are missing the name thing in the Crates config file.

cprenaveau commented 8 years ago

Here are my files http://pastebin.com/9ZdeZy85 http://pastebin.com/Pc4479XH http://pastebin.com/xzf6tLCu http://pastebin.com/imA0Nk4X

badbones69 commented 8 years ago

Like I said your missing this line in your files. https://github.com/kicjow/Crazy-Crates/blob/master/Crates/Basic.yml#L3