Skip to content
PRISM
Installing and updating

Installing and updating

Overview

Prism comes as one jar. It downloads Minecraft's own server from Mojang on its first start and applies its changes to it, so the jar never holds Mojang's code.

Moving a server to Prism

  1. Back up the whole server folder.
  2. Stop the server and replace its jar with Prism's.
  3. Start it: Prism moves bukkit.yml, spigot.yml, commands.yml and Paper's files into config/, keeps your worlds and your plugins, and says what it moved.
  4. Check the console's list of plugins: those not made for Folia load too, and the plugins page says what Prism changes for them.

Worlds from Paper, Folia or Canvas open as they are. Prism stores them in its own region format, a third smaller with each chunk checksummed: each region file is converted as the server opens it, or /prism regions convert does them all now.

Starting the server

A start script that restarts the server when it asks to (after /prism restart, an update or a crash loop) runs Java in a loop and stops when the exit code is not 75:

#!/bin/sh
while true; do
  java -Xms6G -Xmx6G -jar prism.jar nogui
  [ $? -eq 75 ] || break
done

Give the server the same -Xms and -Xmx; Prism's startup advice says what else your Java settings miss.

Updates

Every few hours (option updates.every), Prism asks its site for the list of its builds. When a newer build exists for your Minecraft version, it says so in the console, on the dashboard and on Discord, with where to get it.

  1. Download the new jar from BuiltByBit.
  2. Open the dashboard's Maintenance page and press Send the jar: Prism takes it only if it is, byte for byte, the build its site lists (checked against its SHA-256).
  3. The jar replaces the running one as the server stops: restart when you want, the next start runs the new build.

You can also stop the server and replace the jar yourself, as on any server. /prism update says where the server stands, /prism update check asks the site now.

Source code

Prism is released under the GPL-3.0, like the projects it builds on. Every buyer may have the source code of their build, at any time: ask on Discord with your BuiltByBit purchase.