rewardpro:rewardpro:database

Databases

Inside RewardPromo you have the ability to use a local storage like H2 or a network storage like MySQL.
For bigger server and for bungeecord networks we recommend MySQL!

If you like to use H2 you don't need to change any configuration file.
H2 will be automatically generated. Inside H2 we save all player data.
If you like to edit the data you could use a tool like the http://www.h2database.com/html/quickstart.html#h2_console

If you like to use MySQL you have to edit the database.yml
In the following lines you see a example and an explanation of the elements inside the config.

Host:
Is the IP or the DNS name of your database endpoint.
Port:
Is the Port of your database.
Database:
Is the name of your database, you have created before.
Username:
Is the name of the user, which is permitted to edit tables inside the database.
Password:
Is the password of the user.
LocalStorage:
This has to be false, if you use MySQL!
SSL:
This is the SSL Encryption, set this to true if your database supports SSL, otherwise false!


  • Last modified: 3 weeks ago
  • by MovingDev