ENG Home - Avankziar/MyHomeRules GitHub Wiki
MHR or MyHomeRules is a plugin that forces players to accept the server's rules and GDPR. (If not they will be kicked).
Features
- Adjustable title when joining the player
- Multiline adjustable join message for the player. With hover and click events.
- Multiple adjustable commands (player or console) when joining with replacer for player name.
Future Feature
- Currently nothing
- Do you have an idea? Write me via Discord or pn (GitHub or Spigot)
Mechanics
CommandTree
The CommandTree is there for all commands like a tree, from bottom to top splits. Thereby the trunk forms the actual command, e.g. /money. After that follows the first argument, which can contain further arguments, which again contains further/other arguments etc.. Because of the fact that is built the same way, I used a Yaml file, the "commands.yml", which contains all commands, associated permissions, ingame suggestions and explanations (In English). All variables are completely changeable!
YamlManager & language support
The YamlManager makes sure that at the beginning everything is written correctly into the Yaml files. (As it was before). But now this will also try to add missing yaml paths. Means with updates must be regenerated almost no more the Yamls.. In addition, the plugin now supports up to 450 languages according to the ISO 639-2B form. See here. Make sure that, if a '*' is specified, this is to take.
Here are all supported languages on one image => https://www.spigotmc.org/attachments/iso639-2b-jpg.574602/