Skip to main content

messages.yml

The messages.yml file contains the text sent by the plugin to players and admins.

Use this file to translate the plugin, change command help, or make messages match your server style.

Formatting

Messages support color tags and line breaks.

Examples:

<green>Success message
<red>Error message
<br>New line

Keep messages short and clear. Players should understand what happened and what they can do next.

Command messages

cmd:
help_main: "..."
player_only: "<red>This command can only be used by a player."
invalid_location: "<red>Invalid location. Use <yellow>/graves graveyard set [world x y z yaw pitch]"
world_not_found: "<red>World <yellow>%world%</yellow> not found."
KeyUsed when
cmd.help_mainA player runs /graves help or an incomplete command.
cmd.player_onlyThe console uses a command that requires a player.
cmd.invalid_locationThe graveyard location format is wrong.
cmd.world_not_foundThe world name used in the command does not exist.

Graveyard messages

graveyard:
graveyard_set: "<green>Graveyard set at <yellow>%world% %x% %y% %z%"
graveyard_not_set: "<red>The graveyard is not set."
graveyard_teleported: "<green>Teleported to the graveyard."
graveyard_respawn: "<yellow>You respawned at the graveyard."
KeyUsed when
graveyard.graveyard_setAn admin sets the graveyard.
graveyard.graveyard_not_setA player tries to teleport to a graveyard that is not configured.
graveyard.graveyard_teleportedA player teleports to the graveyard with /graves graveyard tp.
graveyard.graveyard_respawnA player respawns at the graveyard after death.

Available placeholders for graveyard.graveyard_set:

PlaceholderMeaning
%world%Graveyard world.
%x%X coordinate.
%y%Y coordinate.
%z%Z coordinate.

Permission and command errors

cmd_error:
no_pex: "<red>Hey ! You can't use this command !"
command_not_found: "<red>There was a problem executing the command, try again."
KeyUsed when
cmd_error.no_pexThe sender does not have permission.
cmd_error.command_not_foundThe command could not be handled.

Grave messages

grave:
open_cost: "<red>To open this grave you need %amount%$"
open_pay: "<yellow> You've paid %amount%$ to open this grave"

These messages are used when Vault economy support is active and opening a grave has a price.

Available placeholders:

PlaceholderMeaning
%amount%Price to open the grave.
%cost%Same as %amount%.
%money%Same as %amount% in this message.

Decoration messages

success:
decoration_changed: "<gold>You have set your decoration to <yellow>%decoration%"

Available placeholders:

PlaceholderMeaning
%decoration%Name of the selected decoration.

Hologram messages

hologram:
grave_unlocked: "<gray>Unlocked"

This is shown when the grave lock has expired.

Admin command messages

admin_cmd:
help_main_admin: "<yellow>/gravesadmin teleport <player> [index=0] <dark_green>-<lime> Teleport the player to their selected gravestone<br>"
teleport_no_grave_found: "<red>The player does not have a grave at that index"
teleport_teleported: "<yellow>You have teleported the player"
KeyUsed when
admin_cmd.help_main_adminAdmin help message.
admin_cmd.teleport_no_grave_foundThe selected player has no grave at that index.
admin_cmd.teleport_teleportedTeleport succeeded.

Tips

  • Keep placeholders exactly as written.
  • Do not remove quotation marks if the message contains symbols like : or %.
  • Use <br> if you want a new line inside a message.
  • After editing, restart the server or reload the plugin if your setup supports it safely.