Skip to content
PRISM
Backups, restarts and pre-generation

Backups, restarts and pre-generation

Overview

The server runs itself: backups on a schedule, restarts with a countdown, worlds generated ahead of the players.

Backups

Every 6 hours (backups.every), Prism backs the worlds up while the server runs, keeps the last 5 (backups.keep) in backups/, and refuses to start one when the disk holds less than 2 GB free. The dashboard's Maintenance page lists them: download one, delete one, or put one back: the server counts down, stops, restores the worlds you chose, and starts again.

Restarts

/prism restart 5m restarts after a countdown in chat and a boss bar; /prism restart cancel stops it. A daily restart at set times is available but off by default (restarts.enabled, restarts.times). The server stops with exit code 75: a start script that loops on 75 brings it back (see installing).

Pre-generation

/prism pregen world 5000 generates a circle or a square of 5,000 blocks around the spawn, /prism pregen world border up to the world border. It steps back when players need the processor (over 45 ms a tick, pregen.slow-down-mspt) and speeds up again under 30 ms; it resumes after a restart. The dashboard shows it with its progress.

Scheduled commands

Commands at fixed times or intervals, in scheduled-commands.commands: at 04:00: save-all, every 30m: say Vote for the server!. The dashboard lists them with their next run and runs one now.

Maintenance mode

/prism maintenance on 2h Updating the map closes the server to everyone but the players allowed (/prism maintenance allow <name> or prism.maintenance.bypass); it ends by itself after the duration. Players online are moved out (maintenance.kick-online) and the server list shows the reason.