v0.5.7
This is a minor update that fixes various issues and adds new functionalities.
Game version: v1.21.50
Added
- Added getter and setter for name tags and score tags in the
Actor
class. - Added the
Actor::getType
function to retrieve actor types (e.g.,minecraft:pig
). - Added
isNameTagAlwaysVisible
andsetNameTagAlwaysVisible
methods to theActor
class to control the visibility of
name tags. - Implemented
/ban-ip
and/unban-ip
commands. - Added
Server::getIpBanList
for managing IP bans. - Added setters for fields in
ServerListPingEvent
by @theaddonn. - Added a new color code (
§v
).
Fixed
- Prevented a crash caused by killing a player in a form callback, which invalidated the player object.
- Fixed an issue where the player inventory was not updated after calling
clear
. - Fixed loading of encrypted resource packs.
- Ensured the correct plugin loader is selected when loading from a file by third-party plugin loaders
by @engsr6982. - Ensured players with matching IP addresses are immediately kicked upon banning.
Changed
- Renamed
Server::getPlayerBanList
toServer::getBanList
. - Removed deprecated material from DevTools by @smartcmd.