Messages File

The messages file controls most all the messages you see through PwingRaces. Upon opening it, you will see a list of all the configurable messages. You may notice some of them have placeholders and such in there. The messages file has support for ANY PlaceholderAPI placeholder if you have the plugin installed. So if you'd like to show another prefix in a race message from PlaceholderAPI, you can do so.

If you'd also like to reference another message from PwingRaces through the messages file, just prefix it with % and end it with %. (e.g. %invalid-player% would show the message set for 'invalid-player').

Here is an example of the messages file: messages: header: "&5---&7[ &d&lPwing Races &7]&5---" prefix: "&7[Pwing Races]&a" race-gui: "%race% Race" currency-name-sing: Ruble currency-name-plural: Rubles invalid-skillpoints: "%prefix% &cYou do not have the required skillpoints to purchase this upgrade!" cancelled-purchase: "%prefix% &cCancelled purchase of %element%." successful-purchase: "%prefix% You have successfully purchased the %element% upgrade for the %skilltree% skilltree!" already-purchased: "%prefix% &cYou have already purchased this upgrade." levelup: "%prefix% Your %race% race has leveled up to level %level%!" ability-cooldown: "%prefix% &cThis ability is currently on cooldown (%time% remaining)." offline-player: "%prefix% &cThat player is not online!" invalid-player: "%prefix% &cThat player does not exist!" invalid-race: "%prefix% &cThat race does not exist!" cannot-set-race: "%prefix% &cCannot set race." set-active-race: "%prefix% Successfully set %player_name%'s race to %race%!" locked-race: "%prefix% &cYou have not unlocked this race yet!" race-already-selected: "%prefix% &cYou already have that race selected!" race-not-selected: "%prefix% &cYou do not have this race selected!" race-skillpoint-claim: "%prefix% Successfully reclaimed your used skillpoints!" cancelled-skillpoint-claim: "%prefix% &cCancelled skillpoint reclaim." race-item-claim: "%prefix% Sucessfully reclaimed your race items!" cancelled-item-claim: "%prefix% &cCancelled item reclaim." invalid-command-syntax: "%prefix% &cInvalid Syntax! Usage: %usage%." not-enough-money: "%prefix% &cYou do not have enough %currency-name_plural% for this transaction!" skillpoint-amount-message: "%prefix% &aYou have %skillpoints% unused skillpoints." races-disabled-in-world: "%prefix% &cRaces are not enabled in this world!" no-permission: "%prefix% &cYou do not have permission to do this!" no-permission-command: "%prefix% &cYou do not have permission to execute this command!" If you have the desire to make a message not show up at all, just set it to "" and nothing will send.