ImageFrame
ImageFrame copied to clipboard
[Feature] Add a toggle to disable animated maps (or just for Bedrock players)
Animated maps currently crash my Velocity proxy when using Geyser. It's probably overloading the server translating the packets. Can you add a hook into Floodgate to check if a player is on Bedrock, and disable the map's playback? Or add a bool value to disable the animated maps entirely.
Can confirm this also happens on a Paper server. The exact problem is Geyser has an out of memory exception when parsing the packets for map data. This can be implemented using the Geyser API and a simple if statement. Gradle and Maven repository information can be found at https://wiki.geysermc.org/geyser/getting-started-with-the-api/
@EventHandler
fun onPlayerJoin(event: PlayerJoinEvent) {
if (GeyserApi.api().isBedrockPlayer(event.player.uniqueId)) println("${event.player.name} is a Bedrock player")
}