SeasonForge logoSeasonForge

Messages and languages

Editing messages, sending them as chat, titles, action bars or boss bars, and adding your own language.

Every message players see is in plugins/SeasonForge/lang/. English (en_US), French (fr_FR) and Spanish (es_ES) are included. Pick one with language: in config.yml and run /battlepass admin reload.

Editing a message

Messages use MiniMessage (<#f2b544>, <bold>, <click:...>), and the old & colour codes also work. %prefix% puts in the prefix from the top of the file.

claim:
  claimed-free: "%prefix%<white>Claimed the level <#f2b544>%level%</#f2b544> free reward."
  • Set a message to "" to turn it off.
  • A message can be a list of lines.
  • PlaceholderAPI placeholders work in every message.

Chat, title, action bar and boss bar

A message written as a block instead of a line can go to several places at once:

season:
  started:
    chat:
      - ""
      - "  <#f2b544><bold>A NEW SEASON HAS STARTED</bold>"
      - ""
    title: "%season%"
    subtitle: "<white>A new season has started"
    bossbar:
      text: "<#f2b544>%season% <white>has started!"
      colour: YELLOW
      seconds: 10
KeyWhat it does
chatOne line or a list of lines in chat
title / subtitleA title on screen
fade-in, stay, fade-outTitle timings in ticks (20 ticks is one second)
actionbarA line above the hotbar
bossbar.textA boss bar at the top of the screen
bossbar.colourPINK, BLUE, RED, GREEN, YELLOW, PURPLE or WHITE
bossbar.progressHow full the bar is, 0.0 to 1.0
bossbar.secondsHow long it stays

Leave a part out (or empty) to skip it. Any message can be turned into a block like this, for example to show the quest completed message as a title only.

What is in the file

SectionMessages for
prefixPut in front of chat messages through %prefix%
seasonSeason started, ended, and no season running
level-upLevel up chat (one level and several), and the title
premiumPremium unlocked, rewards waiting, broadcast, cannot buy
rewardsInventory full, saved items
claimClaimed, Claim All summary, locked rewards
questsQuest completed, the progress action bar, reset announcements
shopBought, not enough, limit reached, max level, currency missing
hookThe hook command is no longer needed
reset-namesNames of the reset types ("Daily", "Permanent" for NONE)
wordsSmall words: Yes, No, Max, Never, Free, Premium, Active, Not owned, Unlimited
errorsNo permission, unknown player, bad number, database errors
helpBoth help pages, one line per command, and the page arrows
adminReplies to every admin command and the season info lines

The words section is also where placeholders take their Yes and No, so %battlepass_premium% shows whatever you write there.

Your own language

Copy a file

Copy lang/en_US.yml to a new file named in Java locale style, for example lang/de_DE.yml.

Translate

Translate the text. Leave the keys and the %placeholders% as they are.

Select it

Set language: de_DE in config.yml and run /battlepass admin reload.

Any key missing from your file falls back to the English text, so a half finished translation still works. If the file named in language: does not exist, the console says so and English is used.

The three bundled files get new keys added on plugin updates. Your own language files are read as they are, and new keys show in English until you add them.

On this page