This mod allows owners of BDS managed by LeviLamina create ranks (privileges) with which you can determine the commands available to the player. It also provides formatting for the player's game chat and scoretag.
The mod is controlled by making configuration changes. You can assign a rank to a player both in the console and in the game using the setrank
command.
For each rank, you can make your own format for sending a message by the player using the rank configuration. To do this, you need to change the chat field of the desired rank. The value (text) of this field supports the following variables:
- Rank prefix: {prefix}
- Player's nickname: {playerName}
- A message sent by the player to the chat: {message}
For each rank, you can make your own player's scoretag format. To do this, you need to change the scoreTag field of the desired rank. The value (text) of this field supports only one variable {prefix} (rank prefix)
And under the hood we have:
- Optimized and high-speed code in C++
- Language Configuration Manager (used by i18n). Folder with languages - languages
- JSON type rank configuration manager. The name of the configuration file is ranks.json
- Manager of the main configuration of the JSON type mod. The name of the configuration file is config.json
- Database management manager of the SQLite3 type. It stores player data, namely, the player's nickname his XUID and rank
- The main manager of the mod, registering the
addrank
andsetrank
commands, as well as managing the issue of rank to the player - Hooks, one of which modifies the contents of the
AvailableCommandsPacket
when it is sent