This plugin syncs your players blueprints across multiple servers using a MySql database.
If you have any issues be sure to let me know in the support thread, if you like this plugin make sure to leave me a rating
How does this plugin work?
It saves the blueprints the player has in a remote database. When the player connects / reconnects to the server the blueprints stored on the remote database are applied to them.
Permissions
In order for this to work you will need a MySql database. I'll try my best to help you set one up if you don't know how. But I don't know everything to do with Linux, host environments etc. So I advise you to do your own research if you do not have this knowledge prior to purchasing.
Once your MySql database is setup, you have to fill in the details in your oxide/config/BPSync.json file. After your correct details are entered the plugin is ready to go. If you do see any errors then it's a 99% chance that your database is down, not reachable or not correctly setup in the config. These errors aren't able to be caught in the plugin because MySql queries are done on another thread. If you have not setup your database properly the error may look something like: https://gyazo.com/118328d0ea5e001d75e2b09168917444
Default configuration (oxide/config/BPSync.json)
Default language file (oxide/lang/en/BPSync.json)
If you have any issues be sure to let me know in the support thread, if you like this plugin make sure to leave me a rating
How does this plugin work?
It saves the blueprints the player has in a remote database. When the player connects / reconnects to the server the blueprints stored on the remote database are applied to them.
Permissions
- bpsync.admin - Required to use all the available commands this plugin has from F1.
- bpsync.wipe - Wipes the blueprints stored in the remote database, useful if you have just wiped your blueprints.
- bpsync.syncall - Pushes all your stored users in the /user folder to the remote database with their currently unlocked blueprints.
- bpsync.applyall - Applies all the remotely stored blueprints to online players. Note: This won't replace their currently unlocked Blueprints.
- This plugin automatically wipes the remotely stored blueprints when it detects a blueprint wipe. It is essential you clear your remote database if you want to fully blueprint wipe your servers.
- As of update 1.1.0 this plugin has a config value for this option. Disabled by default
In order for this to work you will need a MySql database. I'll try my best to help you set one up if you don't know how. But I don't know everything to do with Linux, host environments etc. So I advise you to do your own research if you do not have this knowledge prior to purchasing.
Once your MySql database is setup, you have to fill in the details in your oxide/config/BPSync.json file. After your correct details are entered the plugin is ready to go. If you do see any errors then it's a 99% chance that your database is down, not reachable or not correctly setup in the config. These errors aren't able to be caught in the plugin because MySql queries are done on another thread. If you have not setup your database properly the error may look something like: https://gyazo.com/118328d0ea5e001d75e2b09168917444
Default configuration (oxide/config/BPSync.json)
Code:
{
"Automatically Wipe Remotely Stored BPs on local BP wipe": false,
"Database": {
"Host": "localhost",
"Name": "database",
"Password": "password",
"Port": 3306,
"User": "root"
}
}
Default language file (oxide/lang/en/BPSync.json)
Code:
{
"NoPermission": "You don't have permission to use that command.",
"Blueprints.Wiped": "You've sucessfully wiped all remotely stored blueprints.",
"Sync.Start": "Starting to sync all locally stored players blueprints to remote database.",
"Sync.Finished": "Sucessfully synced {0} locally stored players blueprints to remote database.",
"Apply.Complete": "Sucessfully applied remotely stored Blueprints to {0} online players."
}