Installation
You can download a ready-made program, run Soulshale with Docker or Pterodactyl, or build it from source. See Requirements for what each way needs.
Beta. The newest release is 0.1.0-beta.6 for Minecraft 26.3 (after 0.1.0-beta.1 to 0.1.0-beta.5). It is a beta: back up your worlds. What changed is listed in
CHANGELOG.mdand in the notes of each GitHub release; the main points of beta.6 are on Roadmap and status.
Profile. A new server uses the
paperprofile: it behaves like a default Paper server. Setprofile = "vanilla"insoulshale.toml(Docker:SOULSHALE_PROFILE=vanilla) for behaviour that aims to match Vanilla as exactly as possible. A server that already has asoulshale.tomlwithout a profile line keepsvanilla.
Download
Get the archive for your system from the GitHub releases:
| System | File |
|---|---|
| Linux, 64-bit x86 or ARM | soulshale-<version>-mc26.3-linux-x86_64.tar.gz / …-linux-aarch64.tar.gz |
| Windows, 64-bit | soulshale-<version>-mc26.3-windows-x86_64.zip |
| macOS, Apple Silicon or Intel | soulshale-<version>-mc26.3-macos-aarch64.tar.gz / …-macos-x86_64.tar.gz |
Each archive holds the server program (soulshale or soulshale.exe), a short README.txt and the licence. SHA256SUMS lets you check the download. Unpack it into its own folder and go on with First start.
Only the program, without unpacking: since beta.6 every release also lists the bare program of every system, named like the archive without .tar.gz or .zip (soulshale-<version>-mc26.3-linux-x86_64, on Windows …-windows-x86_64.exe). Put it into its own folder and start it there. On Linux and macOS make it executable once after a browser download: chmod +x <file>. The first start writes LICENSE, NOTICE, THIRD-PARTY-LICENSES and README.txt next to it. soulshale --license prints the licence, and soulshale --license --third-party the licences of the third-party software inside the program. On Linux, plugins need the archive, because the bare program is without soulshale-gnu (see below).
Linux: the archive also holds soulshale-gnu. The Linux soulshale is a "static" program that runs on any distribution, but a static program cannot load plugins. So when plugins/ holds plugins, soulshale starts soulshale-gnu (the same code, built differently) in its place. You always start soulshale and do nothing else. Keep the files together. Details: Installing plugins.
Linux x86: the archive holds one more program, soulshale-x86-64-v3, built for newer CPUs (AVX2, from about 2013 on). It gives the same results with fewer CPU instructions. You always start soulshale: if the second file lies next to it and your CPU can run it, soulshale starts it in its place and writes CPU build: … to the log. Keep both files together. To always use the general build, set SOULSHALE_CPU=baseline.
Windows: official soulshale.exe builds are code-signed (since beta.4). The publisher is "Open Source Developer Hannes Thöne". To check it, right click soulshale.exe → Properties → Digital Signatures. A brand-new signed file may still show a short Windows SmartScreen reputation warning until enough people have downloaded it. Beta.3 and older Windows builds are not signed.
macOS: the program is not signed. Open it the first time with a right click → Open, or run xattr -d com.apple.quarantine soulshale once.
The proxy is not in the archives yet; build it from source.
Build from source
git clone https://github.com/hthoene/soulshale.git
cd soulshale
git checkout dev
cargo build --release
The first build takes a while. The server program is then at target/release/soulshale (soulshale.exe on Windows). The proxy is built too: target/release/soulshale-proxy.
Mojang's game data is not part of the source code. On the first build, the build downloads Mojang's official server file for the pinned version, checks it and extracts the data from it (see Data and version updates). This needs internet and a Java Development Kit; if none is installed, the build downloads one itself. It takes about two minutes extra, once per machine: the result is kept in a cache folder (~/.cache/soulshale on Linux), and later builds reuse it. On a machine without internet or Java, extract the data on another machine and point SOULSHALE_DATA_DIR to it.
Want to help? The repository has a contributing guide (CONTRIBUTING.md), a security policy (SECURITY.md), a code of conduct and issue and pull request templates.
Docker
The image holds the server program, plus soulshale-gnu and the system files it needs for plugins (see the Linux note above); they only run when plugins/ holds plugins. So Spigot and Paper plugins work in the image: put them into /data/plugins/ and the server sets up the rest (Spigot and Paper plugins). It is on Docker Hub as thoenehannes/soulshale, for linux/amd64 and linux/arm64. The easiest way is Docker Compose: save this as compose.yaml and run docker compose up -d.
services:
soulshale:
image: thoenehannes/soulshale:beta # or thoenehannes/soulshale:mc26.3-beta to stay on Minecraft 26.3
container_name: soulshale
restart: unless-stopped
ports:
- "25565:25565/tcp" # Minecraft Java
# Bedrock players: remove the # on these two lines and on SOULSHALE_BEDROCK__ENABLED below
# - "19132:19132/udp"
# - "19132:19132/tcp"
environment:
SOULSHALE_EULA: "true" # you accept the Minecraft EULA (https://aka.ms/MinecraftEULA)
SOULSHALE_MOTD: "My Soulshale server"
SOULSHALE_MAX_PLAYERS: "20"
SOULSHALE_VIEW_DISTANCE: "10"
# SOULSHALE_PROFILE: "vanilla" # default: paper. vanilla = aims to match Vanilla as exactly as possible; also spigot, performance, crowd, technical
# SOULSHALE_STORAGE__WORLD_FORMAT: "anvil" # Vanilla's region files instead of the own format
# SOULSHALE_BEDROCK__ENABLED: "true" # Bedrock players
volumes:
- soulshale-data:/data # world, settings and cache; or ./data:/data (folder must be writable by user ID 10001)
stop_grace_period: 60s # time to save all worlds when stopping
stdin_open: true # console: docker compose attach soulshale
tty: true
# Small machine? Remove the # on the next two lines. Soulshale reads the limits itself.
# cpus: 1
# mem_limit: 1g
volumes:
soulshale-data:
| What | Command |
|---|---|
| Start | docker compose up -d |
| Watch the log | docker compose logs -f |
| Stop and remove the container (the world stays) | docker compose down |
| Update (back up first) | docker compose pull && docker compose up -d |
Step by step: Quick start with Docker. The same server with one command:
docker run -d --name soulshale -p 25565:25565 -v soulshale-data:/data \
-e SOULSHALE_EULA=true --stop-timeout 60 thoenehannes/soulshale:beta
| Tag | What you get |
|---|---|
latest |
The newest release, also for a newer Minecraft version. Today the same image as beta. |
beta |
The newest beta, also for a newer Minecraft version. |
mc26.3-beta |
The newest beta for Minecraft 26.3. |
0.1.0-beta.6-mc26.3 |
Exactly this release; never changes. |
latest always points to the newest release (since beta.4; before, it did not follow every release). As long as there is no stable release, that is a beta, so latest and beta are the same image. mc26.3 comes with the first stable release. The moving tags beta and latest only follow the newest Minecraft version; an update for an older Minecraft version does not take them back. To build the image yourself: docker build -t soulshale . in the source folder.
- World, config files, plugins and cache live in the volume
/data. A folder you mount there must be writable by user ID 10001. - Every setting can be passed as an environment variable, like
-e SOULSHALE_MOTD="My server"or-e SOULSHALE_MAX_PLAYERS=50(see Environment variables). SOULSHALE_PROFILEpicks the profile: the default ispaper;-e SOULSHALE_PROFILE=vanillaaims to match Vanilla as exactly as possible.SOULSHALE_EULA=trueaccepts the Minecraft EULA.- Give the container time to stop (
--stop-timeout 60, Compose:stop_grace_period: 60s): on stop it saves all worlds. - The health check runs
soulshale health, which pings the server like the server list does. - Console: with Compose,
docker compose attach soulshale; withdocker run, start the container with-itand usedocker attach soulshale. Leave withCtrl+P,Ctrl+Q;Ctrl+Cstops the server. See Server console and first admin steps. - For Bedrock players, add
-e SOULSHALE_BEDROCK__ENABLED=true -p 19132:19132/udp -p 19132:19132/tcp(Bedrock 1.26.60 and newer need the TCP port too). - Plugins: put them into
/data/plugins/(see Installing plugins). The server downloads the Bukkit layer and Java into the volume at the first start with Spigot or Paper plugins. - On x86 the image holds both builds (see above) and picks the faster one by itself;
-e SOULSHALE_CPU=baselinekeeps the general one. - The licences of the software in the image are in
/licenses/(since beta.6). - The memory allocator (mimalloc) commits memory only when it is used and returns freed pages after a short delay (10 milliseconds; in beta.4: at once). Since beta.5 it also gives buffers of 128 to 512 KiB pages of their own, which go back to the system when freed. Since beta.4 these low-memory options are built into every binary, not only into the Docker image, and the program sets them itself, so the image needs no variables for it. In a local check this used about 20 to 60 MiB less RAM at idle and under load, at the same tick time. Leave it as it is unless you have a reason:
MIMALLOC_ARENA_EAGER_COMMITandMIMALLOC_PURGE_DELAYstill override it. More: Memory and startup.
Pterodactyl
The source folder has two eggs for the Pterodactyl game server panel (version 1.x; Pelican can import them too). Both use the Docker image above and start it the same way:
| Egg | File | For whom |
|---|---|---|
| Soulshale (Simple) | deploy/pterodactyl/egg-soulshale-simple.json |
Most servers: only the basic settings, with plain descriptions. Everything else keeps the value of the profile. |
| Soulshale | deploy/pterodactyl/egg-soulshale.json |
Every setting, for admins who want to tune. |
- In the admin panel, go to Nests → Import Egg (Pelican: Eggs → Import) and import the file you want.
- Create a server with the egg. The server's main port is its game port.
- Switch on Accept the Minecraft EULA, or accept the EULA prompt the panel shows on the first start.
A server can switch between the two eggs later (the server's Startup tab). The settings have the same names in both. Check the Startup page after a switch.
The Startup page:
- Image: one entry per Minecraft version Soulshale publishes images for (today Minecraft 26.3 - Beta, the default, which stays on Minecraft 26.3), plus Latest Minecraft - Beta, which follows new Minecraft versions on the next restart. Other new versions appear in the list after you import the egg again.
- Simple egg: server type (profile; the default is
paper, choosevanillafor behaviour that aims to match Vanilla as exactly as possible), name (MOTD), max players, game mode, difficulty, hardcore, whitelist, online mode, seed, view distance, world format and Bedrock players. - Full egg: the essentials come first, as switches and dropdowns with plain names. Everything else follows, grouped by area:
Server: …forserver.properties, thenPerformance: …,Storage: …,Exploits: …,Bedrock: …and so on. Each one names its default and range. - Technical settings left empty or set to
defaultkeep the value of the profile or of the file. - Bedrock players join on the server's port (UDP and TCP, so allocate both) unless Bedrock: Port names another one.
The eggs are made from the settings list and the list of Minecraft versions, so import them again after an update.
Next: First start.