Get started
Thank you for purchasing my CoinsAPI.
Last updated
Thank you for purchasing my CoinsAPI.
Last updated
If you have downloaded the CoinsAPI and started the server, a folder named CoinsAPI should now have been created in your plugins folder. Now open this folder and edit the config.yml
.
Add your private license in the config.yml
. If you don't have one yet, open a support ticket on my discord server.
Set the database type in config.yml
.
Set database: "mysql"
to store your data in a MySQL
database. You can access the data across servers. To connect to MySQL database open the file mysql.yml
and enter your MySQL data.
Set database: "sql"
to save your data locally on the server. This data can then only be accessed by this one server. To do this, the plugin creates a folder called database
in the plugins folder. The database file database.db
is created in this folder.
There are 2 different file systems. These are explained below.
The single
file system simply means that all messages of all languages are contained in one file. Here is an example from the CoinsAPI:
If you have my LanguageAPI for Spigot, you can omit the item defaultLanguage: "english"
, as the language of the player is managed via this. Just make sure that you have set all messages in the languages that are set in the config.yml
of the CoinsAPI.
For example, if you support the languages German, English and Spanish, in this case you have to copy the messages to e.g. English and paste it at the end of the file and translate each individual language.
Just as with the single file system, you only need to copy the english.yml
file, for example, and change it to the name of the language. In the example with the Spanish language in español.yml
. (If you have set the language as español in the config.yml
of the LanguageAPI)
However, if you have not purchased my LanguageAPI, you can set the default language of the CoinsAPI under defaultLanguage: "english"
. This means that every player will receive all messages from the plugin in this language.
If this setting is set to true
, players can send each other their money.
The prefix is always set by the CoinsAPI before each message. You can change the prefix by changing the line prefix: "&7[&fCoin&6System&7]&r"
.
You can set the name of the currency on your server under the following points.
Here you can set the value to which the player's money should be set when an admin resets it.
Here you set how high the initial amount of a player should be when he joins your network for the first time.
/coins
--/--
See your account balance
/coins help
--/--
Show all possible commands
/coins see <Spieler>
coinsapi.seeother
See the account balance of another player
/coins add <player> <amount>
coinsapi.add
Add a certain amount to a player's account
/coins remove <player> <amount>
coinsapi.remove
Remove a certain amount from a player's account
/coins set <player> <amount>
coinsapi.set
Set a player's account balance to a certain amount
/coins reset <player>
coinsapi.reset
/coins reset <player> <amount>
coinsapi.reset
Reset a player's account balance to a certain value
/pay <player> <amount>
coinsapi.pay
/coins pay <player> <amount>
coinsapi.pay
Reset a player's account balance (see )
Send a player a certain amount (you can find more information )
Send a player a certain amount (you can find more information )