Fabric Death Messages

Quick rating

Fabric Death Messages

No reviews yet

a fabric mod that let's you customize various death messages for your server

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.0.0
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Fabric Death Messages

Ol1Tcf8.png

Note: this mod is server side only and won't work on clients

A Fabric mod that executes and sends configurable commands and messages respectively on certain events triggered by a player, such as Dying, Joining a server, Killing another player, etc.

The config file is located in the config directory (config/player_events.json) and looks like this:

{
  "death": {
    "no_entity": [
      [
        "cactus",
        "${player} was pricked to death"
      ],
      [
        "drown"
      ],
      [
        "fall"
      ],
      [
        "flyIntoWall"
      ],
      [
        "hotFloor"
      ],
      [
        "inFire"
      ],
      [
        "inWall"
      ],
      [
        "indirectMagic"
      ],
      [
        "lava"
      ],
      [
        "lightningBolt"
      ],
      [
        "onFire"
      ],
      [
        "outOfWorld"
      ],
      [
        "starve"
      ],
      [
        "wither"
      ]
    ],
    "yes_entity": [
      [
        "entity.minecraft.bee",
        "${player} was stung to death"
      ],
      [
        "entity.minecraft.blaze"
      ],
      [
        "entity.minecraft.cave_spider"
      ],
      [
        "entity.minecraft.creeper"
      ],
      [
        "entity.minecraft.dolphin"
      ],
      [
        "entity.minecraft.drowned"
      ],
      [
        "entity.minecraft.elder_guardian"
      ],
      [
        "entity.minecraft.ender_dragon"
      ],
      [
        "entity.minecraft.enderman"
      ],
      [
        "entity.minecraft.endermite"
      ],
      [
        "entity.minecraft.ghast"
      ],
      [
        "entity.minecraft.guardian"
      ],
      [
        "entity.minecraft.hoglin"
      ],
      [
        "entity.minecraft.husk"
      ],
      [
        "entity.minecraft.illusioner"
      ],
      [
        "entity.minecraft.iron_golem"
      ],
      [
        "entity.minecraft.llama"
      ],
      [
        "entity.minecraft.panda"
      ],
      [
        "entity.minecraft.phantom"
      ],
      [
        "entity.minecraft.piglin"
      ],
      [
        "entity.minecraft.piglin_brute"
      ],
      [
        "entity.minecraft.pillager"
      ],
      [
        "entity.minecraft.polar_bear"
      ],
      [
        "entity.minecraft.pufferfish"
      ],
      [
        "entity.minecraft.ravager"
      ],
      [
        "entity.minecraft.shulker"
      ],
      [
        "entity.minecraft.silverfish"
      ],
      [
        "entity.minecraft.skeleton"
      ],
      [
        "entity.minecraft.slime"
      ],
      [
        "entity.minecraft.spider"
      ],
      [
        "entity.minecraft.stray"
      ],
      [
        "entity.minecraft.tnt"
      ],
      [
        "entity.minecraft.vex"
      ],
      [
        "entity.minecraft.vindicator"
      ],
      [
        "entity.minecraft.witch"
      ],
      [
        "entity.minecraft.wither"
      ],
      [
        "entity.minecraft.wither_skeleton"
      ],
      [
        "entity.minecraft.wolf"
      ],
      [
        "entity.minecraft.zoglin"
      ],
      [
        "entity.minecraft.zombie"
      ],
      [
        "entity.minecraft.zombie_villager"
      ],
      [
        "entity.minecraft.zombified_piglin"
      ]
    ],
    "broadcast_to_everyone": true
  },
  "join": {
    "actions": [
      "Welcome ${player}",
      "/say Hello ${player}"
    ],
    "broadcast_to_everyone": true
  },
  "kill_entity": {
    "actions": [
      "${player} killed ${killedEntity}"
    ],
    "broadcast_to_everyone": true
  },
  "kill_player": {
    "actions": [
      "${player} killed ${killedPlayer}",
      "F ${killedPlayer}"
    ],
    "broadcast_to_everyone": true
  },
  "leave": {
    "actions": [
      "Goodbye ${player}!",
      "/say Hope to see you soon ${player}"
    ],
    "broadcast_to_everyone": true
  }
}

For death you have sample keys to use, if no message is given as second argument then it is considered disabled and the default death message will be displayed.

There are probably some yesEntity or noEntity sources that were omitted, feel free to add them to your config file and everything should work.

For every other field in actions you can define multiple commands, death is the only exception.

Formatting

0 is black
1 is dark blue
2 is dark green
3 is dark aqua
4 is dark red
5 is dark purple
6 is gold
7 is gray
8 is dark gray
9 is blue
a is green
b is aqua
c is red
d is light purple
e is yellow
f is white
----------------------------------------------------
k is obfuscated
l is bold
m is strikethrough
n is underline
o is italic

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works