Перейти к содержимому
Mineforgian

Player Death Location

Shows your last death locations with a simple command.

Загрузки
217
Подписчики
1
Обновлён
18 марта 2026 г.
Лицензия
All-Rights-Reserved

Опубликован 26 декабря 2025 г.

PlayerDeathLocation

PlayerDeathLocation tracks the location of every death and lets players look up their recent death coordinates directly in chat. Admins can view the death history of any player and teleport to those locations.


Commands

Command Description
/deaths View your own death locations (aliases: /playerdeaths, /pd)
/deaths <player> View another player's death locations
/deaths teleport <ID> Teleport to one of your own deaths
/deaths teleport <player> <ID> Teleport to another player's death
/deaths delete <ID> Delete one of your own death entries
/deaths delete <player> <ID> Delete another player's death entry
/deaths help Show the help page

Permissions

Permission Default Description
playerdeaths.view.own true View own death locations
playerdeaths.view.others op View other players' deaths
playerdeaths.teleport.self op Teleport to own deaths
playerdeaths.teleport.others op Teleport to others' deaths
playerdeaths.delete.self true Delete own death entries
playerdeaths.delete.others op Delete others' death entries

Configuration

config.yml is generated automatically on first start. All message texts are configurable. Missing keys from plugin updates are added automatically without overwriting existing values.

Key options:

  • max-deaths-per-player - How many deaths to keep per player (default: 10)
  • teleport-set-creative - Switch to creative on teleport if the player has a gamemode permission (default: true)

Installation

  1. Download the latest release
  2. Drop the .jar into your server's plugins folder
  3. Start or restart your server

Requires Spigot or Paper 1.21+.

Ченджлог

2.0Релиз26.1.1, 26.1.2, 26.2 · 18 марта 2026 г.

V2.0 Major Overhaul

This is a full rewrite of PlayerDeathLocation. Nearly every part of the plugin has been reworked for better usability, configurability, and correctness.

New Features

  • Custom messages: All in-game messages are now configurable in config.yml. Only plain text; the visual style is handled by the plugin itself.
  • Teleport to death location: Click the [✈ Teleport] button directly in chat. Uses native Bukkit teleport no command hacks, no console spam.
  • Delete death entries: Click [✕ Delete] in chat to remove an entry. Requires playerdeaths.delete.self (granted to all players by default).
  • Auto creative on teleport: If a player has a gamemode permission (minecraft.command.gamemode, essentials.gamemode.*, or *), they are automatically switched to creative before teleporting. Can be disabled via teleport-set-creative: false in config.yml.
  • Void protection: Teleport Y coordinate is clamped to a minimum of -70 to prevent players from falling into the void.
  • Relative timestamps: Deaths are shown as 2m ago, 3h ago, 5d ago.
  • Configurable max deaths: max-deaths-per-player in config.yml (default: 10). Oldest entries are automatically removed when the limit is exceeded.
  • New aliases: /pd and /deaths both work as aliases for /playerdeaths.
  • Auto config migration: Missing config keys from new versions are automatically added on server start without overwriting existing values.

Improved Permission System

All actions are now gated by fine-grained permissions:

Permission Default Description
playerdeaths.view.own true View own death locations
playerdeaths.view.others op View other players' deaths
playerdeaths.teleport.self op Teleport to own deaths
playerdeaths.teleport.others op Teleport to others' deaths
playerdeaths.delete.self true Delete own death entries
playerdeaths.delete.others op Delete others' death entries

Improved Help Command

  • /deaths help now shows only commands the player has permission to use.

Bug Fixes

  • Fixed: Clicking the teleport/delete button caused an "unrecognized command" error when EssentialsX was installed. Both actions are now proper subcommands of /deaths.
  • Fixed: New config keys added in plugin updates were not written to existing config.yml files after a server restart.
  • Fixed: Deaths list used a sequential display counter (#1, #2, ...) instead of the real database ID, causing teleport/delete commands to target the wrong entry.

Breaking Changes

  • The internal /pdtp and /pddel commands have been removed. Use /deaths teleport <ID> and /deaths delete <ID> instead.
  • Config structure has changed. Old config.yml files will be auto-migrated, missing keys are added automatically, existing values are preserved.
1.0Релиз1.21.9, 1.21.10, 1.21.11 · 26 декабря 2025 г.

💫 Initial Release

Комментарии

Загружаем…