DeathPing
DeathPing is a Fabric client-side mod that automatically sends your coordinates to chat when you leave a server, helping friends locate and rescue you in critical moments like death.
截图
介绍
DeathPing Mod
DeathPing is a Minecraft Fabric mod that automatically sends your coordinates to chat or a private message when you die, press a keybind, or disconnect from a server. Customize the message format and behavior through an in-game
configuration screen.
Overview
- Mod ID: deathping
- Type: Client-side utility mod
- Supported Version: Minecraft 1.21
- Features:
- Sends coordinates on death, keybind press (default: ESCAPE), or disconnection.
- Supports private messaging with a configurable recipient.
- Customizable message formats using placeholders (e.g., {x}, {y}, {z}, {player}, {dimension}, {death_cause}).
- Accessible configuration screen via ModMenu (optional).
Installation
- Ensure you have Fabric Loader and Fabric API installed for your Minecraft version.
- Download the latest version of DeathPing
- Place the
.jarfile in your Minecraftmodsfolder. - (Optional) Install ModMenu for an in-game configuration screen.
- Launch Minecraft and enjoy!
Configuration
- Access: Open the configuration screen by pressing
O(default keybind) or through ModMenu if installed. - Options:
- Use Private Message: Toggle to send coordinates privately (default: false).
- Private Message Recipient: Enter the username to send private messages to (required if private messaging is enabled).
- Keybind Message Format: Customize the message sent on keybind press (default: “[DeathPing] {player}’s coords: X: {x}, Y: {y}, Z: {z} in {dimension}”).
- Death Message Format: Customize the message sent on death (default: “[DeathPing] {player} died at X: {x}, Y: {y}, Z: {z} in {dimension} ({death_cause})”).
- Disconnect Message Format: Customize the message sent on disconnect (default: “[DeathPing] {player} disconnected at X: {x}, Y: {y}, Z: {z} in {dimension}”).
Usage
- Send Coordinates: Press
ESCAPE(default) to manually send your current coordinates. - Death Detection: Automatically sends coordinates when you die, including the death cause.
- Disconnect Notification: Sends coordinates when you disconnect from a server via the “Disconnect” button.
- Messages are sent to chat unless private messaging is enabled with a recipient.
Keybinds
- Send Coordinates:
ESCAPE(customizable via controls menu). - Open Config Screen:
O(customizable via controls menu).
Building from Source
- Clone the repository:
git clone [insert repository URL]. - Set up the project with Gradle:
./gradlew genSources. - Build the mod:
./gradlew build. - Find the
.jarfile in thebuild/libsfolder.
Dependencies
- Fabric Loader
- Fabric API
- Cloth Config API (for configuration)
- ModMenu (optional, for configuration screen)
Contributing
Feel free to submit issues or pull requests on the GitHub repository. Contributions are welcome!
License
This mod is licensed under the MIT License. See the LICENSE file for details.
常见问题
DeathPing 支持哪些 Minecraft 版本?
DeathPing 支持 Minecraft Java 版 1.21,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
DeathPing 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分