Player Kick

Discussion in 'Spigot Plugin Help' started by Alexisnotgood, Jun 23, 2021.

  1. I need help because one of my players get kick 1 millisecond after they join their crash log is this: ERROR Could not pass event PlayerQuitEvent to Hardcorelivesplugin v1.2.1
    23.06 15:36:53 [Server] INFO java.lang.NullPointerException: Cannot invoke "com.voxelbuster.hardcorelivesplugin.ConfigManager$PlayerData.getLives()" because the return value of "com.voxelbuster.hardcorelivesplugin.ConfigManager.getPlayerData(org.bukkit.entity.Player)" is null
    23.06 15:36:53 [Server] INFO at com.voxelbuster.hardcorelivesplugin.HardcoreLivesPlugin.updateScoreboard(HardcoreLivesPlugin.java:536) ~[?:?]
    23.06 15:36:53 [Server] INFO at com.voxelbuster.hardcorelivesplugin.HardcoreLivesPlugin.updateScoreboard(HardcoreLivesPlugin.java:520) ~[?:?]
    23.06 15:36:53 [Server] INFO at com.voxelbuster.hardcorelivesplugin.event.PluginEventHandler.onPlayerQuit(PluginEventHandler.java:99) ~[?:?]
    23.06 15:36:53 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor23.execute(Unknown Source) ~[?:?]
    23.06 15:36:53 [Server] INFO at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.jar:git-Paper-43]
    23.06 15:36:53 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.17.jar:git-Paper-43]
    23.06 15:36:53 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.jar:git-Paper-43]
    23.06 15:36:53 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.17.jar:git-Paper-43]
    23.06 15:36:53 [Server] INFO at net.minecraft.server.players.PlayerList.disconnect(PlayerList.java:599) ~[patched_1.17.jar:git-Paper-43]
    23.06 15:36:53 [Server] INFO at net.minecraft.server.network.ServerGamePacketListenerImpl.onDisconnect(ServerGamePacketListenerImpl.java:1890) ~[?:?]
    23.06 15:36:53 [Server] INFO at net.minecraft.network.Connection.handleDisconnection(Connection.java:566) ~[?:?]
    23.06 15:36:53 [Server] INFO at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:216) ~[?:?]
    23.06 15:36:53 [Server] INFO at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1576) ~[patched_1.17.jar:git-Paper-43]
    23.06 15:36:53 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:477) ~[patched_1.17.jar:git-Paper-43]
    23.06 15:36:53 [Server] INFO at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1404) ~[patched_1.17.jar:git-Paper-43]
    23.06 15:36:53 [Server] INFO at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1180) ~[patched_1.17.jar:git-Paper-43]
    23.06 15:36:53 [Server] INFO at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[patched_1.17.jar:git-Paper-43]
    23.06 15:36:53 [Server] INFO at java.lang.Thread.run(Thread.java:831) [?:?]
    the plugin is hardcore lives https://www.spigotmc.org/resources/hardcore-lives-plugin.79254/
     
  2. Code (Text):
    23.06 15:36:53 [Server] INFO java.lang.NullPointerException: Cannot invoke "com.voxelbuster.hardcorelivesplugin.ConfigManager$PlayerData.getLives()" because the return value of "com.voxelbuster.hardcorelivesplugin.ConfigManager.getPlayerData(org.bukkit.entity.Player)" is null
    It seems the plugin is trying to get a value from the config that is returning null. I would remove the plugin for the time being, if possible, and contact the resource author for further assistance.

    Not much we can do here.
     
    • Like Like x 4
    • Winner Winner x 2
  3. This author confirmed no activity on the spigot for 21 weeks. It is recommended to use other plugins
     
    • Agree Agree x 1