可自定义的死亡禁入
此项目为服务器添加了一个高度可自定义的死亡禁入系统,支持复活道具、可自定义的禁入时长以及自定义图形用户界面。
目前新掉落物方面可能存在一些问题。由于我目前没有可供测试的服务器,而且时间已经很晚了。
复活图腾
复活图腾是一种带有特殊标记的 不死图腾。当手持在任意一只手时,它会发出图腾粒子效果。它不会为持有者提供普通的不死图腾的救命效果;它的唯一功能是打开复活图形用户界面。
合成配方:
D R D
N T N
D R D
D = 钻石块, R = 红石块, N = 下界合金锭, T = 不死图腾
用法:
右键点击 复活图腾
为任何人打开复活图形用户界面
(仅当有人被禁入时有效)。
死亡事件
每当玩家死亡时:
- 在死亡发生位置的可配置死亡半径内的任何玩家都会播放一个凋灵生成音效。
- 如果启用了半径内死亡消息,则死亡消息仅显示给同一半径内的玩家,而不是整个服务器。
所有可用命令列表

命令:
/hb
显示当前禁入时长 + 用法说明。
/hb <duration>
设置死亡时使用的临时禁入时长。
示例: /hb 3d 或 /hb 12h30m
/revive
打开复活图形用户界面(仅限 OP)。
/revivegui
与 /revive 相同(仅限 OP)。
/hardcoreban addbanned <name>
将名称添加到复活图形用户界面列表中(测试中)。
/hardcoreban removebanned <name>
从复活图形用户界面列表中移除名称。
/hardcoreban debug on|off
开启或关闭 HardcoreBan 调试日志。
/hardcoreban deathradius <blocks>
设置用于死亡凋灵音效和半径死亡消息的半径(以方块为单位)。不带参数运行以查看当前值。
/hardcoreban deathmessages on|off
开启时,玩家的死亡消息仅显示给死亡半径内的玩家,而不是整个服务器。开启或关闭此选项还会切换原版 showDeathMessages 游戏规则,因为模组会自行发送消息。
Customizable Death Ban
This project adds a highly customizable death ban system to servers featuring A revive item, customizable ban durations and custom GUI's
Expect issues with the new drops. Currently I don't have a server to test stuff on and its pretty late for me.
Revive Totem
The Revive Totem is a specially marked Totem of Undying. While held in either hand it
pulses with totem particles. It does not grant the normal Totem of Undying
life-saving effect to its holder; its only power is opening the revive GUI.
Crafting:
D R D
N T N
D R D
D = Diamond Block, R = Redstone Block, N = Netherite Ingot, T = Totem of Undying
Use:
Right-click the Revive Totem
Opens the revive GUI for anyone
(only if someone is banned).
Death Events
On every player death:
- A wither-spawn sound plays for any player within the configurable death
radius of where the death happened.
- If radius death messages are enabled, the death message is only shown to
players within that same radius instead of the whole server.
A list of all available commands

Commands:
/hb
Shows current ban duration + usage.
/hb <duration>
Sets tempban duration used on death.
Example: /hb 3d or /hb 12h30m
/revive
Opens the revive GUI (OP only).
/revivegui
Same as /revive (OP only).
/hardcoreban addbanned <name>
Adds a name to the revive GUI list (testing).
/hardcoreban removebanned <name>
Removes a name from the revive GUI list.
/hardcoreban debug on|off
Turns HardcoreBan debug logs on or off.
/hardcoreban deathradius <blocks>
Sets the radius (in blocks) used by the death wither sound and radius death
messages. Run with no argument to see the current value.
/hardcoreban deathmessages on|off
When on, a player's death message is only shown to players within the death
radius instead of the whole server. Turning this on/off also toggles
vanilla's showDeathMessages game rule, since the mod sends the message
itself instead.
评论 0
登录后参与评分
还没有评论,来抢沙发吧