Repository navigation
MySQL and SQLite database migration
How to Migrate from Rosewood's PlayerPoints to Cold Development PremiumPoints (SQLite & MySQL)
This guide will help you migrate your PlayerPoints data from Rosewood's plugin to the new version of PremiumPoints by Cold Development, whether you're using SQLite or MySQL.
Warning
Follow the steps carefully to ensure a smooth migration.
Export the Data:
On your server, execute the following command to export your PlayerPoints data:
- /p export
- save the exported data
storage.yml - locate the
storage.ymlfile created by the export command and save it in a secure location (you will need this later) - delete the old plugin
- stop the server
- navigate to your server’s
~/pluginsfolder and delete the PlayerPoints folder and the PlayerPoints.jar file created by Rosewood Development - install Cold Development’s PremiumPoints
- download the new
PremiumPoints.jarfrom Cold Development's plugin - drag and drop the file into your server's plugins folder
- start the server. This will generate a PremiumPoints folder
- drag and drop the saved
storage.ymlfile into the new~/plugins/PremiumPointsfolder
- on your server, use the following command to start the import process:
- /p import
- Confirm the import by typing:
- /p import confirm
Note
Your SQLite database has been successfully migrated to Cold Development’s PremiumPoints.
Save the MySQL configuration:
Before making any changes, copy the MySQL configuration from config.yml in Rosewood's PlayerPoints plugin and save it in a secure location.
# Settings for if you want to use MySQL for data management
mysql-settings:
# Enable MySQL
# If false, SQLite will be used instead
# Default: false
enabled: false
# MySQL Database Hostname
# Default: 127.0.0.1
hostname: 127.0.0.1
# MySQL Database Port
# Default: 3306
port: 3306
# MySQL Database Name
# Default:
database-name: ''
# MySQL Database User Name
# Default:
user-name: ''
# MySQL Database User Password
# Default:
user-password: ''
# If the database connection should use SSL
# You should enable this if your database supports SSL
# Default: false
use-ssl: false
# The number of connections to make to the database
# Default: 3
connection-pool-size: 3- stop the server
- delete the
~/plugins/PlayerPointsfolder andPlayerPoints.jarcreated by Rosewood Development - install Cold Development’s PremiumPoints
- download Cold Development’s
PremiumPoints.jarand place it in your server's~/pluginsfolder - start the server to generate
~/plugins/PremiumPointsfolder - apply the MySQL configuration
- navigate to
~/plugins/PremiumPoints/config.yml - paste your saved MySQL configuration into the new
config.ymlunder theMySQLsection - restart the server
- after saving the
config.ymlfile, restart your server - the
PremiumPointsplugin will now connect to yourMySQL database
Note
Your MySQL database has been successfully migrated to Cold Development’s PremiumPoints.
Tip
With these steps, you can easily migrate your PremiumPoints data, whether you're using SQLite or MySQL, from Rosewood's plugin to Cold Development's PremiumPoints plugin.
Cold Development ❄️

