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
- Download the latest version from Download → Download latest.
- Back up your
.licenseandbans.jsonfiles. - Stop the server and replace the
CodeonShieldfolder with the new one. - Put your
.licenseandbans.jsonback in the new folder. - 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.