How to Change the Death Penalty on Your Hytale Server
Hytale lets you control how death affects a player's inventory. You can configure whether players lose all items, no items, or a percentage of items and durability when they die.
Before you start: Stop your server before editing configuration files.
- Log in to the Game Control Panel and stop your server.
- Navigate to the Configuration Files page.
- Open the World Config File (
universe\worlds\default\config.json) using the Text Editor. - Locate the
"GameplayConfig": "Default",line and press Enter to add a new line after it. - Paste the following block:
"Death": { "RespawnController": { "Type": "HomeOrSpawnPoint" }, "ItemsLossMode": "Configured", "ItemsAmountLossPercentage": 10.0, "ItemsDurabilityLossPercentage": 10.0 }, - Set
ItemsLossModeto one of the following values:"All"- The player loses every item in their inventory."None"- The player loses no items."Configured"- The player loses a percentage of items and durability (see below).
- If you chose
"Configured", adjust these values to your preference:ItemsAmountLossPercentage- Percentage of items lost from the player's inventory on death.ItemsDurabilityLossPercentage- Percentage of durability lost from items remaining in the player's inventory on death.
- Click Save & Exit.
Start your server. The death penalty settings take effect immediately for all players.
For related gameplay settings, see how to change server settings.