promotional bannermobile promotional banner

Balanced Death teleport

Adds a command that teleports you to your last death, but it only works within a range of 1000 blocks!
Back to Files

Balanced Death teleport Vers 3

File namedeathcommandmod-3.0.jar
Uploaded
Jul 19, 2026
Downloads
105
Size
11.5 KB
Mod Loaders
Forge
File ID
8464143
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:balanced-deathteleport-1327135:8464143")

Learn more about Curse Maven

What's new

# Changelog — Balanced Deathteleport (DeathCommandMod)

## 3.0 — 2026-07-19 · Minecraft 1.20.1 · Forge 47.4.0

### Added
- **Death locations now survive server restarts and relogging.** The last death (position, dimension, and whether `/death` was already used) is stored in the player's data file instead of server memory.

### Fixed
- **`/balanceddeath type on|near` had no effect.** The command reported success, but the teleport logic kept using the value from the config file. Type changes made in-game now actually apply.
- **Settings were not saved.** Range and type set via `/balanceddeath` were lost on server restart. Both now write directly into `config/deathcommandmod-common.toml` and persist.
- **Range from the config file was ignored.** The `balancedDeathRange` entry now works — editing it (or the type) in the file also applies immediately while the game is running, no restart needed.
- **Near mode could teleport you *away* from your death point.** If you were already closer than the configured radius, `/death` moved you out to exactly that radius. Now it tells you that you are already within range, does not teleport, and your `/death` stays usable.
- **Dimension is now tracked with the death location.** Previously, dying in the Nether and using `/death` in the Overworld teleported you to the Nether coordinates *in the Overworld*. In `near` mode, `/death` now teleports you correctly into the dimension you died in; in `on` mode it is rejected from a different dimension (the distance limit cannot apply across dimensions).
- **Wrong error message before the first death.** Players who had never died got "You already used /death" — they now correctly get "No death location found."
- **`/death` is only consumed on an actual teleport.** Denied attempts (out of range, wrong dimension, already within radius) no longer use up your one teleport per death.
- Command failure paths now return a proper failure result instead of success.

### Changed
- The `balancedDeathType` config entry is validated — only `on` and `near` are accepted.
- Config comments rewritten in English and now explain what the range means in each mode.

### Notes
- `/balanceddeath` remains OP-only (permission level 2).

This mod has no additional files