Change settings for the player death penalty
Do you want to keep your inventory after your death in the game?
Or lose everything?
Or only lose a part of it?
We explain what you need to do to make the necessary changes.
Recommended: Hytale uses the JSON format for its settings.
Configs in this format should always be validated on sites such as:
- https://jsonformatter.curiousconcept.com/
- https://jsonlint.com/
Always pay attention to upper-/lowercase spelling in the settings.
Configs in this format should always be validated on sites such as:
- https://jsonformatter.curiousconcept.com/
- https://jsonlint.com/
Always pay attention to upper-/lowercase spelling in the settings.
Download Config
Important: You must use an FTP client such as Filezilla or WinSCP.
- Filezilla: https://filezilla-project.org/
Please download the client here
- WinSCP: https://winscp.net/eng/index.php
- Filezilla: https://filezilla-project.org/
Please download the client here
- WinSCP: https://winscp.net/eng/index.php
- If not already running, start your server.
Important, otherwise the required FTP is not available. - Stop your server.
- Connect with your FTP client to the Gameserver FTP.
You can find the required login data in the server settings under FTP. - Navigate to the following directory:
hytale-data/Server/universe/worlds/NameOfYourWorld
The default name for your world isDefault - Download the
config.json.
Edit Config
Open the config.json with e.g. Notepad.
The available settings for death are the following:
| Setting | Description | Values |
|---|---|---|
| ItemsLossMode | Controls the general behavior on player death | None: Keep everything All: Lose everything Configured: Allows finer settings |
| ItemsAmountLossPercentage | Works only if Mode is Configured. Controls how many % of an item stack are lost on death | 0 - 100 |
| ItemsDurabilityLossPercentage | Works only if Mode is Configured. How much durability an item loses in % | 0 - 100 |
- Find the following line:
"GameplayConfig": "Default", - Insert the following section in the line after it:
"Death": {
"RespawnController": {
"Type": "HomeOrSpawnPoint"
},
"ItemsLossMode": "Configured",
"ItemsAmountLossPercentage": 50.0,
"ItemsDurabilityLossPercentage": 10.0
},
- The section should now look like this:
"GameplayConfig": "Default",
"Death": {
"RespawnController": {
"Type": "HomeOrSpawnPoint"
},
"ItemsLossMode": "Configured",
"ItemsAmountLossPercentage": 50.0,
"ItemsDurabilityLossPercentage": 10.0
},
- Adjust the values for
ItemsLossMode,ItemsAmountLossPercentageandItemsDurabilityLossPercentage. - Save your changes.
Upload Config
- Please make sure that your server is still stopped.
- Connect to the Gameserver FTP with your FTP client.
- Upload your modified
config.jsonto the following directory:hytale-data/Server/universe/worlds/NameOfYourWorld
Make sure the existing config.json is overwritten. - Start the server again.