Messages
Editing the player-facing text and its placeholders.
All text the plugin sends to players sits under messages in config.yml. Standard & color codes work everywhere.
messages:
prefix: "&8[&bDuel-Regen&8] "
snapshot-captured: "&aSnapshot captured: &f{arena} &7({blocks} blocks)"
regen-started: "&eRegenerating: &f{arena}"
regen-complete: "&aRegenerated: &f{arena} &7({time}ms)"
corner-set: "&aCorner {corner} set for &f{arena} &aat &f{x}, {y}, {z}"
arena-not-found: "&cArena not configured: &f{arena}"
no-permission: "&cNo permission."
reload-complete: "&aConfig reloaded."
already-regenerating: "&c{arena} already regenerating."Placeholders
| Placeholder | Available in | Replaced with |
|---|---|---|
{arena} | most messages | The arena name |
{blocks} | snapshot-captured | Number of blocks in the snapshot |
{time} | regen-complete | Restore time in milliseconds |
{corner} | corner-set | 1 or 2 |
{x} {y} {z} | corner-set | The corner's coordinates |
Translate the values into any language you like; the keys stay in English. Apply changes with /duelregen reload.
Console output (startup checks, warnings, debug lines) is intentionally not configurable, since it is for the server owner, not players.