One-command automated installer for Hytale Dedicated Server
Simple, fast, and fully automated setup with authentication persistence and tmux console access.
โ ๏ธ Unofficial tool - not affiliated with Hypixel Studios
wget https://raw.githubusercontent.com/johnoclockdk/Hytale-Server-Installer/main/Hytale-Server && chmod +x Hytale-Server && ./Hytale-Server installThat's it! Visit the authentication URL when prompted.
| Command | Description |
|---|---|
./Hytale-Server install |
Install Hytale server |
./Hytale-Server start |
Start the server |
./Hytale-Server stop |
Stop the server |
./Hytale-Server restart |
Restart the server |
./Hytale-Server status |
Show server status & configuration |
./Hytale-Server console |
Open server console |
./Hytale-Server logs |
View live server logs |
./Hytale-Server update |
Update to latest version |
./Hytale-Server backup |
Create manual backup |
./Hytale-Server restore |
Restore from backup |
./Hytale-Server config |
Edit server configuration |
./Hytale-Server rotate-logs |
Manage and rotate server logs |
./Hytale-Server autobackup |
Toggle automatic backups |
./Hytale-Server autorestart |
Toggle automatic restarts |
./Hytale-Server self-update |
Update the installer script |
./Hytale-Server check-update |
Check for installer updates |
./Hytale-Server autoupdate |
Toggle automatic installer updates |
./Hytale-Server mods list |
List available and installed mods |
./Hytale-Server mods install <name|number> |
Install a mod |
./Hytale-Server mods uninstall <name|number> |
Uninstall a mod |
./Hytale-Server uninstall |
Remove completely |
๐ก Run ./Hytale-Server without arguments to show all commands.
- ๐ง Zero Configuration - Installs Java 25 and all dependencies automatically
- ๐ Auto Authentication - OAuth login with encrypted persistence
- ๐ฅ๏ธ Tmux Console - Persistent console access (detach with
Ctrl+BthenD) - ๐ฏ No Systemd Required - Uses tmux and cron for maximum compatibility
- ๐ Auto-Start on Boot - Optional cron-based auto-start
- ๐พ Smart Backups - Manual & automatic backups with retention management (includes mods)
- ๐ Easy Restore - Quick world restoration from backup archives
- ๐ฅ Firewall Setup - Automatic UFW configuration
- โ๏ธ Custom Ports - Choose your own port during installation
- ๐ฎ Mod Manager - Install and uninstall mods by name or number
- ๐ JVM Configuration - Customize memory allocation during installation
- โฐ Auto-Restart - Optional scheduled server restarts every 3 days
- ๐ Status Monitoring - View server status, logs, and configuration at a glance
- ๐๏ธ Log Rotation - Compress and manage server logs
- ๐ Auto-Update - Automatic installer script updates (weekly check)
During installation, you'll be asked:
- Server Port - Choose a custom port or use default (5520)
- Auto-Backup - Enable daily backups at 1:00 AM (recommended)
- Auto-Restart - Enable auto-start on boot and periodic restarts every 3 days (optional)
- JVM Memory - Configure minimum and maximum heap size (default: 4GB min, 8GB max)
Start the server after installation:
./Hytale-Server startYou'll see an authentication URL:
๐ Visit: https://oauth.accounts.hytale.com/oauth2/device/verify?user_code=xxxxx
Authenticate once - your credentials persist across all restarts.
Create a backup of your world and configuration:
./Hytale-Server backupWhat's backed up:
universe/- World datamods/- Installed modsconfig.json- Server configurationpermissions.json- Player permissionsbans.json- Banned playerswhitelist.json- Whitelisted players
Enable daily backups at 1:00 AM:
./Hytale-Server autobackup- Keeps last 7 backups automatically
- Compressed archives save disk space
- Toggle on/off anytime
Restore your world from a previous backup:
./Hytale-Server restoreSelect from available backups - safety backup created automatically before restore.
The installer script can automatically update itself to get the latest features and bug fixes.
Check if a newer version is available:
./Hytale-Server check-updateUpdate the installer script to the latest version:
./Hytale-Server self-updateWhat happens:
- Creates a backup of the current script
- Downloads the latest version from GitHub
- Verifies the download
- Automatically rolls back if anything fails
Turn on automatic weekly updates (every Sunday at 2:00 AM):
./Hytale-Server autoupdateFeatures:
- Automatic weekly checks for script updates
- Safe update process with automatic rollback
- No interruption to your server
- Toggle on/off anytime
Note: Auto-update only updates the installer script itself, not the Hytale server. Use ./Hytale-Server update for server updates.
The server includes a built-in mod manager to easily install and manage mods.
./Hytale-Server mods listShows:
- Numbered list of available mods
- Installation status (installed/not installed)
- Currently installed mod sizes
Install by name:
./Hytale-Server mods install example-modOr by number:
./Hytale-Server mods install 1Process:
- [1/3] Preparing installation
- [2/3] Downloading mod
- [3/3] Verifying installation
Uninstall by name:
./Hytale-Server mods uninstall example-modOr by number:
./Hytale-Server mods uninstall 1Edit the script and add your mods to the MOD_URLS array:
MOD_URLS=(
["my-mod"]="https://example.com/downloads/my-mod.jar"
["another-mod"]="https://cdn.example.com/another-mod.jar"
)Mods are automatically saved as <mod-name>.jar in the mods/ directory.
| Requirement | Details |
|---|---|
| OS | Ubuntu 20.04+ or Debian 10+ (any Linux with cron) |
| Disk | 5 GB minimum |
| Access | sudo/root (for installation only) |
| Account | Valid Hytale account |
| Distribution | Versions | Status |
|---|---|---|
| Ubuntu | 20.04, 22.04, 24.04 | โ |
| Debian | 10, 11, 12, 13 | โ |
| Other Linux | With cron and tmux | โ |
---
## ๐ Monitoring
### Quick Status Check
View server status, enabled features, and configuration:
```bash
./Hytale-Server status
Shows:
- Server running/stopped state
- Auto-start on boot status
- Auto-backup enabled/disabled
- Auto-restart enabled/disabled
- Server IP and port
- Backup count
- Authentication status
- Installed mods count
View server logs in real-time:
./Hytale-Server logsAccess the server console:
./Hytale-Server consoleDetach from console: Ctrl+B then D
~/hytale_server/ # Main server files
โโโ HytaleServer.jar
โโโ Assets.zip
โโโ universe/ # World data
โโโ config.json
โโโ permissions.json
โโโ backups/ # Backup archives
โโโ logs/
~/.hytale-tools/ # Tools (isolated)
โโโ hytale-downloader-linux-amd64
โโโ .hytale-downloader-credentials.json
~/.hytale-temp/ # Temporary downloads
Server won't start
systemctl status hytale
journalctl -u hytale -fConsole not accessible
tmux ls # Check if session exists
./Hytale-Server console # ReconnectRe-authenticate manually
./Hytale-Server console
# Then in console:
/auth persistence Encrypted
/auth login deviceBackup failed or restore issues
# Check backup directory
ls -lh ~/hytale_server/backups/
# Check disk space
df -h
# Manual backup location
~/hytale_server/backups/hytale-backup-YYYYMMDD-HHMMSS.tar.gzNeed help? Join the Hytale Discord
This project is not affiliated with Hypixel Studios or the official Hytale project.
All trademarks and copyrights belong to their respective owners.