Move a world to Vanillite and back

Take a world from Vanilla, Paper or Spigot to Vanillite, and take it back later.

Beta. Worlds from Minecraft 1.20 and newer work: Vanillite upgrades their chunks, entities and player data when they load (see below). Older than 1.20 is not supported. Always make a copy of the world first.

To Vanillite

  1. Stop your old server, so the world is saved.
  2. Copy the world folder somewhere safe (your backup).
  3. Put the world into your Vanillite server folder, with the name from level-name in server.properties (world by default).
    • Vanilla and Paper: the one folder world.
    • Spigot: the folders world, world_nether and world_the_end next to each other. Vanillite moves them into one world on the first start.
  4. Start Vanillite (Quick start in 5 minutes).

You should see: Done (…s)! in the log, and your buildings when you join. The world stays in Vanilla's format (Anvil), so nothing is changed in a way you cannot undo.

Player data (inventories, positions) lives in the world folder and moves with it. Plugin data does not (for example EssentialsX homes): copy the plugin's folder separately.

Worlds from older Minecraft versions

Vanillite reimplements Vanilla's data fixers, the code that Minecraft uses to bring old saves up to date. It covers the versions from 1.20 up to 26.3. A chunk, an entity or a player file that an older version wrote is upgraded once, when it loads, and saved in the current version. Items, text, mobs, block entities, block states and chunk data are all handled, for example a chest_boat of 1.21 becomes a birch_chest_boat like in Vanilla. Records that are current skip all of it, so a new world pays nothing.

We compared the result with Vanilla 26.3's own --forceUpgrade on eight worlds from 1.20.4 to 1.21.9: the upgraded records are the same, including Vanilla's own quirks. This is not a promise for every world: save formats of mods and plugins are not covered.

Want to upgrade everything at once instead of while you play? See vanillite upgrade-world in First start.

Move a whole Paper or Spigot server

Development version only. This is on the dev branch and not in 0.1.0-beta.4.

Instead of copying single parts, you can start Vanillite inside a copy of the old server folder. If the folder has no vanillite.toml yet and holds a bukkit.yml, a spigot.yml or Paper's config/paper-*.yml, the first start takes over:

  • Settings. It writes a vanillite.toml with profile = "paper" (or "spigot" without Paper's config/ files). Every setting of bukkit.yml, spigot.yml and Paper's config files that Vanillite has an equivalent for, and that differs from the profile, is added with a comment naming its source file. Examples: mob caps and spawn intervals, view and simulation distance, despawn and activation ranges, Velocity forwarding and the secret, anti-Xray, the exploit fixes. Your original server.properties is kept in vanillite-migration/.
  • Worlds. The default world with its Nether and End is used where it is. The extra worlds of Multiverse-Core (worlds.yml), world folders next to the default world and the worlds that Paper 26 keeps inside the default world are added as extra worlds, with their generator from Multiverse or bukkit.yml.
  • Plugins. The jars in plugins/ run on the Bukkit layer, as on any Vanillite server.

The old files (bukkit.yml, spigot.yml, Paper's and Multiverse's files) are only read, never changed. The log of the first start lists what was taken over, every setting that has no equivalent in Vanillite and every value that could not be used. To run the takeover again, delete vanillite.toml.

Make it faster (optional)

Vanillite's own world format is smaller and loads and saves faster (World storage). Stop the server, then:

vanillite convert --to vanillite

You should see: the conversion finishes with a message. The old files go to world-format-backup/. If it stops half way, run it again: it continues.

Back to Vanilla or Paper

Stop the server and write a copy in Vanilla's format into a new folder:

vanillite export my-world-copy

The new folder holds a normal Vanilla world. The server's own world stays as it is. Put the copy into a Vanilla or Paper server as its world folder.

Or switch the world itself back: vanillite convert --to anvil. A world that was never converted is Anvil already: just copy it.

Back to Spigot

Set storage.layout = "spigot" in vanillite.toml (or profile = "spigot"). Vanillite then keeps the Nether in world_nether and the End in world_the_end, like Spigot. The world must be in Anvil format (see above).

Good to know

  • Add --dir my-server to a command if you are not inside the server folder.
  • A world from a newer Minecraft version than the server is refused.
  • Every file is checked after a conversion. The original is kept until the new files are checked.
  • A world stays upgraded: you cannot take it back to the old Minecraft version afterwards. Keep your backup.

What next?

All commands: First start. Folder layouts and formats: Performance settings (the storage.* keys). Settings and the takeover: Configuration overview.

Next: Small hardware: 1 core and 1 GiB.