Message Customization
Every message players see is in plugins/Obfeco/messages.yml. Apply edits with /obfeco reload.
Messages use MiniMessage (<gold>, <bold>,
<gradient:gold:yellow>, <click:...>). Legacy & codes aren't converted. If PlaceholderAPI is
installed, PlaceholderAPI placeholders in messages are filled in too.
A key missing from your file falls back to the bundled default, so an older messages.yml keeps
working after an update.
Prefix
prefix: "Obfeco »"
Put in front of command replies. The top.* lines and GUI labels don't use it.
Message keys
| Key | Variables | Sent when |
|---|---|---|
no-permission |
— | Missing the subcommand's permission |
player-not-found |
{player} |
pay target isn't online |
currency-not-found |
{currency} |
Unknown currency id |
invalid-amount |
— | Amount isn't a valid positive number |
insufficient-funds |
{currency} |
Not enough to pay or take |
balance.own |
{amount}, {currency} |
/obfeco balance for yourself |
balance.others |
{player}, {amount}, {currency} |
/obfeco balance <player> <currency> |
transaction.receive |
{amount}, {currency} |
Player's balance went up (notify-give) |
transaction.lose |
{amount}, {currency} |
Player's balance went down (notify-take) |
transaction.pay-sent |
{amount}, {currency}, {player} |
To the sender of pay |
transaction.pay-received |
{amount}, {currency}, {player} |
To the receiver of pay |
transaction.give |
{amount}, {currency}, {player} |
To the admin after give |
transaction.take |
{amount}, {currency}, {player} |
To the admin after take |
transaction.set |
{amount}, {currency}, {player} |
To the admin after set |
top.header |
{currency} |
First line of the chat leaderboard |
top.entry |
{position}, {player}, {amount} |
Each chat leaderboard line |
top.footer |
— | Last line of the chat leaderboard |
currency.created |
{currency} |
After create |
currency.deleted |
{currency} |
After delete |
currency.already-exists |
{currency} |
create with an id that's taken |
currency.cannot-delete-primary |
— | Trying to delete the primary currency |
currency.delete-confirm |
{currency} |
delete without confirm |
currency.reset-confirm |
{currency} |
reset without confirm |
currency.reset-success |
{currency} |
After reset ... confirm |
reload.success |
— | After /obfeco reload |
{amount} is always the formatted amount, with the currency's suffix and format applied.
{currency} is the display name, except in the confirm messages and already-exists, where it's
the id.
GUI labels
| Key | Used for |
|---|---|
gui.currency-manager.title, create-button, close-button, back-button |
Currency Manager menu |
gui.category-menu.title, category-lore |
Category list ({count} = currencies in it) |
gui.subcategory-menu.title, subcategory-lore |
Subcategory list ({count}) |
gui.confirm-delete.* |
Delete confirmation screen ({currency}, {id}) |
The create-button lore and per-currency lore come from config.yml; see
Main Configuration → GUI.
Update notice
update-notifier:
- "[Obfeco] A new update is available!"
- "Current version: "
- "New version: "
- "Download here: Modrinth"
Shown on join to players with obfeco.admin when Modrinth has a newer version.
<current_version> and <new_version> are filled in.