BPSync

BPSync 1.1.25

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
  • bpsync.admin - Required to use all the available commands this plugin has from F1.
Commands
  • 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.
Auto Blueprint wipe functionality
  • 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."
}

Information

Author
Ryan
First release
Last update
Rating
5.00 star(s) 5 ratings

Latest Release v1.1.25

Released
Aug 3, 2023 at 1:34 AM
Rating
0.00 star(s) 0 ratings


More resources from Ryan

  • Spot System
    Spot System
    Spot enemies to mark their location to your team mates!
  • Better Warp
    Better Warp
    Create warp points with gateways, also automatically paste buildings at warp points

BPSync by Ryan
© chaoscode.io Oct 9, 2017

Latest reviews

Really nice work!
Does what it's suppose to.
It works as expected, well! Love it <3
Works great. Just as intended. Players love it