The config.yml file lets you control all messages, notifications, and item names/descriptions for LifeMod. You can adapt every message to your community’s style, language, and branding.
1. General Prefix & Error Messages
All messages use a prefix for branding.
prefix:"&7[&6Moderation&7] &f» "
Change this to fit your server’s name and color scheme.
Error messages:
user-error:"&cOops! An error occurred: &e%context%"user-help:"&7If this keeps happening, contact an admin or check your config."admin-error:"&8[Debug] Error: %error% - %message%"admin-location:"&8[Debug] At: %location%"
%context%, %error%, %message%, and %location% are dynamic variables for context.
2. Chat Moderation
Chat notifications for forbidden words:
chatManager:notification:"&c%player% attempted to send a forbidden word !"enabled:trueblacklist:-fuck-bitch-suck
Add or remove words from the blacklist as needed.
Edit the notification to match your moderation tone.
3. Command Activation/Deactivation
Disable any command by setting it to false:
For information, when you disable a command, the command is COMPLETELY disabled, so you can replace a command such as vanish with another command because the way the commands work is that if a command is disabled, it is disabled at the root level.
Deactivation message:
Edit this message for clarity or humor.
4. Moderation Items (GUI Tools)
Each moderation tool can be renamed, recolored, or described differently:
Tool
Name Example
Description Example
Inventory
&bInventory Viewer
&7Right-click a player to view their inventory.
Freeze
&bFreeze Player
&7Right-click a player to freeze or unfreeze them.
Random TP
&bRandom Teleport
&7Right-click to teleport to a random player.
Vanish
&bVanish
&7Right-click to toggle vanish mode.
Kill
&cKill Player
&7Right-click a player to instantly kill them.
KB Tester
&eKnockback Tester
&7Test knockback on players.
CPS Tester
&bCPS Tester
&7Clique sur un joueur pour tester ses CPS !
Change the name and description fields to match your server’s language and style.
Adjust material, slot, and customModelData as needed.
5. Command Usage & Help
Usage message for /lifemod:
Help menu (GUI):
Customize the help title, item names, and lore for clarity and branding.
6. Plugin & Server Info
Plugin info (with variables):
Edit lines or add new variables as needed.
Server info:
7. Discord Integration
Webhook URL:
Set your Discord webhook for alerts and notifications.
8. Command Alerts (Broadcast, Feed, Fly, etc.)
Each command can send a formatted alert, using variables like %player% and %message%:
Example for /broadcast:
Change the title, description, and color for each command.
Use %player% and %message% for dynamic content.
The logo can use the player’s Minecraft avatar.
Other commands (fly, freeze, heal, etc.) follow the same structure.
9. Dynamic Variables
You can use variables such as:
%player% (executing player)
%message% (message content)
%context% (context content for debug errors)
Always test your changes after editing to ensure variables display correctly.
10. Best Practices
Backup your lang.yml before editing.
Use /lifemod reload to apply changes without restarting.
Keep colors and formatting consistent for a professional look.
Adjust messages for accessibility (readable colors, clear language).
This structure allows you to fully personalize LifeMod’s messages, GUI, and notifications to fit your server’s identity and community needs, using real, editable examples from your configuration.