Bug Closed · Resolved

Dungeons not playing when other party plugins exist

#3836 opened by Unknown 3 years ago

Unknownreported this bug

Downloaded mmocore or other party plugins and now i am unable to launch any dungeons. i can edit them etc just fine but if i try to play them the console is spammed with this ive set the party handler to mmocore and everything but it refuses to play any dungeons. this happens on every single version for me

26.01 03:34:01 [Server] [INFO] org.bukkit.command.CommandException: Unhandled exception executing command 'md' in plugin MythicDungeons v1.1.2-SNAPSHOT 26.01 03:34:01 [Server] [INFO] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?] 26.01 03:34:01 [Server] [INFO] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:172) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?] 26.01 03:34:01 [Server] [INFO] at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(CraftServer.java:906) ~[purpur-1.18.2.jar:git-Purpur-1632] 26.01 03:34:01 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCommand(ServerGamePacketListenerImpl.java:2390) ~[?:?] 26.01 03:34:01 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2201) ~[?:?] 26.01 03:34:01 [Server] [INFO] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleChat(ServerGamePacketListenerImpl.java:2182) ~[?:?] 26.01 03:34:01 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundChatPacket.handle(ServerboundChatPacket.java:46) ~[?:?] 26.01 03:34:01 [Server] [INFO] at net.minecraft.network.protocol.game.ServerboundChatPacket.a(ServerboundChatPacket.java:6) ~[?:?] 26.01 03:34:01 [Server] [INFO] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?] 26.01 03:34:01 [Server] [INFO] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.18.2.jar:git-Purpur-1632] 26.01 03:34:01 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?] 26.01 03:34:01 [Server] [INFO] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?] 26.01 03:34:01 [Server] [INFO] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1427) ~[purpur-1.18.2.jar:git-Purpur-1632] 26.01 03:34:01 [Server] [INFO] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188) ~[purpur-1.18.2.jar:git-Purpur-1632] 26.01 03:34:01 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?] 26.01 03:34:01 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1404) ~[purpur-1.18.2.jar:git-Purpur-1632] 26.01 03:34:01 [Server] [INFO] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1397) ~[purpur-1.18.2.jar:git-Purpur-1632] 26.01 03:34:02 [Server] [INFO] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?] 26.01 03:34:02 [Server] [INFO] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1375) ~[purpur-1.18.2.jar:git-Purpur-1632] 26.01 03:34:02 [Server] [INFO] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1257) ~[purpur-1.18.2.jar:git-Purpur-1632] 26.01 03:34:02 [Server] [INFO] at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:321) ~[purpur-1.18.2.jar:git-Purpur-1632] 26.01 03:34:02 [Server] [INFO] at java.lang.Thread.run(Thread.java:831) ~[?:?] 26.01 03:34:02 [Server] [INFO] Caused by: java.lang.NullPointerException: Cannot invoke "net.playavalon.mythicdungeons.player.party.DungeonParty.getPlayers()" because "party" is null 26.01 03:34:02 [Server] [INFO] at net.playavalon.mythicdungeons.MythicDungeons.sendToDungeon(MythicDungeons.java:1653) ~[MythicDungeons-1.1.2-SNAPSHOT.jar:?] 26.01 03:34:02 [Server] [INFO] at net.playavalon.mythicdungeons.MythicDungeons.onCommand(MythicDungeons.java:715) ~[MythicDungeons-1.1.2-SNAPSHOT.jar:?] 26.01 03:34:02 [Server] [INFO] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]

Unknowncommented

Hello there. What is your "PartyPlugin" set to in config.yml? Is it the default "DungeonParties" or is it one of the other ones, like MMOCore?

Unknowncommented

i have it set to mmocore but ive tried other plugins like parties which i set it to that. any time any other party plugin exists the party registers as null and it wont let me play any dungeons, i can edit etc just fine but it wont let me play them even though i have it all setup in the config

if i set it to default "DungeonParties" it also refuses to work unless i uninstall all other plugins with a party function (heres what the config.yml looks like) [Legacy attachment omitted]

Unknowncommented

Ahhh, I think I have an idea of what's going on here... Please try "MMOCore" instead of "mmocore". I am 90% sure it is case sensitive looking at this code. I will fix that in the next dev build once you have tried that and confirmed it.

Unknowncommented

yep that works thank you! i had to restart the server and change it to caps

Unknowncommented

Great! Glad that fixed it. That's still a good catch. It shouldn't be a problem in future dev builds I release, but at least it's fixed for you. :)

Sign in to join the discussion.