gronnmann / coinflipper Goto Github PK
View Code? Open in Web Editor NEW50/50 chance. Winner takes everything. Do you dare?
Home Page: https://www.spigotmc.org/resources/coinflipper.33916/
License: Other
50/50 chance. Winner takes everything. Do you dare?
Home Page: https://www.spigotmc.org/resources/coinflipper.33916/
License: Other
[19:07:30 ERROR]: Could not pass event InventoryClickEvent to CoinFlipper v2.92
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[server.jar:git-TacoSpigot-bf023c7d]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1662) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-TacoSpigot-bf023c7d]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_282]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_282]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:808) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:747) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:645) [server.jar:git-TacoSpigot-bf023c7d]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
Caused by: java.lang.NullPointerException
[19:07:31 ERROR]: Could not pass event InventoryClickEvent to CoinFlipper v2.92
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[server.jar:git-TacoSpigot-bf023c7d]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1662) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-TacoSpigot-bf023c7d]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_282]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_282]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:808) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:747) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:645) [server.jar:git-TacoSpigot-bf023c7d]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
Caused by: java.lang.NullPointerException
[19:07:31 ERROR]: Could not pass event InventoryClickEvent to CoinFlipper v2.92
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[server.jar:git-TacoSpigot-bf023c7d]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1662) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-TacoSpigot-bf023c7d]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_282]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_282]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:808) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:747) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:645) [server.jar:git-TacoSpigot-bf023c7d]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
Caused by: java.lang.NullPointerException
[19:07:31 ERROR]: Could not pass event InventoryClickEvent to CoinFlipper v2.92
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[server.jar:git-TacoSpigot-bf023c7d]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1662) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-TacoSpigot-bf023c7d]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_282]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_282]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:808) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:747) [server.jar:git-TacoSpigot-bf023c7d]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:645) [server.jar:git-TacoSpigot-bf023c7d]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
Caused by: java.lang.NullPointerException
A new nag from Paper shows this message in console:
[17:57:38] [Server thread/INFO]: [CoinFlipper] Enabling CoinFlipper v2.92*
[17:57:38] [Server thread/INFO]: [CoinFlipper] [STDOUT] [CoinFlipper] Connecting to SQLite...
[17:57:38] [Server thread/WARN]: Nag author(s): '[gronnmann]' of 'CoinFlipper' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).
Thought it would be a pretty cool idea. I may be down to write this myself if you'd like.
Basically after a certain interval something would be broadcasted like "CF started!", which be automatically done by console or something, with a random amount.
Paperspigot: 1.12.2 (Build 1618(Latest))
Coinflipper: 2.92
When a player puts up a coinflip and leaves the coinflip does not get removed and if another player accepts the coinflip and wins they will only get their own money; if the offline players wins neither will get their money
Video of the issue
https://youtu.be/5-L5yTuZmds
[12:35:49] [Server thread/ERROR]: Could not pass event InventoryClickEvent to CoinFlipper v2.1org.bukkit.event.EventExceptionat org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1657) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_141]at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_141]at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]Caused by: java.lang.NullPointerExceptionat io.github.gronnmann.coinflipper.gui.SelectionScreen.detectClicks(SelectionScreen.java:288) ~[?:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_141]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_141]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_141]at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_141]at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]... 16 more
https://pastebin.com/raw/CpBKxeTZ
Running CoinFlipper 2.7
Running Paper 1.16.4 Build 294.
PS: How does one go about building this plugin?
Not your standard setup it seems, no pom.xml and all.
Hello,
Can you update the compatibility with CombatLogX to the latest update? Because it is no longer compatible with the last dev-build of CombatlogX.
https://github.com/gronnmann/CoinFlipper/blob/master/src/io/github/gronnmann/coinflipper/hook/HookCombatLogX.java
Error: [16:22:39] [Server thread/INFO]: [CoinFlipper] CombatLogX detected. Hooking...
[16:22:39] [Server thread/ERROR]: Error occurred while enabling CoinFlipper v2.92 (Is it up to date?)
java.lang.NoClassDefFoundError: com/SirBlobman/combatlogx/api/ICombatLogX
at io.github.gronnmann.coinflipper.hook.HookCombatLogX.register(HookCombatLogX.java:21) ~[?:?]
at io.github.gronnmann.coinflipper.hook.HookManager.setHooked(HookManager.java:81) ~[?:?]
at io.github.gronnmann.coinflipper.hook.HookManager.registerHooks(HookManager.java:56) ~[?:?]
at io.github.gronnmann.coinflipper.CoinFlipper.onEnable(CoinFlipper.java:60) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[GemSpigot.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [GemSpigot.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:398) [GemSpigot.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:363) [GemSpigot.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:322) [GemSpigot.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:445) [GemSpigot.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:409) [GemSpigot.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:364) [GemSpigot.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:285) [GemSpigot.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:615) [GemSpigot.jar:git-TacoSpigot-fd3209f3]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]
Caused by: java.lang.ClassNotFoundException: com.SirBlobman.combatlogx.api.ICombatLogX
at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_275]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:102) ~[GemSpigot.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[GemSpigot.jar:git-TacoSpigot-fd3209f3]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_275]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_275]
... 15 more
[16:22:39] [Server thread/INFO]: [CoinFlipper] Disabling CoinFlipper v2.92
Poke @SirBlobman
Thanks you :)
Best regards,
Running CoinFlipper 2.42 and paperspigot 1.8.8, starting a game spammed the console with this error:
[16:38:23 WARN]: [CoinFlipper] Task #50775 for CoinFlipper v2.42 generated an exception
java.lang.Error: Unresolved compilation problem:
The method isInCombat(Player) is undefined for the type CombatUtil
at io.github.gronnmann.coinflipper.hook.HookCombatLogX.isTagged(HookCombatLogX.java:18) ~[?:?]
at io.github.gronnmann.coinflipper.hook.HookManager.isTagged(HookManager.java:97) ~[?:?]
at io.github.gronnmann.coinflipper.animations.AnimationRunnable.run(AnimationRunnable.java:58) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:783) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched.jar:git-PaperSpigot-"4c7641d"]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
The game never starts/completes so the two players involved can't compete in any other games, as they are technically still in a game.
1.15 support please
If game is in progress and server shuts down both users lose money.
Instead, the shutdown process of CoinFlipper should allow all current games to finish before disabling plugin.
LOG:
https://pastebin.com/mVLabKr9fbclid=IwAR2aPPCFQPQH2d1u5Xs5KKgHRoESNtMMiTCFvN0TsRqSwcRosEZVnKoUl2k
Version:
CoinFlipper: 2.4_3
CombatLogX: 9.9.2.1
New update (4.0.0+) changed the API code
The new code is now Combat.isInCombat(player);
When a user creates a bet he does not win, that the amount of money is returned formatted; Example 4k, 4M 4B, etc
Sorry, my english is so bad.
A lot of thanks!
This is the error via the console.
.... [19:31:12 WARN]: [CoinFlipper] Task #17487 for CoinFlipper v2.7 generated an exception
java.lang.NoClassDefFoundError: com/SirBlobman/combatlogx/utility/CombatUtil
at io.github.gronnmann.coinflipper.hook.HookCombatLogX.isTagged(HookCombatLogX.java:18) ~[?:?]
at io.github.gronnmann.coinflipper.hook.HookManager.isTagged(HookManager.java:108) ~[?:?]
at io.github.gronnmann.coinflipper.animations.AnimationRunnable.run(AnimationRunnable.java:54) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.3.jar:git-Tuinity-"ef4e59a"]
at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.3.jar:git-Tuinity-"ef4e59a"]
at net.minecraft.server.v1_16_R2.MinecraftServer.b(MinecraftServer.java:1354) ~[patched_1.16.3.jar:git-Tuinity-"ef4e59a"]
at net.minecraft.server.v1_16_R2.DedicatedServer.b(DedicatedServer.java:376) ~[patched_1.16.3.jar:git-Tuinity-"ef4e59a"]
at net.minecraft.server.v1_16_R2.MinecraftServer.a(MinecraftServer.java:1267) ~[patched_1.16.3.jar:git-Tuinity-"ef4e59a"]
at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:999) ~[patched_1.16.3.jar:git-Tuinity-"ef4e59a"]
at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.3.jar:git-Tuinity-"ef4e59a"]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
MySQL has been enabled, ip, port, database, username and password has been configured yet it connects still to my internet ip instead of to the hosting provider.
Occurs when any player sends a message to chat. Haven't noticed anything other than this error.
[23:03:26 ERROR]: Could not pass event AsyncPlayerChatEvent to CoinFlipper v2.42
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:499) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.PlayerConnection.chat(PlayerConnection.java:1111) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1026) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.PacketPlayInChat$1.run(PacketPlayInChat.java:39) [patched.jar:git-PaperSpigot-"4c7641d"]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_212]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Caused by: java.lang.Error: Unresolved compilation problems:
The constructor ComponentBuilder(TextComponent) is undefined
The method append(String) in the type ComponentBuilder is not applicable for the arguments (TextComponent)
at io.github.gronnmann.coinflipper.gui.configurationeditor.messages.MessageEditor.handleEditing(MessageEditor.java:215) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_212]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_212]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_212]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_212]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[patched.jar:git-PaperSpigot-"4c7641d"]
... 12 more
[23:03:26 INFO]: ***aaa Owner » Anarchist: t
This error is displayed in the console when any player tries to join an already created game:
Could not pass event InventoryClickEvent to CoinFlipper v2.92
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:2277) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.PacketPlayInWindowClick.a(SourceFile:32) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.PacketPlayInWindowClick.a(SourceFile:10) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:942) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:935) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeAll(SourceFile:103) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:918) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:851) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_212]
at java.lang.Integer.parseInt(Integer.java:592) ~[?:1.8.0_212]
at java.lang.Integer.parseInt(Integer.java:615) ~[?:1.8.0_212]
at io.github.gronnmann.utils.coinflipper.GeneralUtils.getIntInString(GeneralUtils.java:10) ~[?:?]
at io.github.gronnmann.coinflipper.gui.SelectionScreen.detectClicks(SelectionScreen.java:173) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_212]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_212]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_212]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_212]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.16.4.jar:git-Spigot-ff439d1-ff2b944]
... 18 more
Convert fails, and I was directed to console, where I saw this:
[23:00:12 INFO]: Anarchist issued server command: /coinflipper convert
[23:00:12 WARN]: java.lang.NullPointerException
[23:00:12 WARN]: at io.github.gronnmann.coinflipper.stats.StatsManager.convertToSQLite(StatsManager.java:160)
[23:00:12 WARN]: at io.github.gronnmann.coinflipper.CommandsManager.onCommand(CommandsManager.java:169)
[23:00:12 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[23:00:12 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146)
[23:00:12 WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666)
[23:00:12 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1189)
[23:00:12 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1001)
[23:00:12 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
[23:00:12 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
[23:00:12 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
[23:00:12 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[23:00:12 WARN]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[23:00:12 WARN]: at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
[23:00:12 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774)
[23:00:12 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378)
[23:00:12 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713)
[23:00:12 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616)
[23:00:12 WARN]: at java.lang.Thread.run(Thread.java:748)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.