Updating Codeon Shield

How to install a new version without losing your license or your bans.


When to update

New versions appear in Dashboard → Download → Change logs and in Home → Recent activity. The version you have installed is in the .version file and in the footer of the /csmenu menu.

Steps

  1. Download the latest version from Download → Download latest.
  2. Back up your .license and bans.json files.
  3. Stop the server and replace the CodeonShield folder with the new one.
  4. Put your .license and bans.json back in the new folder.
  5. Start the server. If the new version changes anything in the protection, it is applied on start (with an automatic restart).
Do not overwrite bans.json with the one from the download (it is empty) or you will lose every ban of your server.

Your configuration is kept

Detections, webhooks, permissions and blacklists are stored in the Dashboard, not in the resource. The new version downloads them on start.