How to Close Your Server in Hytale
In this article
To close your Hytale server, you need to stop the server process—either through the server console, a hosting panel, or by using a command. The exact steps depend on how you run your server. This guide covers the most common methods: dedicated server software, third-party hosting, and single-player worlds that act as servers. Before you start, make sure you have access to the server's console or control panel, and that you've saved any progress you want to keep.
What You'll Need
- Access to the server console (if running a dedicated server) or the hosting provider's control panel.
- The server's command-line interface (CLI) if you're using a dedicated server.
- Administrator permissions on the server (for most commands).
Step-by-Step
Method 1: Closing a Dedicated Server via Console
- Open the terminal or command prompt where the server is running. This is usually the window you launched the server from.
- Type
stopand press Enter. This is the standard Hytale server shutdown command. It triggers a graceful shutdown, saving the world and kicking all players. - Wait for the server to finish shutting down. You'll see a message like "Server shutting down" and then the process will exit. Do not force-close the window until you see this message.
- If the
stopcommand doesn't work (e.g., the server is frozen), you may need to useCtrl+C(on Windows/Linux) orCmd+C(on macOS) to interrupt the process. This is a forced shutdown and may not save the world cleanly.
Method 2: Closing a Server via a Hosting Panel
- Log in to your hosting provider's website (e.g., Apex Hosting, BisectHosting, or your own panel).
- Navigate to your server's control panel. Look for a "Console" or "Terminal" tab.
- In the console input box, type
stopand press Enter. This will send the shutdown command to the server. - Alternatively, look for a "Stop" or "Power Off" button in the panel. This does the same thing as the
stopcommand, but may be labeled differently depending on the provider. - Wait for the server status to change to "Offline" or "Stopped" before closing the panel.
Method 3: Closing a Single-Player World (Local Server)
- If you're playing in a single-player world that you've opened to friends (using the "Open to LAN" feature), closing it is simply a matter of exiting the world.
- Press the
Esckey to open the game menu. - Click "Save and Quit" or "Quit to Main Menu." This will stop the local server and save your world.
- If you want to completely close the game, exit Hytale from the main menu.
Method 4: Using a Server Manager Script (Advanced)
- If you're running a server with a custom script (e.g., a .bat or .sh file), you can close it by sending the
stopcommand to the server's stdin. This is often done with a tool likescreenon Linux or by using a command likeecho "stop" | ./server.sh. - If you're using a control panel like Pterodactyl, use the "Stop" button in the panel, which sends the shutdown command.
Common Mistakes
- Force-closing the window: Closing the terminal window without using the
stopcommand can cause corrupted world saves or lost player data. Always use the graceful shutdown command. - Using the wrong command: Some people try
exitorquit, but those may not work or may not trigger a clean save. Stick withstop. - Not waiting for the shutdown message: If you close the console before the server finishes saving, you risk data loss. Wait for the process to exit completely.
- Clicking "Stop" on the hosting panel multiple times: This can cause the server to hang or crash. Click once and wait.
Tips
- Before closing, announce to players that the server is going down. This gives them time to save and leave gracefully.
- If you're running a dedicated server, consider setting up automatic backups before shutdown. Many hosting panels have a backup feature.
- Use the
save-allcommand (if available) beforestopto force a save. In Hytale, thestopcommand already saves, but this is a good habit for modded servers. - If you're using a hosting panel, check if there's a "Restart" button—it's often safer to use that if you need to apply changes, rather than stopping and starting manually.
Troubleshooting
Server doesn't respond to the stop command
If the server is frozen or lagging, the command may not register. Try pressing Enter a few times, or wait a few seconds. If it still doesn't respond, you may need to force-close the process. On Windows, use Task Manager to end the Java process. On Linux, use kill or kill -9 (the latter is a last resort). Be aware that force-closing may cause corruption.
Server restarts instead of stopping
Some hosting panels have a "Restart" button that looks similar to "Stop." Double-check that you're clicking the correct button. Also, if you have a custom script that auto-restarts the server on exit, you'll need to disable that first.
Players can't connect after closing
That's normal—the server is off. If you want to prevent reconnects, you can set a password or whitelist before closing, but it's not necessary.
World data is lost after closing
If you force-closed the server, your world might be corrupted. Check the server logs for errors. If you have a backup, restore it. If not, you may need to accept the loss and start fresh. Always use the stop command to avoid this.
Frequently Asked Questions
Can I close my Hytale server from the game itself?
If you're playing on a single-player world opened to LAN, yes—just exit the world. For a dedicated server, no, you must use the console or hosting panel.
Will closing the server delete my world?
No, if you use the stop command, the world is saved. Force-closing may corrupt it, but it won't delete it unless you manually delete files.
How long does it take for the server to close?
Usually a few seconds. It depends on the world size and server performance. If it takes longer than a minute, something may be wrong.
Can I close the server while players are online?
Yes, but it's better to warn them first. The stop command will kick all players and save the world.
Do I need to close the server before updating Hytale?
Yes, you should stop the server before applying updates to avoid file conflicts.
What's the difference between stop and shutdown?
In Hytale, stop is the correct command. shutdown may not be recognized. Always use stop.