DeathMessages 图标

DeathMessages

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0+26.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/deathmessage
资源信息

Minecraft 版本: 26.2

平台: paper

标签: adventure game-mechanics minigame

资源介绍

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.3 or 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

  1. Build the Paper plugin jar.
  2. Copy paper/build/libs/DeathMessages-1.0+26.2.jar into your Paper server's plugins directory.
  3. Restart the server.

Fabric

  1. Build the Fabric mod jar.
  2. Copy fabric/build/libs/DeathMessages-1.0+26.2.jar into your Fabric server's mods directory.
  3. Make sure Fabric API is also installed in the server's mods directory.
  4. 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
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Project 4J Server

价格:0 墨喵币
下载量:0

查看详情
Auto Reconnect Reforged

价格:0 墨喵币
下载量:0

查看详情
SupplyDrops

价格:0 墨喵币
下载量:0

查看详情
[Origin] Cloud Bunny

价格:0 墨喵币
下载量:0

查看详情