Skip to main content

Messages & Translations

Every chat message, menu title, button name and lore line is in plugins/SigmaOrders-Auction/lang/. Edit the files and run /orders reload or /auction reload. Missing keys are added back automatically on start and reload.

Files​

FileContents
lang/messages.ymlprefix, shared general, help, errors, admin messages and placeholder labels
lang/orders/messages.ymlOrders module: own prefix, chat messages (order, delivery, collection, payment, notification, command, ...) and all orders menus (orders-gui, new-order-gui, delivery-gui, order-details-gui, enchantment-gui, admin-panel, ...)
lang/auction/messages.ymlAuction module: own prefix, auction messages, notification, auction-gui (all auction menus), blacklist, shulker-preview, quick-buy
lang/materials.ymlItem name translations
lang/enchantments.ymlEnchantment name translations

If a key is missing from a module file, the plugin falls back to lang/messages.yml. Only English files ship with 2.0.14.

Format​

FormatExample
Legacy color codes&a, &7, &l
Hex color&#FF5500
MiniMessage tags<#FF5500>, <gradient:red:blue>, <bold>

All three can be mixed in one line. Lore is a YAML list, one entry per line.

The shipped files share one style: &7 text, &8 punctuation, &f values, &a success and money, &c errors, &a✔ / &c✘ symbols and &8• bullets.

Placeholders​

Each message only knows the placeholders it already contains in the default file. The most common ones:

PlaceholderValue
{prefix}The prefix of the same file
{id}Order or listing id
{item}Item name (uses materials.yml)
{amount}, {quantity}, {count}Amounts
{price}, {total}, {balance}, {payment}Money, formatted with the currency symbol
{player}, {owner}, {seller}, {buyer}Player names
{min}, {max}Limits in error messages
{page}, {pages}Menu page
{error}Error detail text
{time}, {expires}, {seconds}, {minutes}, {hours}Durations

Item names (materials.yml)​

Overrides the item name used by {item} everywhere: chat, menus, notifications and Discord webhooks. Items not listed keep their English name (DIAMOND_PICKAXE becomes Diamond Pickaxe). Custom items (ItemsAdder, Oraxen, Nexo, MMOItems) keep their own names.

material:
diamond: "Diamant"
diamond_pickaxe: "Diamant-Spitzhacke"

Keys are Bukkit material names in lowercase. Color codes are allowed.

Enchantment names (enchantments.yml)​

Overrides enchantment names in the enchantment menu, order lore, order details and admin panels. Enchantments not listed keep their English name (bane_of_arthropods becomes Bane Of Arthropods).

enchantments:
sharpness: "Keskinlik"
silk_touch: "İpek Dokunuş"

Keys are lowercase enchantment keys without minecraft:.