Moving your Minecraft server to Gamehost
What to copy, in what order to do it on both sides, and the traps that cost you the world or the economy when you switch hosts.
Moving a server means copying the right folders and leaving the rest behind. Below is the list of what to take, the order of steps on both sides and the traps that can cost you the world or the economy.
What you actually move
A Minecraft server is just a folder of files, so moving it means copying the right things and skipping the rest. You take:
- the world: the
world,world_netherandworld_the_endfolders (or their equivalents if you renamed them), - plugins or mods together with their configuration,
- server.properties,
ops.json,whitelist.json,banned-players.json, - the database, if any plugin uses one.
You leave behind: logs, the cache folder, old engine .jar files and anything that gets generated on its own anyway. Copying those only makes the transfer longer.
Preparing at your old host
- Stop the server. Copying a world while it runs leaves half-written files, and that is the easiest way to corrupt a region of the map.
- Write down the version and engine. The game version and whether you run Paper, Spigot, Fabric or Forge. Without that, the new server will not load the world correctly.
- Pack the server folder into one archive. One large file transfers much faster than thousands of small ones.
- Download the archive through the file manager or SFTP.
Uploading to Gamehost
- Set the same engine and version as on the old server in Version and engine. You can change them later, but on the first start they have to match.
- Start the server once so it creates the folder structure, then stop it.
- Upload the archive in Files and extract it there. The file manager does this on the server side, so you do not transfer the files twice. See Files.
- Overwrite the files: the world, the plugins or mods folder and the config files.
- Start it and watch the console. The first start after a move takes longer, because the engine checks the whole world.
Prefer the classic way? The SFTP credentials are in SFTP connection, and you can upload everything with FileZilla or WinSCP. See SFTP. If you are only bringing a single player world, Uploading a single player world is the shorter guide.
The database
If a plugin keeps its data in MySQL, for example an economy or a land claim system, the folder alone is not enough. Export a dump of the database at your old host, create a new database in Databases in our panel, import the file, and then update the login details in the plugin's configuration.
Skipped the database? The plugin starts with an empty one and the whole economy is gone, even though the world is in place. This is the step people forget most often.
The address: how not to lose your players
After the move your server has a new address. If you have been handing out a raw IP, everyone has to enter the new one. If you used your own domain, you only update the DNS record and nothing changes for players.
That is why a move is a good moment to switch to a domain or subdomain. In the server header you can set a Custom address under gmhst.com, and the next change of host will be invisible to your players.
Before you shut down the old server, leave it running for another day or two. Someone will always join the old address, and it is better if they see a note about the move there than a connection error.
What can go wrong
The world does not load or the terrain is cut off
That almost always means copying while the server was running, or a version mismatch. A 1.21 world will not start on a 1.20 server. The other way round works, but the engine converts the map permanently. Take a backup before the first start.
Plugins start, but players have no permissions
The permissions file or the LuckPerms database did not come along. Check the plugins/LuckPerms folder and the database connection settings. More in LuckPerms: ranks and permissions.
The server runs slower than at your previous host
First check that the plan has as much RAM as the old one, then go through Minecraft server lag and TPS. After a move, the view distance from server.properties often comes back with a value that was tuned for a different machine.
Common questions
Will I lose the world when I move the server? No. The world is an ordinary folder that you copy with the rest of the files. As long as you keep the same game version, everything stays in place.
How long does a move take? For a normal survival server usually around fifteen minutes, most of it uploading the archive. Large maps with a modpack can take an hour.
Can I move the server without stopping it? It is not worth it. Copying a running world risks corrupting the region files, and that is one of the few things you cannot fix later.
File manager, SFTP and databases are in the panel from the first minute. See our Minecraft server hosting.