Compatibility
Minecraft: Java Edition
26.2
Platforms
Supported environments
Server-side
Singleplayer
Tags
Creators
Details
Licensed MIT
Created 2 weeks ago
DeathMessages
DeathMessages is a small Minecraft server-side project that sends a private message to a player when they die, showing the block coordinates of their death.
The repository builds two platform artifacts:
- Paper plugin
- Fabric mod
Current message format:
You died at <x>, <y>, <z>.
Requirements
- Java 25
- Gradle wrapper included in this repository
Paper
- Paper API
26.2
Fabric
- Minecraft
26.2 - Fabric Loader
0.19.3or newer - Fabric API for Minecraft
26.2
Building
From the repository root, build both platform artifacts:
./gradlew :fabric:build :paper:build
Build only Paper:
./gradlew :paper:build
Build only Fabric:
./gradlew :fabric:build
The built jars are created at:
paper/build/libs/DeathMessages-1.0+26.2.jar
fabric/build/libs/DeathMessages-1.0+26.2.jar
Installation
Paper
- Build the Paper plugin jar.
- Copy
paper/build/libs/DeathMessages-1.0+26.2.jarinto your Paper server'spluginsdirectory. - Restart the server.
Fabric
- Build the Fabric mod jar.
- Copy
fabric/build/libs/DeathMessages-1.0+26.2.jarinto your Fabric server'smodsdirectory. - Make sure Fabric API is also installed in the server's
modsdirectory. - Restart the server.
Behavior
- Sends the message only to the player who died.
- Uses block coordinates from the player's death location.
- Does not broadcast death coordinates to other players.
- Paper listens for
PlayerDeathEvent. - Fabric listens for Fabric API's server living-entity death event and handles player deaths only.
Project Layout
paper/ Paper plugin source, metadata, README, and changelog
fabric/ Fabric mod source, metadata, README, and changelog
