▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/DeathMessages
DeathMessages

DeathMessages

This project adds a brief private message to a player with their coordinates upon their death.

Оцените первым
21
0

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

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.2.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:
Опубликован:4 недели назад
Обновлён:4 недели назад
Главная