Open hbarreau opened 6 years ago
I think you are creating a client-side mod.
Apart from that, the problem is that the minecraft client always stays connected to the same server (the bungee) and then the event is fired only when you connect from the multiplayer menu.
From the client perspective you're only changing world (like with nether portals).
You could try using net.minecraftforge.fml.common.gameevent.PlayerEvent.PlayerChangedDimensionEvent
or in alternative you could try to listen to respawn event (although I suggest using the former).
Hello, I am working on a Minecraft mod with Forge that modifies the game Discord status according to the seveur. So I did an event in my mod: FMLNetworkEvent.ClientConnectedToServerEvent This event fires well and changes my status when I log in from the multiplayer menu. But when I change my server via Bungeecord, it does not work, the event is not called. Do you know why ? Where can I find this part of BungeeCord? Thank you