Skip to content

messages.yml

goflishMC edited this page Jun 30, 2025 · 3 revisions

messages.yml

This file defines all messages sent to players by Genesis. You can freely customize text, add color codes (&), and use placeholders.

🛈 To disable a message entirely, leave its value empty ('').


🧭 File Location

/plugins/Genesis/messages.yml

🗨️ Sections

🔹 Main:

Key Description
NoPermission Sent when a player lacks required permission.
AlreadyBought Displayed if a player tries to repurchase an item they already own.
ShopNotExisting Error when the specified shop doesn't exist.
ShopItemNotExisting Error when the specified shop item doesn't exist.
OpenShop Message when opening a shop for self.
OpenShopOtherPlayer Message when opening a shop for another player.
CloseShopOtherPlayer Message when closing another player's shop.
CloseShop Message when closing own shop.
InventoryFull Sent if the player’s inventory is full.
PlayerNotFound Sent when a target player is not online.
ClickSpamWarning Warning for excessive clicking.
OffensiveClickSpamWarning Additional warning for continued spam.
OffensiveClickSpamKick Message shown on kick for click spamming.
NeedItemInHand Error if no item is held when required.
PrintedItemInfo Confirms item info was saved to ItemDataStorage.yml.
ListAndSeparator Used when listing multiple entries with and.
ListOrSeparator Used when listing entries with or.

💰 Economy:

Key Description
NoAccount Sent if the player has no economy account.

NotEnough:

Key Description
Money Sent when the player lacks money.
Item Sent when not enough items are provided.
Points Sent when the player lacks points.
Exp Sent when the player lacks EXP.
Or Generic fallback when multiple requirements fail.

Enchantment:

Key Description
Invalid Shown if the enchantment can’t apply to held item.
EmptyHand Error for missing held item.

🎨 Display:

These define how rewards, prices, and shop links are shown in GUIs or messages.

Key Description
Exp Display for EXP rewards.
Money Display for money rewards.
Points Display for point rewards.
Item Format for showing single item rewards.
ItemAll Used when selling all of one item.
ItemAllBuy Shown when buying a full inventory of an item.
ItemAllEach Price per item when selling all.
Nothing Used for empty reward/price.
BungeeCordServer Message when teleporting via BungeeCord.
BungeeCordCommand BungeeCord command list format.
Close Text for “Close shop” buttons.
Command Format for console-executed commands.
Custom Fallback display for unknown types.
Enchantment Format for enchantment rewards.
Permission Format for required permissions.
PlayerCommand Player-executed command format.
PlayerCommandOp OP command format.
Shop Format for “Open shop” links.
Page Format for “Open page” links.

Time:

Key Description
Seconds, Minutes, Hours, Days, Weeks Formats for time display. %time% is replaced by the duration.

🌐 Locale:

Locale: en-us
  • Used for item and enchantment translation.
  • Requires LangUtils to work.
  • Supports any valid Java locale (e.g., de_DE, fr_FR).
  • Reference: Oracle Locale List

📝 Notes

  • Most messages support color codes with &.
  • Use %placeholders% such as %player%, %shop%, %money%, etc.
  • Reload Genesis to apply message changes:
    /shop reload
    

Let me know if you’d like a similar page for pagelayout.yml.

Clone this wiki locally