Installation & Setup
Installation & Setup
Complete step-by-step guide to installing both the Pelican Panel plugin and the Hytale server-side Java mod, configuring the API connection, and verifying everything works.
Prerequisites
- Pelican Panel version 1.0.0+ installed and running
- PHP 8.1, 8.2, or 8.3 on the Panel server
- A Hytale game server managed by the Panel
- Network access from the Panel server to the Hytale server on port 5550 (default)
storage/andbootstrap/cache/writable (permissions0755, owner: web server user)
Step 1: Install the Panel Plugin
- Download the latest
hytale-adminplugin release - Place it in your Pelican Panel's
plugins/directory:/var/www/pelican/plugins/hytale-admin/ - Verify the directory structure:
plugins/hytale-admin/ ├── src/ ├── config/ ├── resources/ └── plugin.json - Clear the application cache:
php artisan cache:clear php artisan config:clear php artisan view:clear - Verify the plugin appears under Admin Panel → Plugins as "Hytale Admin Panel"
Step 2: Configure the Egg
The plugin uses the hytale-admin feature flag to determine which servers show the admin panel.
- Go to Admin Panel → Eggs
- Edit your Hytale server Egg (e.g., "Hytale Server")
- Add
hytale-adminto the Features field:
If the Egg already has features:["hytale-admin"]["steam_disk_space", "hytale-admin"] - Click Save
Important: The feature flag must be exactly
hytale-admin(lowercase, hyphenated). Variations likeHytaleAdminorhytale_adminwill not work.
Step 3: Install the Java Mod on the Server
The Java mod is the server-side component that exposes the REST API.
- Navigate to your server → Hytale Admin in the sidebar
- Go to the Setup tab
- Click Install Mod — the plugin uploads the bundled JAR from
resources/mod/to the server'smods/directory - Success notification: "Java mod installed successfully"
- Restart the Hytale server for the mod to load
Integrity Verification
The plugin uses RSA-2048 signature verification and SHA-256 hash comparison to ensure mod integrity:
| Check | What it verifies |
|---|---|
| RSA-2048 signature | The JAR is authentically from Eranio (public key hardcoded) |
| SHA-256 hash | The installed JAR matches the bundled version exactly |
After installation, click Verify Integrity to run both checks:
- Success: "Integrity check passed"
- Failure: "SHA-256 mismatch" — reinstall the mod
Step 4: Configure the API Connection
After the Java mod starts for the first time, it generates a configuration file at:
mods/Eranio_HytaleAdminAPI/config.json
Configuration Reference
| Key | Default | Description |
|---|---|---|
token |
(auto-generated) | API authentication token — used in X-Admin-Token header |
port |
5550 |
HTTP server port for the REST API |
maxChatHistory |
500 |
Maximum chat messages the API retains |
requestTimeout |
10 |
HTTP request timeout in seconds |
chatPollInterval |
3 |
Chat UI poll interval in seconds |
backupDir |
(auto) | Backup storage directory |
worldDir |
(auto) | World data directory |
modsDir |
(auto) | Mods directory |
gameLanguage |
'auto' |
Game item translation language override |
itemsPerPage |
15 |
Items shown per page in tables |
The plugin reads this configuration automatically via the Daemon file API. No manual configuration needed unless you want to customize values.
Security Note: The
tokenis auto-generated and should be kept secret. It authenticates all API requests. If compromised, stop the server, change the token inconfig.json, and restart.
Step 5: First Launch
- Ensure the Hytale server is running with the Java mod loaded
- Navigate to your server → click Hytale Admin in the sidebar
- The plugin connects to the Java mod API and displays:
- Dashboard with server status (players, TPS, uptime)
- Navigation tabs for all features
- If connection fails, you'll see "Hytale API error" in logs
Connection Troubleshooting
| Symptom | Cause | Solution |
|---|---|---|
| "Hytale Admin" not in sidebar | Feature flag missing | Add hytale-admin to Egg features |
| Blank dashboard | Java mod not running | Restart server, check mod loaded |
| "Hytale API config not found" | config.json missing |
Server never started with mod, or mod failed to load |
| "Hytale API error: /status" | API unreachable | Check port 5550, firewall, mod running |
| Connection timeout | Port blocked | Open port 5550 between Panel and server |
Step 6: Admin Settings
On the Setup tab, you can configure:
| Setting | Description |
|---|---|
| Total Memories | Number of discoverable memories (default: 240) |
| Game Language | Override game item translation language (auto = follows panel locale) |
| SkipModValidation | Toggle between empty string and current server revision — useful during testing |
Success: "Admin settings saved" Failure: "Settings save failed"
Uninstalling the Mod
- Go to Setup tab → click Uninstall Mod
- The JAR is deleted from the server's
mods/directory - Success: "Java mod uninstalled"
- Restart the server
- The panel plugin can remain installed but will show connection errors without the mod
Verification Checklist
| Check | Expected | If failing |
|---|---|---|
| Plugin in Admin → Plugins | "Hytale Admin Panel" listed | Wrong path or cache not cleared |
| "Hytale Admin" in sidebar | Visible for servers with hytale-admin feature |
Feature flag missing on Egg |
| Java mod on server | mods/EranioHytaleAdminAPI-*.jar exists |
Install via Setup tab |
| Config file | mods/Eranio_HytaleAdminAPI/config.json exists |
Start server once with mod |
| Dashboard loads | Shows TPS, players, uptime | API connection working |
| Integrity check | "Passed" | Reinstall mod if mismatch |
Permission System
The plugin uses 16 granular permissions to control access. See the dedicated Permissions guide for the full reference. By default, server owners have all permissions.