Server Death Logger
Just a basic mod for Neoforge 1.21.1 servers to log death reasons and positions with a command anyone can use; /lastdeath that will always return the coordinates of their most recent death (server logs deaths in "death_logs.txt"), Villagers are logged too
Screenshots

About this Mod
This mod is for Neoforge 1.21.1 servers (not meant to be installed on a client initially, but it may work). It logs the death reason and coordinates of all players and can return the 5 most recent deaths of any player to OPs via the /deathlog command, and any player can run /lastdeath to see their most recent death log. It also logs villager deaths. OP's are notified in chat whenever anyone/villager dies. I have NOT tested compatibility for other versions but I assume it works for 1.21+ only. Added new /deathbackup (player) (index #) command so OPs can restore items lost upon death (gravestone mod + lava, I'm looking at you.) Server indexes latest 5 deaths for each player with the index always beginning at 0 for the latest (0-4).
Available Versions
How to Install Server Death Logger on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set neoforge Loader
In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Server Death Logger". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Server Death Logger server crashes on startup – what to do?
Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is Server Death Logger compatible with neoforge?
Server Death Logger officially supports neoforge for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Server Death Logger – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Server Death Logger consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Rent Modded Server
Install Server Death Logger with just one click on your server.