v1.2 Infinite Villager Trades: Security Fix and New Commands
Compatibility: Minecraft 1.21 and above (Paper/Spigot)
New Features:
Added /infinitevillager clear command to remove all infinite traders at once (requires optimizator.infinitevillager.clear permission, default: op).
Improved tab completion: /infinitevillager add shows only non-infinite online players; /infinitevillager remove shows only infinite online players.
Bug Fixes:
Fixed a security issue where non-infinite players could receive infinite trades if an infinite player interacted with the same villager beforehand. The plugin now properly manages trade limits per villager based on active infinite traders.
Improvements:
Enhanced command help and usage messages.
Better permission handling and error messages.
Configuration:
No changes to config.yml structure. Existing configurations remain compatible.
Installation:
Replace the old jar file with the new one.
Restart the server.
The plugin will automatically update permissions and commands.
This update makes the plugin more robust, secure, and user-friendly for server administrators.