The death penalty defines what happens when a player dies in Hytale. In this article, you’ll learn how each death-related setting works and how to adjust them on your Aternos Hytale server.
What is the death penalty?
The death penalty in Hytale controls the consequences of player death. These settings determine where a player respawns and whether items are kept, lost, or partially damaged. By adjusting these values, server owners can fine-tune the difficulty and risk level of their world.
Configure the death penalty
All death-related settings can be configured in your Hytale world configuration on Aternos. Open the Files page of your server, navigate to your world folder, and open the config.json file. The section shown below contains all available death penalty options.
The image above shows an overview of all death-related settings. Each option is explained in detail below.
ItemsLossMode
This option controls how items are handled when a player dies. This link will take you directly to that option.
- None – Players keep all items after death.
- All – All carried items are lost on death.
- Configured – Item loss is based on the percentages configured below.
ItemsAmountLossPercentage
This value defines how many items are lost on death when ItemsLossMode is set to Configured.
The value is a percentage. For example, a value of 10 means that 10% of the player’s carried items will be removed when they die. This link will take you directly to that option.
ItemsDurabilityLossPercentage
This setting defines how much durability items lose on death when ItemsLossMode is set to Configured.
A value of 10 means that all affected items lose 10% of their durability when the player dies.
This link will take you directly to that option.
RespawnController Type
This setting defines where a player respawns after dying.
When set to HomeOrSpawnPoint, the player will respawn at their home location if one is set. If no home is available, the player will respawn at the world spawn point. This link will take you directly to that option.
After adjusting the desired values, save the file and restart your server to apply the changes.