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
1.0.1
Compatibility
Changes
added /deathbackup (player) (index #) command that restores inventories lost upon death only usable by ops. Indexes last 5 inventories per player (starts at 0 for latest always). can also /deathbackup list (player)
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:HqCmHyc5:U3WfvsjO"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:HqCmHyc5:U3WfvsjO"
}
