Messages
Full messages.* map in config.yml — defaults, placeholders, auto-fill, and fallback.
Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.
Messages are in config.yml under messages.. There is no messages.yml. Read: MessageManager → messages. + path. Missing key: &cBrak wiadomosci: + path. Colors: &.
sendMessage prepends messages.prefix.
Chat cancel
Words: cancel, anuluj (ignore case). Input type → key mapping:
| Input | Key |
|---|---|
| search | search.cancelled |
| alert (phrase/price) | alerts.cancelled |
| rating | rating.cancelled |
| relist | relist.cancelled |
Placeholders
{item} {price} {min} {max} {limit} {fee} {net} {buyer} {seller} {id} {query} {stars} {seconds} {count} {page} {total} {sort} {time} {value} {rating} {unit} and {avg} in price-hint.
Defaults from config.yml
messages:
prefix: "&8[&bGrzybcioRynek&8] &7"
no-permission: "Nie masz uprawnień do tego!"
player-only: "Tylko gracze mogą używać tej komendy!"
sell:
success: "Wystawiono przedmiot &e{item} &7za &a{price}"
no-item: "Musisz trzymać przedmiot w ręce!"
invalid-price: "Nieprawidłowa cena! Cena musi być między &a{min} &7a &a{max}"
limit-reached: "Osiągnięto limit wystawionych przedmiotów ({limit})"
air-item: "Nie możesz sprzedać powietrza!"
buy:
success: "Kupiono &e{item} &7za &a{price}"
not-enough-money: "Nie masz wystarczająco pieniędzy! Potrzebujesz &c{price}"
own-listing: "Nie możesz kupić własnego przedmiotu!"
inventory-full: "Twój ekwipunek jest pełny!"
not-available: "Ten przedmiot nie jest już dostępny!"
transaction-failed: "Transakcja nie powiodła się. Spróbuj ponownie."
seller-notified: "Twój przedmiot &e{item} &7został sprzedany graczowi &e{buyer} &7za &a{price}"
listing-locked: "Oferta jest właśnie kupowana przez kogoś innego."
remove:
success: "Usunięto ofertę &e#{id}"
not-found: "Nie znaleziono oferty o ID &c#{id}"
not-owner: "To nie jest Twoja oferta!"
reload:
success: "Pomyślnie przeładowano konfigurację!"
expiry:
returned: "Twoja wygasła oferta &e{item} &7została zwrócona do ekwipunku."
my:
no-listings: "Nie masz aktywnych ofert."
search:
prompt: "Wpisz na czacie frazę do wyszukania (lub &ccancel&7):"
cancelled: "Anulowano."
no-results: "Brak ofert dla: &e{query}"
favorites:
added: "Dodano ofertę &e#{id} &7do ulubionych."
removed: "Usunięto ofertę &e#{id} &7z ulubionych."
disabled: "Ulubione są wyłączone."
mailbox:
received: "Przedmiot trafił do skrzynki rynku: &e{item}"
empty: "Twoja skrzynka jest pusta."
claimed: "Odebrano: &e{item}"
inventory-full: "Brak miejsca w ekwipunku — item pozostał w skrzynce."
alerts:
prompt-query: "Wpisz nazwę przedmiotu dla alertu (lub &ccancel&7):"
prompt-price: "Wpisz maksymalną cenę dla &e{query}&7 (lub &ccancel&7):"
created: "Utworzono alert: &e{query} &7≤ &a{price}"
removed: "Usunięto alert."
limit: "Osiągnięto limit alertów ({limit})."
triggered: "Alert! Oferta &e{item} &7za &a{price} &7(max &a{max}&7)"
disabled: "Alerty cenowe są wyłączone."
fee:
listing: "Prowizja za wystawienie: &c{fee}"
sale-preview: "Prowizja: &c{fee}&7 | Otrzymasz: &a{net}"
not-enough-listing: "Nie stać Cię na prowizję wystawienia (&c{fee}&7)."
price-hint: "Rynek: min &a{min}&7 | średnia &e{avg}&7 | max &c{max}"
price-hint-none: "Brak historii cen dla tego przedmiotu."
anti-abuse:
cooldown: "Odczekaj &e{seconds}s &7przed kolejnym wystawieniem."
max-value: "Wartość transakcji przekracza limit (&c{max}&7)."
same-player: "Osiągnięto limit zakupów od tego gracza ({limit})."
rating:
prompt: "Oceń sprzedawcę &e{seller}&7 (1-5) lub &ccancel&7:"
success: "Wystawiono ocenę &e{stars}★ &7dla &e{seller}"
invalid: "Ocena musi być liczbą od 1 do 5."
already: "Ta transakcja została już oceniona."
admin:
inspect-header: "&8--- Oferta #{id} ---"
relist:
prompt: "Wpisz cenę ponownego wystawienia (sugerowana &a{price}&7) lub &ccancel&7:"usage.* and all of gui.* (titles, lore, sort, categories, buttons) are in the same block — see config.yml in the JAR / plugin/messages.
Auto-filled on reload
ensureMessageDefaults fills missing keys and saves the file. Including ones that may be absent in an old config:
messages.input.cancelled: "Anulowano."
messages.alerts.cancelled: "Anulowano tworzenie alertu."
messages.rating.cancelled: "Anulowano ocenę."
messages.relist.cancelled: "Anulowano ponowne wystawienie."
messages.mailbox.join-hint: "Masz &e{count} &7przedmiot(ów) w skrzynce rynku: &e/market mailbox"and many gui.* and other defaults from ConfigManager.
search.cancelled in the JAR is "Anulowano."; ensure will add "Anulowano wyszukiwanie." only when the key is missing.
Texts outside YAML
Admin (list/inspect body/refund/selftest), reload lock, disabled history (command). Changing messages.* will not affect them.