Promotion background
Halloween Season IS HERE!
10% off limited time offer!
limited time offer SAVE 10% NOW →
Configurations

Languages & Translations

On this page, you will find how to edit the plugin's messages and translate them yourself.

#Translations

Every line the plugin can print lives in one file:

PhoenixNPCs/translations/translations.en.yml

Messages to players, command replies, the nameplate warnings and the whole in-game editor are all in there. Edit it and run /pnpc reload to apply the new text.

#Translating the plugin

Everything sits under en at the top of the file. Translate the right-hand side and leave the keys and the placeholders alone. Anything wrapped in % is filled in by the plugin, so %npc% and %player% have to survive the translation to keep working.

en:
  npc-cooldown: "%prefix%&cWait &e%seconds%s &cbefore clicking again."

#The Prefix

%prefix% at the start of a message is replaced with the plugin-prefix line, so the prefix of every message is changed in one place. Remove %prefix% from a message to send that one without it.

#Silencing a Message

Set the cooldown message to '' to click an NPC during its cooldown without a reply.

#Updating the plugin

New keys reach your file on their own, with their English default. Keys you already have are never touched, so a message whose default wording changed in an update keeps your old text.

Last updated about 2 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy