Updating
Manual update#
Stop the server, replace the old jar in plugins/ with the new one and start again. Your files and data are kept. New updates settings are added to your config without changing your other settings.
Update checker#
The plugin checks BuiltByBit for a newer version. It only runs on a copy that was downloaded from BuiltByBit. Other copies log that update checks are off. Nothing is sent except the request itself.
updates:
enabled: true
check-on-startup: true
check-interval-hours: 24
# Downloads the new jar into plugins/update. It is installed on the next restart.
# The current jar is copied to plugins/mcCoinShop/backup first.
auto-download: false
# Tells the console and players with coinshop.admin.
notify: true
# Leave these blank to use the built-in values.
shared-token: ""
resource-id: 79244
- The check runs shortly after startup (when
check-on-startupis on) and then everycheck-interval-hourshours. It runs off the main thread. - With
notify: true, the console and players withcoinshop.adminare told when a newer version is out, and admins see it again when they join. - With
auto-download: true, the plugin downloads the new jar, verifies it is mcCoinShop at the expected version, copies your current jar toplugins/mcCoinShop/backupand places the new one in the server's update folder (plugins/update). It installs on the next restart. The running jar is never touched. - Auto-download needs the license to have download rights for the new version. Otherwise you are told it cannot download it.
Rolling back
If auto-download was on, the previous jar is in plugins/mcCoinShop/backup. Put it back into plugins/ to return to the old version.