messages.yml
Player-facing text at plugins/dLottery/messages.yml, in MiniMessage.
Prefix & placeholders
Section titled βPrefix & placeholdersβprefix: "<red><b>Server</b></red> <dark_gray><b>Β»</b></dark_gray> "<prefix>is replaced by theprefixstring.- Named placeholders include
%player%,%amount%,%tickets%,%word%,%pool%,%players%,%minutes%,%seconds%,%rank%,%value%,%winner%,%round%.
Message keys
Section titled βMessage keysβ| Key | Shown when |
|---|---|
help, admin-help |
The /lottery help and /lottery admin listings. |
status |
/lottery status. |
buy-success, buy-insufficient-funds, buy-exceeds-max, buy-cooldown |
Ticket purchase results. |
shuffle-triggered, reset-triggered |
Admin shuffle / reset. |
win, no-tickets, few-players |
Draw outcomes (broadcast to everyone). |
reminder |
Countdown reminders. |
offline-payout |
A returning winner is paid. |
history-* |
/lottery history output. |
top-* |
/lottery top text output. |
Ticket-word inflection
Section titled βTicket-word inflectionβinflexions: default-tickets: tickets tickets-no: - "1/ticket" - "2/tickets"The inflexions block handles the noun form for ticket counts (%word%) β e.g. β1 ticketβ vs β2 ticketsβ. It supports languages with more complex declension than a simple singular/plural (the format is count/word pairs), carried over from the original plugin.
Framework keys
Section titled βFramework keysβThe top of the file holds DzusillCore command keys (no-permission, invalid-usage with %usage%, invalid-number with %input%, reload-success, β¦). Keep their names and placeholder tokens.