|
| 1 | +--- |
| 2 | +title: Hytale |
| 3 | +layout: default |
| 4 | +lang: en |
| 5 | +category: Tutorials |
| 6 | +order: 205 |
| 7 | +--- |
| 8 | + |
| 9 | +Hytale is a sandbox game developed by Hypixel Studios. The overall pixel style and gameplay mechanics are similar |
| 10 | +to Minecraft, with more advanced character animations and effects. |
| 11 | + |
| 12 | +The game features many biomes, mobs, and items, as well as mod support. |
| 13 | + |
| 14 | +## Setting Up the Environment |
| 15 | + |
| 16 | +With GameAP, you can easily create, manage, and configure a Hytale game server. |
| 17 | + |
| 18 | +First, you need to [install GameAP](/en/get_started.html#panel-installation): |
| 19 | + |
| 20 | +* [Installing GameAP on Linux](/en/install/install_on_linux.html) |
| 21 | +* [Installing GameAP on Windows](/en/install/install_on_windows.html) |
| 22 | + |
| 23 | +### Installing GameAP Daemon |
| 24 | + |
| 25 | +GameAP Daemon is an agent responsible for managing game servers on dedicated machines. |
| 26 | +It can be installed either on the same machine running GameAP or on a separate machine. |
| 27 | + |
| 28 | +When installing GameAP, you can choose a full installation of the panel together with the Daemon using the `--with-daemon` flag. |
| 29 | + |
| 30 | +## Installing Hytale Server in GameAP |
| 31 | + |
| 32 | +Navigate to **Administration** → **Game Servers** → **Create** |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +* In the "Name" field, enter any name for your server. |
| 37 | +* In the "Game" field, select the Hytale option. |
| 38 | +* In the "Dedicated Server" field, select the desired node where the game server will be hosted. |
| 39 | +* In the IP field, select the desired address for your server, then you can choose an available port or use the suggested one. |
| 40 | +* Enter the game server port, default is 5520. You don't need to enter rcon and query ports. |
| 41 | + |
| 42 | +### Configuration After First Launch |
| 43 | + |
| 44 | +After the first launch, you need to complete several authorization steps. |
| 45 | + |
| 46 | +#### Authorizing the Game Server File Downloader |
| 47 | + |
| 48 | +After the first launch, you need to authorize the device running the game server. |
| 49 | +In the game server console, find the line with the authorization link, copy it, and open it in your browser. |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | +> Note! To download the game server files, you must own the game. |
| 54 | +> If you don't own the game, you will see the message |
| 55 | +> "error fetching manifest: could not get signed URL for manifest: could not get signed URL: HTTP status: 403 Forbidden" |
| 56 | +
|
| 57 | +During the authorization process on the developer's website, you will need to enter a code that will be sent to your email. |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | +After entering the code, click "Verify". |
| 62 | +Then, in the popup window, click "Approve" to grant access to your account. |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | +After this, you will see a message that the device has been authorized. |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | +The game server files will start downloading. This may take some time |
| 71 | +depending on your internet connection speed. |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | +#### Authorizing the Game Server |
| 76 | + |
| 77 | +After the game server files have been downloaded, you need to authorize the game server itself. |
| 78 | +To do this, enter the command `/auth login device` in the game server console. |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | +After this, a line with an authorization link will appear in the game server console, |
| 83 | +similar to the file downloader authorization process. |
| 84 | +Copy the link and open it in your browser, then repeat the same steps as with the file downloader authorization. |
| 85 | + |
| 86 | +If successful, you will see a message in the game server console that authorization was successful (`Authentication successful! Mode: OAUTH_DEVICE`) |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | +#### Automatic Authorization on Each Startup |
| 91 | + |
| 92 | +By default, after authorization, you will need to enter the `/auth login device` command |
| 93 | +to authorize the game server on each startup. You will see this message: |
| 94 | +``` |
| 95 | +WARNING: Credentials stored in memory only - they will be lost on restart! |
| 96 | +To persist credentials, run: /auth persistence <type> |
| 97 | +Available types: Memory, Encrypted |
| 98 | +``` |
| 99 | + |
| 100 | +To avoid entering the authorization command every time, enable credential persistence by running the command: |
| 101 | +``` |
| 102 | +/auth persistence Encrypted |
| 103 | +``` |
| 104 | + |
| 105 | +After this, an `auth.enc` file will appear in the game server root directory, |
| 106 | +which will store the encrypted authorization data. |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | +### Game Server Settings |
| 111 | + |
| 112 | +#### File-Based Settings |
| 113 | + |
| 114 | +Most Hytale game server and world settings are configured through configuration files. |
| 115 | + |
| 116 | + |
| 117 | +| Path | Description | |
| 118 | +|---------------------|--------------------------------------| |
| 119 | +| .cache/ | Game server cache | |
| 120 | +| logs/ | Game server logs | |
| 121 | +| mods/ | Installed mods | |
| 122 | +| universe/ | World files and player data | |
| 123 | +| bans.json | Banned players | |
| 124 | +| config.json | Main game server settings | |
| 125 | +| permissions.json | Permission settings | |
| 126 | +| whitelist.json | Whitelist | |
| 127 | + |
| 128 | +The main settings are located in the `config.json` file. |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | +Here you can configure the following parameters: |
| 133 | +* `ServerName` — your server name that will be displayed in the server list. |
| 134 | +* `MaxPlayers` — the maximum number of players that can be on the server at the same time. |
| 135 | +* `ServerPassword` — password for accessing your server if you want to make it private. |
| 136 | +* `MaxViewRadius` — the maximum distance at which players can see objects in the world. |
| 137 | + Setting too high a value may negatively affect server performance. |
| 138 | + View distance is the main factor affecting RAM usage. |
| 139 | +* `MOTD` — message of the day that will be displayed to players when connecting to the server. |
| 140 | + |
| 141 | + |
| 142 | +World settings and data are located in the `universe/worlds/` directory, which contains world folders. |
| 143 | +Each world folder has a `config.json` file with world settings, for example `universe/worlds/default/config.json`: |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | +Here you can configure the Seed (world generation seed), various generation parameters, chunk settings, NPC, PVP, |
| 148 | +and other parameters. |
| 149 | + |
| 150 | +### Useful Links |
| 151 | + |
| 152 | +* [Official Hytale Website](https://hytale.com/) |
| 153 | +* [Manual on the Official Website](https://support.hytale.com/hc/en-us/articles/45326769420827-Hytale-Server-Manual) |
0 commit comments