Languages
HyperMerchant 1.58 and above includes language support.
Language files are found in the language folder of the HyperMerchant plugin directory. The default language is english. It's filename is en_us.yml.
To set a different language, edit the HyperMerchant config.yml file. Change the entry for language: to the name of the language file you want to use.
You can create your own Language file. Make a copy of the en_us.yml file and save it under a new name in the same directory.
Open your new language file in a text editor.
You will notice that things are arranged by categories. The first category is ItemIcons:
The entries in this category are the text that is displayed on sale items in the shop menu.
Look at the following entry:
II_BUY: §f Buy\; §5 <buyprice>
II_BUY:
This is the entry name. Do not change this. This will always be followed by 1 space.
§f
This is a minecraft color code. This is the code for white. All text after this code will be white. 1 empty space after this color code will be ignored. List of color codes with image.
Buy
The word "Buy". Change this to match your language.
\;
A "special character". This will appear as ":" in game. You cannot use the ":" character as text in a "yml" file.
<buyprice>
Placeholder. In game this will be replaced by the buy price of the item.
Placeholders can only be used in the entries that they appear in by default.
Other "special characters":
\< in game is <
\> in game is >
\n in game this begins a new line.