LabyMod doesnt register plugin channel correctly
L3nnart_
2023-07-22 22:35:03Descrizione
LabyMod doesnt register pluginchannel right - a sneaky workaround is to register it via the craftplayer
[22:22:25 INFO]: [PluginChannelTest] [STDOUT] PlayerRegisterChannelEvent: legacy:fml
[22:22:25 INFO]: [PluginChannelTest] [STDOUT] PlayerRegisterChannelEvent: legacy:redisbungee
[22:22:25 INFO]: [PluginChannelTest] [STDOUT] PlayerRegisterChannelEvent: legacy:fml|hs
[22:22:25 INFO]: [PluginChannelTest] [STDOUT] PlayerRegisterChannelEvent: legacy:forge
[22:22:25 INFO]: [PluginChannelTest] [STDOUT] PlayerRegisterChannelEvent: BungeeCord
[22:22:25 INFO]: [PluginChannelTest] [STDOUT] Received message from L3nnart_ with key INFO and content {"version":"4.0.4"}
-> register channel here for player if detectet labymod (Craftplayer#addChannel("labymod3:main")) and then send your stuff like;
[22:22:25 INFO]: [PluginChannelTest] [STDOUT] #sendLabyModMessage Sending message to L3nnart_ with key server_gamemode and content {"show_gamemode":true,"gamemode_name":"GAMEMODE"}
Operating System: Linux
LabyMod Version: 4.0.4
Minecraft Version: 1.20.1