Skip to content

Messages

Every plugin text lives in the messages section of config.yml, in MiniMessage format (<#RRGGBB> colors, <gradient:…>, <bold>, hover, click…). The bundled texts are in French; to translate the plugin, simply replace them.

config.yml
messages:
active: "<green><bold>EFFECT ENABLED</bold></green> <gray><white><nom></white> now shines on your name."
verrouille: "<red><bold>EFFECT LOCKED</bold></red> <gray>You do not own <white><nom></white> yet."

After editing: /effets reload. A key missing from your file falls back to the default text from the .jar.

Default texts follow four types, recognizable by their leading glyph (resource pack) and color:

Success

Glyph , small-caps title on a green gradient. Example: effect enabled, purchase complete.

Information

Glyph , cyan gradient. Example: mention, command usage, AFK zone.

Warning

Glyph , yellow gradient. Example: effect already active, /rtp cooldown, AFK cap.

Refusal

Glyph , red gradient. Example: permission denied, insufficient balance, unknown player.

That leading glyph also selects the accent color when the message is sent to the banner. If you do not use a resource pack, just remove those characters: any message without a recognized glyph is treated as information.

active, retire, deja_actif, aucun_actif, inconnu, verrouille, liste, usage, aucun, separateur, possede, admin_donne, admin_retire, admin_rien, admin_recu, admin_perdu, usage_admin, tous_les_effets

Tags in angle brackets are replaced by the plugin. A tag is only available in the messages where it makes sense:

Tag Content Messages
<nom> Name of the effect, cosmetic, title or companion Effects, wardrobe, companions, give_ok
<joueur> Name of the related player Admin messages, mention, give_ok, give_hors_ligne
<id> Typed ID inconnu, compagnon_inconnu
<actif>, <possedes> Active effect, list of owned effects liste
<categorie> Category name garderobe_titre
<page>, <total> Current page, page count garderobe_page
<apercu> Name rendered with the effect garderobe_apercu
<rarete>, <couleur>…</couleur> Rarity name and color Companion messages
<commande> Command used (hat, sac) usage_cosmetique
<restants>, <quota>, <secondes> /rtp quota rtp_ok, rtp_quota, rtp_delai
<taux>, <reste>, <gain>, <jour>, <plafond> AFK zone values afk_* messages
<quantite> Item count give_ok, fourneau_ok
<article>, <prix>, <monnaie> Item, formatted price, currency boutique_* messages

Some texts have their own section: bandeau.textes (short versions for the banner), bandeau.xp, chat_infos.*, money, motd, connexion.*. In the shop, the menu title and the names, descriptions and lore of categories and items come from boutique.yml; navigation labels (“Retour”, “Confirmer”, “Ton solde”…) are fixed, in French.