跳到正文

A Simple Death Counter

作者:nanners34

一个简单的轻量级玩家死亡计数器。

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Description

A simple fabric mod that counts player deaths and kills. The mod counts the total deaths and kills and even specific types of deaths and kills. This mod allows you to display your own, another player, online and even offline, and the entire server’s death and kill count. This mod allows you to rank the server’s deaths and kills from most to least. The total death count of each player is displayed right below their name for convenience. This mod is compatible no matter how old the server is or how many players already have died, it should update automatically. 

Features

  • Many easy-to-use commands to display a death or kill count of their own, a specific player, or the whole server.
  • Options to display a specific death type or entities killed instead of just the total. (e.g) “/deathcounter get player333 zombie” will return the number of times player333 died to a zombie.
  • Useful Operator Commands that limit reasons to ever manually alter death count data.
  • A nametag that displays a player’s total deaths right above them.
  • Very easy setup and no need to manually enter data. Even if this mod is installed later in the server’s life, it will read the player data to make sure it gets the accurate death count when first installed.

Commands

Standard Commands.

/deathcounter help
/deathcounter get <player> [deaths/kills] [total/type] <type>
/deathcounter list [deaths/kills] [total/type] <type>
/deathcounter rank [player] <player> [deaths/kills] [total]
/deathcounter rank [server] [deaths/kills] [total/type] <type>

Operator Commands.

/deathcounter set <player> [deaths/kills] [total/type] <type> <amount>
/deathcounter clear <player> [deaths/kills] [total/type] <type>
/deathcounter remove <player>

Issues

This is will be a section on any known bugs or any limitations to the mod.

  • When loading player nbt data, it will only be able to get the total deaths and the deaths caused by entities. This is because Minecraft only stores that type of data and installing this mod later in the server life will cause no issues but it won’t be as accurate on death types that aren’t the total deaths or the deaths caused by entities.

Note

If there are any bugs, please comment on what the bug is and how it happened and I will try to fix it as fast as possible. If you want to see a specific feature in this mod, leave a comment below and I’ll try to accommodate to any suggestions. I hope you enjoy this mod.

This mod was based on an old plugin of mine. I decided to swap from bukkit to fabric because bukkit API is too limiting and bukkit servers are generally slow. If you want to check out the plugin, click here.

常见问题

A Simple Death Counter 支持哪些 Minecraft 版本?

A Simple Death Counter 支持 Minecraft Java 版 1.19–1.20,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

A Simple Death Counter 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分