You can configure whether and how many items players lose when they die. This setting is configured per world.
By default, every world uses the Default gameplay rules (setting "GameplayConfig": "Default"). With these rules, players drop 50% of each item stack at the place of death, but at least one item. This only applies to items that can be dropped on death, for example ingredients, ores and food. Weapons, armor, tools and blocks like stone or wood stay in the inventory. In addition, the durability of the items drops by 10%.
How to Configure Item Loss
-
Stop the Server
Stop your server via the dashboard. -
Open the World Configuration
Connect to your server via SFTP and navigate to:/universe/worlds/<worldname>/config.jsonReplace
<worldname>with the name of your world (e.g.,default). -
Add Death Block
Find the"GameplayConfig"line and add theDeathblock below it:"Death": { "RespawnController": { "Type": "HomeOrSpawnPoint" }, "ItemsLossMode": "None", "ItemsAmountLossPercentage": 0.0, "ItemsDurabilityLossPercentage": 0.0 }Since more settings follow, the line
"GameplayConfig": "Default",must end with a comma, and there must also be a comma after the last closing bracket}of theDeathblock. -
Start the Server
Start your server for the changes to take effect.
Available Settings
| Setting | Description |
|---|---|
RespawnController |
Where players reappear after death: "HomeOrSpawnPoint" = the player's own respawn point, otherwise the world spawn point (default), "WorldSpawnPoint" = always at the world spawn point |
ItemsLossMode |
"None" = keep items, "All" = drop all items, "Configured" = use the percentage from ItemsAmountLossPercentage |
ItemsAmountLossPercentage |
Percentage of each item stack dropped on death (0.0-100.0). With any value above 0.0, at least one item per stack is dropped. Only applies with "Configured" and only to items that can be dropped on death (e.g., ingredients, ores, food) |
ItemsDurabilityLossPercentage |
Percentage of durability items lose on death (0.0-100.0). Applies in every mode |
Examples
Keep all items (relaxed):
"Death": {
"RespawnController": {
"Type": "HomeOrSpawnPoint"
},
"ItemsLossMode": "None",
"ItemsAmountLossPercentage": 0.0,
"ItemsDurabilityLossPercentage": 0.0
}
Lose all items (hardcore):
"Death": {
"RespawnController": {
"Type": "HomeOrSpawnPoint"
},
"ItemsLossMode": "All",
"ItemsAmountLossPercentage": 100.0,
"ItemsDurabilityLossPercentage": 0.0
}
Lose 50% of items (balanced):
"Death": {
"RespawnController": {
"Type": "HomeOrSpawnPoint"
},
"ItemsLossMode": "Configured",
"ItemsAmountLossPercentage": 50.0,
"ItemsDurabilityLossPercentage": 25.0
}
