EasyWhitelist - Mod for Simple Whitelist Management
This simple mod changes the operation principle of the whitelist (as well as ban lists and operator lists) from UUID-based identification to player name-based identification. This solution allows using these functions in server offline mode.
Key Features
The mod adds special commands for working in offline mode:
easywhitelist add <nickname>- add player to whitelisteasywhitelist remove <nickname>- remove player from whitelisteasyban <nickname>- ban playereasypardon <nickname>- unban playereasyop <nickname>- grant operator rightseasydeop <nickname>- revoke operator rights
Unlike the standard whitelist command, which adds nicknames in lowercase, all EasyWhitelist commands are case-sensitive.
Important Notes
Before using the mod, you need to activate the whitelist in the server.properties file. The files whitelist.json, ops.json, and banned-players.json must still contain both the player's name and UUID. The UUID can be arbitrary but must follow the correct format.
Example entry in the file:
{
"uuid": "01234567-89ab-def0-1234-56789abcdef0",
"name": "NikitaCartes"
}
Permission System
The mod provides the following access rights:
easywhitelist.commands.easywhitelist.root(root permission)easywhitelist.commands.easywhitelist.addeasywhitelist.commands.easywhitelist.remove
easywhitelist.commands.easypardoneasywhitelist.commands.easyopeasywhitelist.commands.easydeopeasywhitelist.commands.easyban