Installation
You can download a ready-made program, run Vanillite 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.4 for Minecraft 26.3 (after 0.1.0-beta.1 to 0.1.0-beta.3). 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.4 are on Roadmap and status.
Profile. A new server uses the
paperprofile: it behaves like a default Paper server. Setprofile = "vanilla"invanillite.toml(Docker:VANILLITE_PROFILE=vanilla) for behaviour that aims to match Vanilla as exactly as possible. A server that already has avanillite.tomlwithout a profile line keepsvanilla.
Download
Get the archive for your system from the GitHub releases:
| System | File |
|---|---|
| Linux, 64-bit x86 or ARM | vanillite-<version>-mc26.3-linux-x86_64.tar.gz / …-linux-aarch64.tar.gz |
| Windows, 64-bit | vanillite-<version>-mc26.3-windows-x86_64.zip |
| macOS, Apple Silicon or Intel | vanillite-<version>-mc26.3-macos-aarch64.tar.gz / …-macos-x86_64.tar.gz |
Each archive holds the server program (vanillite or vanillite.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.
Linux: the archive also holds vanillite-gnu. The Linux vanillite is a "static" program that runs on any distribution, but a static program cannot load plugins. So when plugins/ holds plugins, vanillite starts vanillite-gnu (the same code, built differently) in its place. You always start vanillite and do nothing else. Keep the files together. Details: Installing plugins.
Linux x86: the archive holds one more program, vanillite-x86-64-v3, built for newer CPUs (AVX2, from about 2013 on). It gives the same results with fewer CPU instructions. You always start vanillite: if the second file lies next to it and your CPU can run it, vanillite starts it in its place and writes CPU build: … to the log. Keep both files together. To always use the general build, set VANILLITE_CPU=baseline.
Windows: official vanillite.exe builds are code-signed (since beta.4). The publisher is "Open Source Developer Hannes Thöne". To check it, right click vanillite.exe → Properties → Digital Signatures. A release is published first and signed a little later. Until then the release notes say "code signature follows shortly", the file is not signed yet and Windows SmartScreen may warn on the first start. When it is signed, the Windows archive and SHA256SUMS on the release are replaced and the notes say it is code-signed; download it again then. A brand-new signed file may still show a short 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 vanillite once.
The proxy is not in the archives yet; build it from source.
Build from source
git clone https://github.com/hthoene/vanillite.git
cd vanillite
git checkout dev
cargo build --release
The first build takes a while. The server program is then at target/release/vanillite (vanillite.exe on Windows). The proxy is built too: target/release/vanillite-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/vanillite on Linux), and later builds reuse it. On a machine without internet or Java, extract the data on another machine and point VANILLITE_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 vanillite-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/vanillite, for linux/amd64 and linux/arm64. The easiest way is Docker Compose: save this as compose.yaml and run docker compose up -d.
services:
vanillite:
image: thoenehannes/vanillite:beta # or thoenehannes/vanillite:mc26.3-beta to stay on Minecraft 26.3
container_name: vanillite
restart: unless-stopped
ports:
- "25565:25565/tcp" # Minecraft Java
# Bedrock players: remove the # on these two lines and on VANILLITE_BEDROCK__ENABLED below
# - "19132:19132/udp"
# - "19132:19132/tcp"
environment:
VANILLITE_EULA: "true" # you accept the Minecraft EULA (https://aka.ms/MinecraftEULA)
VANILLITE_MOTD: "My Vanillite server"
VANILLITE_MAX_PLAYERS: "20"
VANILLITE_VIEW_DISTANCE: "10"
# VANILLITE_PROFILE: "vanilla" # default: paper. vanilla = aims to match Vanilla as exactly as possible; also spigot, performance, crowd, technical
# VANILLITE_STORAGE__WORLD_FORMAT: "anvil" # Vanilla's region files instead of the own format
# VANILLITE_BEDROCK__ENABLED: "true" # Bedrock players
volumes:
- vanillite-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 vanillite
tty: true
# Small machine? Remove the # on the next two lines. Vanillite reads the limits itself.
# cpus: 1
# mem_limit: 1g
volumes:
vanillite-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 vanillite -p 25565:25565 -v vanillite-data:/data \
-e VANILLITE_EULA=true --stop-timeout 60 thoenehannes/vanillite: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.4-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 vanillite . 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 VANILLITE_MOTD="My server"or-e VANILLITE_MAX_PLAYERS=50(see Environment variables). VANILLITE_PROFILEpicks the profile: the default ispaper;-e VANILLITE_PROFILE=vanillaaims to match Vanilla as exactly as possible.VANILLITE_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
vanillite health, which pings the server like the server list does. - Console: with Compose,
docker compose attach vanillite; withdocker run, start the container with-itand usedocker attach vanillite. Leave withCtrl+P,Ctrl+Q;Ctrl+Cstops the server. See Server console and first admin steps. - For Bedrock players, add
-e VANILLITE_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 VANILLITE_CPU=baselinekeeps the general one. - The memory allocator (mimalloc) commits memory only when it is used and returns freed pages at once. 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 the developers' 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.
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 |
|---|---|---|
| Vanillite (Simple) | deploy/pterodactyl/egg-vanillite-simple.json |
Most servers: only the basic settings, with plain descriptions. Everything else keeps the value of the profile. |
| Vanillite | deploy/pterodactyl/egg-vanillite.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 Vanillite 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.