Plugin Language File¶
Default lang.yml
lang.yml
# Lang file for Fundamentals
# You can use colors like '&4' or '<red>'
started: "Started Fundamentals"
stopped: "Stopped Fundamentals"
# Player commands
# Placeholders: %player%
cmds:
# Msg
# Extra placeholders: %other%, %msg%
msg:
log: "%player% said to %other%: %msg%"
send: "&5&lYou &9-> &1&l%other%&9: &r%msg%"
receive: "&1&l%player% &9-> &5&lYou&9: &r%msg%"
# Reply (only has error messages, rest is same as msg)
reply:
none: "&cNo one to reply to!"
# Tpa/Tpahere/Tpaccept/Tpdeny/Tpacancel
# Extra placeholders: %other%
tpa:
multiple: "&cYou already have an outgoing tp request! &eCancel it with &l/tpacancel"
replaced: "&cTp request to &e&l%other%&c was replaced."
none: "&cYou have no incoming tp requests!"
expired:
log: "%player%'s request to %other% expired"
sent: "&cYour teleport request to &1&l%other%&c expired!"
receive: "&cTeleport request from &1&l%player%&c expired!"
cancelled:
log: "%player% cancelled request to %other%"
sent: "&5Cancelled outgoing request to &1&l%other%"
receive: "&cTpa request from &1&l%player%&c was cancelled!"
denied:
log: "%other% denied request from %player%"
sent: "&1&l%other%&c denied your tp request!"
receive: "&cTpa request from &1&l%player%&c was denied!"
request:
tpa:
log: "%player% sent tpa request to %other%"
sent: "&5Requested to teleport to &1&l%other%"
receive: "&1&l%player%&5 has requested to teleport to you. &eUse &l/tpaccept&e to accept this request."
tpahere:
log: "%player% sent tpahere request to %other%"
sent: "&5Requested &1&l%other%&5 to teleport here."
receive: "&1&l%player%&5 has requested you teleport to them. &eUse &l/tpaccept&e to accept this request."
accepted:
log: "%other% accepted %player%'s teleport request"
sent: "&1&l%other%&5 accepted your teleport request!"
receive: "&5Accepted &1&l%player%&5's teleport request!"
teleporting: "&eDon't move! &dTeleporting in %secs% seconds!"
# Countdown: will show in actionbar and can use %secs% placeholder
countdown: "&5Teleporting in &l%secs%&5..."
# Ignore
# Extra placeholders: %other%
ignore:
ignore:
log: "%player% ignored %other%"
send: "&5Ignored &1&l%other%!"
unignore:
log: "%player% unignored %other%"
send: "&5Stopped ignoring &1&l%other%"
# Welcome
# Extra placeholders: %other%
welcome:
log: "%player% welcomed %other%"
send: "&1%player% &5welcomes &1&l%other%&5!"
# No placeholders, error message
hasplayedbefore: "&cIt's not the player's first time!"
# Home command
home:
# /homes and /listhomes - comma separated list of homes will be appended after
list: "&5&lHomes: &e" # home1, home2, etc
nohomes: "&cYou don't have any homes."
# /home, /delhome - missing home - can use %home% name placeholder
missing: "&cYou don't have a home named '&l%home%&c'"
# Countdown for /home tp - can use %secs% placeholder
countdown: "&5Teleporting in &l%secs%&5..."
# /sethome - can use %home% name placeholder
set: "&5Successfully set a home named '&1&l%home%&5'"
setlog: "%player% created home %home%" # Can use %player% placeholder for log
conflict: "&cA home named '&l%home%&c' already exists!"
max: "&cYou cannot create more than %max% homes!" # Can use %max% for max number of homes
# /delhome - can use %home% name placeholder
deleted: "&5Successfully deleted home '&1&l%home%&5'"
deletedlog: "%player% deleted home %home%" # Can use %player% placeholder for log
# All
error: "&cUnable to load homes, please restart the server." # If homes storage fails to load
teleporting: "&eDon't move! &dTeleporting in %secs% seconds!" # Teleporting warning
# Warp command
warp:
# /warp and /listwarps - comma separated list of warps will be appended after
list: "&5&lAll warps on the server: &e" # cool_build, persons_place, etc.
nowarps: "&cThere are no warps."
# /warp, /delwarp - missing warp - can use %warp% name placeholder
missing: "&cYou don't have a warp named '&l%warp%&c'"
# Countdown for /warp tp - can use %secs% placeholder
countdown: "&5Teleporting in &l%secs%&5..."
# /setwarp - can use %warp% name placeholder
set: "&5Successfully set a warp named '&1&l%warp%&5'"
setlog: "%player% created warp %warp%" # Can use %player% placeholder for log
conflict: "&cA home named '&l%warp%&c' already exists!"
max: "&cYou cannot create more than %max% warps!" # Can use %max% for max number of warps
# /delwarp - can use %warp% name placeholder
deleted: "&5Successfully deleted warp '&1&l%warp%&5'"
deletedlog: "%player% deleted warp %warp%" # Can use %player% placeholder for log
# All
teleporting: "&eDon't move! &dTeleporting in %secs% seconds!" # Teleporting warning
# Random teleport command
rtp:
# Countdown for rtp - can use %secs% placeholder
countdown: "&5Teleporting in &l%secs%&5..."
# Teleporting warning
teleporting: "&eDon't move! &dTeleporting in %secs% seconds!"
# Not allowed in this world!
in-world-not-allowed: "&cYou can't RTP in this world!"
other-world-not-allowed: "&cYou can't RTP to that world!"
# No safe teleport location
no-safe-location: "&cCouldn't find a safe destination"
# Logs
log:
# Found a safe location, can use %attempts% placeholder
found: "Found safe location for RTP in %attempts% attempts."
# Couldn't find a safe location, can use %attempts% placeholder
failed: "Couldn't find safe location for RTP in %attempts% attempts."
# Ping command, can use %ping% and %player% placeholder
ping:
self: "&5Your ping is &d&l%ping%ms"
other: "&d%player%&5's ping is &d&l%ping%ms"
# Rules command, opens book
rules:
title: "Server Rules"
author: "Fundamentals/Server"
# Trash command and gui
trash:
# Title for inventory
title: "&5Throw away items"
# Log, can use %player%
log: "%player% opened trash gui"
# Send location to another player quickly
sendloc:
# Message to be sent as player, can use %player%, %x%, %y%, and %z% placeholders
message: "&aMy location is: &c%x% &e%y% &b%z%"
# Kills the player, can use %player% placeholder
suicide:
# Message to player
msg: "&c ... Ouch."
# Log message
log: "%player% took the hard way out"
# Seen command, can use placeholders: %player%, %year%, %monthnum%, %monthname%, %date%, %weekday%, %24hour%, %12hour%, %ampm%, %minute%, %second%
seen: "&5&lPlayer&5 was last seen on&e %monthnum%/%date%/%year%, at %12hour%:%minute%:%second% %ampm%"
# Hat command, puts item in hand on head
hat: "&5Plop!"
# Depth command, can use %depth% placeholder
depth: "&5Your current distance from sea level is: &e&l%depth%"
# Staff commands
# Placeholders: %player%, and sometimes %victim% (Player might show up as "CONSOLE" in some cases)
staffcmds:
# Broadcast
# log, staff, and player messages, can use %msg% placeholder
broadcast:
log: "%player% broadcasted: \"%msg%\""
staff: "&2&lBroadcasted message:&r %msg%"
player: "%msg%"
# BroadcastWorld
# log, staff, and player messages, can use %msg% and %world% placeholders
broadcastworld:
log: "%player% broadcasted to world %world%: \"%msg%\""
staff: "&2&lBroadcasted message to world %world%:&r %msg%"
player: "%msg%"
# Freeze
# log, staff, and player messages
freeze:
log:
start: "%player% froze %victim%!"
stop: "%player% unfroze %victim%!"
staff:
start: "&cFroze %victim%"
stop: "&cUnfroze %victim%"
player:
start: "&cYou have been frozen!"
actionbar: "&cYou are frozen"
stop: "&2You were unfrozen!"
# Invsee
# log and staff messages
invsee:
log: "%player% opened %victim%'s inventory!"
staff: "&2Opened %victim%'s inventory"
# Staffmsg
# log, staff, and player messages, can use %msg% placeholder
staffmsg:
log: "%player% staff-messaged %victim%: %msg%"
staff: "&4&lStaff &c-> &a&l%victim%&4: &r%msg%"
player: "&4&lStaff &c-> &a&lYou&4: &r%msg%"
# Staffmode
# log and staff message, %victim% placeholder only if a name was entered (/staffmode [player to spectate - not required])
staffmode:
log:
enter: "%player% entered staffmode"
exit: "%player% exited staffmode"
staff:
enter: "&bEntered staffmode"
exit: "&bExited staffmode"
addon: ", spectating %victim%"
# Feed
feed:
log: "%player% fed %victim%"
staff: "&6Fed %victim%"
# Feed
heal:
log: "%player% healed %victim%"
staff: "&6Healed %victim%"
# Gamemode
# %gm% placeholder
gamemode:
log: "%player% changed %victim%'s gamemode to %gm%"
staff: "&5Changed &d%victim%&5's gamemode to &b&l%gm%"
# Tpoffline
tpo:
log: "%player% teleported to offline player %victim%"
staff: "&5Teleported to &d%victim%&5!"
# Fly
fly:
enter:
log: "%player% entered fly!"
staff: "&5Entered fly mode!"
exit:
log: "%player% exited fly!"
staff: "&5Exited fly mode!"
# Already in a flying gamemode
gamemode: "&c%player% can already fly (gamemode)!"
# Enderchest command (staff/player)
enderchest:
log:
player: "%player% opened their enderchest."
staff: "%player% opened %other%'s enderchest."
message:
player: "&5Opened your enderchest!"
staff: "&5Opened &d%other%&5's enderchest!"
# Fundamentals command
fundamentals:
reloadconfig:
log: "%player% reloaded fundamentals config!"
staff: "&5Reloading fundamentals config..."
notice: "&eSome changes may not take effect until a server restart."
enablecommand:
log: "%player% enabled command %command%"
staff: "&5Enabled command %command%!"
state: "&c%command% is already enabled."
disablecommand:
log: "%player% disabled command %command%"
staff: "&5Disabled command %command%!"
state: "&c%command% is already disabled."
# Socialspy
socialspy:
enable:
log: "%player% enabled socialspy"
staff: "&5You can now see all private messages."
disable:
log: "%player% disabled socialspy"
staff: "&5You can no longer see all private messages"
# Can use %player%, %other%, and %msg%. Just like normal /msg command
msg: "&5&l%player% &9-> &5&l%other%&9: &r%msg%"
# Sudo command, can use %player%, %victim%, %cmd%
sudo:
log: "%player% ran command as %victim%: %cmd%"
staff: "&5Ran command as &d&l%victim%&5: &r%cmd%"
# Non-operators can't sudo operators or players with fundamentals.staff.sudo.exempt. Can use %victim%
exempt: "&cCan't sudo &e&l%victim%"
# clearchat command, can use %player%, %lines%
clearchat:
log: "%player% cleared chat (%lines% lines)"
staff: "&5Cleared chat!"
# Summons a tnt, can use %player% and %targets%
nuke:
# Log message
log: "%player% bombed %targets%"
# Staff response
staff: "&dBombed %targets%"
# Message sent to targeted players
message: "&5May death rain upon them."
# Summons a huge circle of tnt, can use %player% and %target%
bignuke:
# Log message
log: "%player% bombed %target%"
# Staff response
staff: "&dSummoned nuke at %target%"
# Renames an item, can use %player%, %item% (material name), and %name% (new name set)
rename:
# Log message
log: "%player% renamed %item% to %name%"
# Response
staff: "&5Renamed %item% to %name%!"
# Changes an items lore, can use %player%, %item% (material name), and %lore% (new lore set)
lore:
# Log message
log: "%player% changed %item% lore to %lore%"
# Response
staff: "&5Changed lore!"
# Brings item to max stack size (or 64 if non-stackable), can use %player%, %item%, %amount%, and %newamount%
more:
# Staff message on use
staff: "&5Gave you more!"
# Console message
log: "Stacked item %item% from %amount% to %newamount% for %player%"
# Skull command, can use %player%, %target% (whose skull to give)
skull:
# Message on success
staff: "&5Gave you %target%'s skull!"
# Console message on success
log: "%player% got %target%'s skull."
# Failed lookup
fail: "&cPlayer lookup failed"
# Get position command, can use %player% (executor), %victim% (player being targeted), %x% (x), %y% (y), %z% (z), %world% (current world name)
getpos: "&d&l%victim%&5 is at &e&l%x%&e, &l%y%&e, &l%z%&5 in world '&e%world%&5'"
# Smite command, can use %player% and %target%
smite:
staff: "&dThou (&e&l%target%&d) hast been smitten"
log: "%player% smite-d %target%"
# Extinguish command
extinguish:
staff: "&dExtinguished %target%"
log: "%player% extinguished %target%"
# Rest command
rest:
staff: "&dRested %target%"
log: "%player% rested %target%"
# Top command, can use %target%, %player%, %x%, %y%, %z% (block x, y, and z)
top:
staff: "&5Brought %target% up!"
log: "%player% put %target% on top block (at x %x% y %y% z %z%)"
fail: "&cCouldn't find a passable top block."
# Bottom command, can use %target%, %player%, %x%, %y%, %z% (block x, y, and z)
bottom:
staff: "&5Brought %target% down!"
log: "%player% put %target% on bottom block (at x %x% y %y% z %z%)"
fail: "&cCouldn't find a passable bottom block."
# Serverstat command, can use %online% / %max% / %version% / %memused% / %memfree% / %memtotal% / %memmax% / %worlds% / %uptime% / %tps1m% / %tps5m% / %tps15m%
serverstat: |
&5&lServer stats
&6Players:&e %online%&6/&e%max%&6
&6Version:&e %version%
&6Heap usage:&e %memused%mb / %memtotal%mb (%memfree%mb free, %memmax%mb max)
&6Worlds:&e %worlds%
&6Uptime:&e %uptime% seconds
&6TPS (1m, 5m, 15m):&e %tps1m%, %tps5m%, %tps15m%
# Whois command, can use %target% / %ip% / %port%
whois: |
&5&lInformation on %target%:
&6IP address: %ip% (port %port%)
# Extra messages
msgs:
playeronly: "&cThis command can only be run by a player."
disabled: "&cThis command is disabled."
notfound: "&cCommand not implemented."
offline: "&cPlayer is not online."
playernotfound: "&cThat player couldn't be found!"
invalid: "&cInvalid argument!"
fileerror: "&cAn error occurred and the server couldn't save that change."
readerror: "&cThe server failed to read required data from disk."
generalerror: "&cAn error occurred, please try again."
ignored: "&cThis player is ignoring you!"
self: "&cYou can't use this command on yourself!"
tpcancelled: "&cYou moved!"
cooldown: "&cYou must wait %secs% seconds before using this command again." # Can use %secs% placeholder in cooldown
noperms: "&cYou don't have permission to do that."
nullmeta: "&cThis item has invalid metadata, sorry!"
no-item: "&cYou need to hold an item!"
# Most non-command chat messages
# Can use %player% placeholder for most
chat:
# All chat
# Can use %msg% placeholder
format: "&7%player%: %msg%"
# Joins
join: "&f&l[&a&l+&f&l] &7%player%"
firstjoin: "&a&l%player% joined the server for the first time! &5Everyone welcome &1&l%player%&5!"
leave: "&f&l[&c&l-&f&l] &7%player%"
# Death message
# Can use %death% placeholder
death: "&c☠ %player% %death%"
# Messages (no placeholders)
nolinks: "&cYou can't use links in chat!"
disallowed: "&cThat's not appropriate!"
# OpChecker logging
ops:
# %cmd%, %executor%, and %player% will be replaced where applicable
# When op/deop are run from console (pretty reliable)
console:
op: "Console op'd! %cmd%"
deop: "Console deop'd! %cmd%"
# When a player runs op/deop (unreliable)
player:
op: "Player %executor% op'd! %cmd%"
deop: "Player %executor% deop'd! %cmd%"
# When the plugin detects a player has gained or lost the op permission via Bukkit API (most reliable/useful)
detect:
op: "%player% was opped!"
deop: "%player% was deopped!"
# Update checker logging
update-checker:
# Update found message, can use %cur% for current plugin version, %new% for the newest version, and %url% for the update url
found: |
&bUpdate found!
&5Current version: &l%cur%
&dLatest: &l%new%
&eDownload it at:
%url%
# Shown after the found message, only when checking (not when already running /fundamentals update)
hint: "&eYou can run &6/fundamentals update &eto download it automagically."
# Can use %mc% for the server's Minecraft version and %cur% for the current plugin version
unknown-version: "&cUnknown plugin/server version! MC: %mc% Fundamentals: %cur%"
already-running: "&eAn update check is already running."
# Can use %code% for the HTTP status code
http-error: "&cChecking for update failed! Received HTTP status code %code%"
none-compatible: "&eNo compatible version(s) found on Modrinth."
up-to-date: "&aNo updates available :)"
# Can use %error% for the reason
check-failed: "&cChecking for update failed: %error%"
# Can use %new% for the version that's staged
already-downloaded: "&eVersion &l%new% &eis already downloaded. Restart the server to apply it."
downloading: "&eDownloading version &l%new%&e..."
downloaded: "&aUpdate &l%new% &adownloaded and verified. Restart the server to apply it."
interrupted: "&cUpdate download was interrupted."
# Can use %error% for the reason
failed: "&cUpdate failed: %error%"
Note
At the time of writing this, Fundamentals currently doesn't replace any configuration files when updating to a newer version. Options may be missing and use defaults without notice or warning. This is currently TODO.
Fundamentals allows you to configure almost every message from commands or checks by modifying its key in lang.yml