Changelog:
- Port to 1.21
Changelog:
- Port to 1.20.6
Major rewrite!
- completely changed the way this works: No more caching, since the server has the texture - so we get it from the server!
- compatible with FabricTailor (and other skin changing mods)
- more customization possible in new config
- added option to drop heads of fake players (e.g. NPCs or fake carpet players) when they are killed. With this version, fake players should not drop their heads upon death
New config options:
- debug mode to make my life easier
- option to disable the inclusion of the Floodgate prefix in the head names
- option to enable a "/getskull" command to get bedrock & java player heads.
- option to change the permission level necessary to use the command
Fixes:
- actually cache the player's skin file; atleast until the server restarts
/getskull:
- an optional command - you can set the permission level in the config, default is 2. 0 would be everyone, 4 is OP's only. Or disable the command entirely!
- /getskull [javaname]: gets you any java players' skull
- /getskull bedrock [bedrockplayer]: gets you a skull from a Bedrock player. Due to how this works, they absolutely NEED to have joined ANY geyser+floodgate server recently. Otherwise, i can't get the skin data from the Geyser API
- autocomplete (java only) for both bedrock, and java players!
- spelling for [bedrockplayers] does not matter - it is not case sensitive. You can, but don't have to include a prefix - you will get the skull with the name you have inputted
NOTE: due to Geyser not translating fabric command suggestion packets properly on Geyser-Standalone, you might get an error similar to
[20:30:14.927 nioEventLoopGroup-4-1/WARN] Downstream packet error! Value 48 has no mapping for key class com.github.steveice10.mc.protocol.data.game.command.CommandParser.
I can't do anything about this - if you do not like it, either filter the logs with a log filter plugin, OR disable the command in the config. This shouldn't affect you if you're running fabric behind Velocity.
Added:
- config option: You can now turn off getting heads from deaths that weren't caused by another player. This is turned on by default
- fixed: checking for floodgate mod presence shouldn't produce errors now when floodgate not installed
Initial release. Tested for ~2 weeks now.