Using it

Update checker

Copies downloaded from BuiltByBit check for new versions on startup and every 24 hours. The console and online players with mcbans.admin are told when one is available, and admins are reminded when they join.

updates:
  enabled: true
  check-on-startup: true
  check-interval-hours: 24
  auto-download: false
  notify: true
  shared-token: ""
  resource-id: 0
  • With auto-download: true, the new jar is downloaded into plugins/update and installed on the next restart. The old jar is saved in plugins/mcBans/backup. The download is checked to be mcBans at the expected version first.
  • Downloading needs a BuiltByBit license for the resource. Without usage rights you only get a notice.
  • Leave shared-token and resource-id blank unless support tells you otherwise.
  • Copies that did not come from BuiltByBit log "Update checks are off" and do nothing.