Configuration of lang.yml
LifeMod lang.yml – Message Customization Reference
The lang.yml file centralizes all messages displayed by LifeMod. Each section below shows the available messages, their usage, and how you can adapt them for your server.
General Messages
nopermission
%prefix%&cYou don't have permission for this.
onlyplayer
%prefix%&cYou can't execute this command on the console.
offlineplayer
%prefix%&cThis person is not connected to the server.
config-reloaded
%prefix%&aThis config has been reloaded successfully!
Update Notification:
update:
enabled: true
message: |
&dHello %player%
&bLifeMod plugin has an available update!
&eYour version: &c%current_version%
&eNew version: &a%latest_version%
&eLink: &bhttps://www.spigotmc.org/resources/report-update-lifemod-moderation-plugin-1-8-1-21.112381/
&r
&e===========================Command Messages
Fly
usage:%prefix%&cUsage: /fly <player>enabled:%prefix%&aFlight enabled for %player%!disabled:%prefix%&cFlight disabled for %player%!enabled-self:%prefix%&aYou can now fly!disabled-self:%prefix%&cYou can no longer fly!enabled-by:%prefix%&aYour flight was enabled by %player%!disabled-by:%prefix%&cYour flight was disabled by %player%!
Moderation Mode
enable:%prefix%&aModeration mod has been activated.disable:%prefix%&cModeration mod has been deactivated.
Gamemode
invalid:%prefix%&cInvalid usage. Please use : /gm or /gamemode [mode] <player>usage:%prefix%&cUsage: '/gm (/gamemode) <0|1|2|3> or /gm (/gamemode) <creative|survival|adventure|spectator <player-name>'other:%prefix%&7Game mode has been changed to &b&l%gamemode% &7for &c&l%luckperms_prefix% %player%own:%prefix%&7Your game mode has been changed to &b&l%gamemode%
Freeze
usage:%prefix%&cUsage: /freeze <player-name>.yourself:%prefix%&cYou can't freeze yourself.GUI:
title:&cYou are frozen!glass-title:&aCome on the discord!
Messages:
unfreeze.target:%prefix%&aYou have been unfrozen by %player%.unfreeze.mod:%prefix%&aYou have unfrozen %target%.freeze.mod:%prefix%&cYou have frozen %target%.onfreeze:
Broadcast
prefix:&7[&4&lAlert&7] &fusage:%prefix%&cUsage : /bc <message>tabcompleter:Hello,Welcome,Attention
Vanish
activate:%prefix%&cYou are now invisible!deactivate:%prefix%&aYou are now visible!cooldown:%prefix%§cPlease wait %cooldown% seconds before changing your invisible mode again.usage:%prefix%&cIncorrect use of the command. Usage: /vanish <player name>.
Ender Chest
usage:%prefix%&cUsage: /ecopen <player's name>yourself:%prefix%&cYou can't open your own ender chest.
Clear Inventory
message:%prefix%&bInventory deleted for &e%target%usage:%prefix%&cIncorrect use of the command. Usage: /clearinv <player name>.
Moderators List
online:%prefix%&aOnline moderators:none:%prefix%&cThere are no moderators online at the moment.
Staff Chat
usage:%prefix%&cUsage: /staffchat <message>message:&b[StaffChat] &c%player%success:%prefix%&a[StaffChat] Message sent successfully!prefix:@
Chat Clear
message:%prefix%&cThe chat has been cleared.
Heal
player:%prefix%&aYou have been healedmod:%prefix%&a%player% has been healedusage:%prefix%&cInvalid command usage. /heal [player]
Kill
target:%prefix%&cYou have been killed by %moderator%mod:%prefix%&aYou have killed &c%target%
Teleport
none:%prefix%&cThere are no players to teleport to.twoplayers:%prefix%&aYou have teleported %player1% to %player2%yourself:%prefix%&aYou can't teleport to yourselfsuccess:%prefix%&aYou have been teleported to %player%.invalidcoordinates:%prefix%&cInvalid coordinates. Please provide valid numbers for x, y, and z.usage:%prefix%&cUsage: /tp <player> or <x> <y> <z> or <player1> <player2>
tphere
usage:%prefix%&cUsage: /s <player_name>success:%prefix%&aYou have teleported %player%.
Weather
usage:%prefix%&cInvalid weather type. Use /weather sun/rain/storm.sun:%prefix%&aWeather set to clear/sun.rain:%prefix%&aWeather set to rain.storm:%prefix%&aWeather set to storm.
God Mode
activate.own:%prefix%&aYou are now invincible.activate.other:%prefix%&aYou have made %player% invincible to attackdeactivate.own:%prefix%&cYou're no longer invincible.deactivate.other:%prefix%&aYou have made %player% not invincible to attack
Inventory See
usage:%prefix%&cUsage : /invsee <playername>yourself:%prefix%&cYou can't invsee yourself.name:&cPlayer inventory %player%
Feed
yourself:%prefix%&aYou've been feed!player:%prefix%&aYou have been feed!mod:%prefix%&aYou have feed %target%.usage:%prefix%&cUsage : /feed <player>.
Speed
success:%prefix%&aYour speed has been changed to %speed%provide:%prefix%&cYou need to provide a valid speed multiplier (1 to 10)
Spectate
usage:self:&cYou can't spectate yourself!already:&cYou are already spectating. Use &e/spectate leave &cfirst.not-spectating:&cYou are not spectating anyone.player-not-found:&cPlayer &e%target% &cis not online.spectate-start:&aYou are now spectating &e%target%&a. Use &e/spectate leave &ato stop.freecam-start:&aYou are now in freecam mode. Use &e/spectate leave &ato return.spectate-leave:&aYou have left spectate mode and returned to your original location.spectate-leave-no-pos:&aYou have left spectate mode.random-success:&aYou are now spectating &e%target%&a (random).random-error:&cNo available players to spectate.back-success:&aYou are now spectating your last target: &e%target%&a.back-error:&cNo previous spectate target found.list-header:&eOnline players (click to spectate):list-player:&7- &a%player%
Otp
usage:%prefix%&cUsage: /otp <player>player-not-found:%prefix%&cPlayer %target% doesn't exist or has never connected.no-position:%prefix%&cNo saved position for %target%.teleported:%prefix%&aYou have been teleported to %target%'s last position.
Oinvsee
usage:%prefix%&cUsage : /oinvsee <player>no-inventory:%prefix%&cNo saved inventory for %target%.name:&cPlayer inventory %target%success:%prefix%&aYou are now viewing %target%'s inventory.
Hearts
success:%prefix%&a%action% %amount% hearts to %target% successfully!changed:%prefix%&aYour maximum hearts have been changed to %amount%.usage:%prefix%&cUsage: /hearts <set|add> <player> <amount>unit-info:%prefix%&7Amount is in hearts (1 heart = 2 health points).invalid-amount:%prefix%&cInvalid amount!max-reached:%prefix%&cThe player already has the maximum number of hearts!
How to Customize
Change messages for tone (formal, fun, etc.), branding, or language.
Use color codes (
&a,&c, etc.) for readability and style.Insert variables like
%player%,%target%,%prefix%, etc., for dynamic content.
Best Practices
Backup your file before editing.
Use
/lifemod reloadto apply changes without restarting the server.Keep formatting and colors consistent for clarity and accessibility.
Last updated