TACZDeathMessageMod 使用指南
目录
-
功能特性
-
安装要求
-
安装步骤
-
配置文件
-
命令列表
-
常见问题
开源仓库:
简介
TACZDeathMessageMod 是一款基于 Forge 的 Minecraft 模组,旨在为服务器或单人游戏提供高度可定制的击杀提示系统。该模组允许玩家在不同场景下自定义击杀消息,并支持针对特定世界的独立配置。
注意:
本模组专为服务器设计,在客户端侧可能无法正常工作,甚至会导致崩溃!
开发此模组的目的是解决以下问题:由于混合服务器是基于 Bukkit 服务器修改的,导致 TACZ Mod 内置的击杀提示无法生效。
功能特性
-
可定制的击杀消息:支持为玩家、动物和生物自定义击杀消息,包括普通击杀和爆头击杀。
-
世界专属配置:为不同的世界(维度)配置独立的击杀消息,并可启用/禁用相关选项。
-
命令触发:在击杀后执行自定义命令(例如广播、奖励发放等)。
-
依赖集成:与 Timeless and Classics: Zero 模组无缝兼容 [本模组需要安装 TACZ MOD 才能正常运行]。
安装要求
安装步骤
客户端安装
-
下载模组文件:taczdeathmessage-xxx.jar。
-
将文件放入 .minecraft/mods 文件夹中。
-
确保已安装依赖模组 Timeless and Classics: Zero。[注意:当前版本 (1.0) 要求依赖模组版本为 1.1.4 或更高]。
服务端安装
-
将模组文件放入服务端的 mods 目录中。
-
将依赖模组 timeless-and-classics-zero-1.1.4.jar 添加到 mods 目录中。
-
重启服务器。
配置文件
配置文件位于 config/taczdeathmessage/ 目录下:
global_config.json
{
"defaultWorldEnabled": true,
"messages": {
"player": {
"normal": "&e击杀消息 &e{killer} &r击杀了 &e{victim}!",
"headshot": "&e击杀消息 &e{killer} &r爆头击杀了 &e{victim}!"
},
"animal": {
"normal": "&e{killer} 使用 {gun} 猎杀了 &e{victim}!",
"headshot": "&e{killer} 精准地使用 {gun} 猎杀了 &e{victim}!"
},
"headshotSuffix": "(Headshot)"
}
}
world_config.json
{
"worlds": {
"minecraft:overworld": {
"enabled": true,
"messages": {
"player": {
"normal": "&a[PvP] &e{killer} 击败了 {victim}!"
}
}
}
}
}
命令列表
| 命令 |
权限 |
描述 |
/tacz reload |
OP |
重新加载配置文件 |
/tacz toggle <world> |
OP |
启用/禁用特定世界的击杀消息 |
常见问题
1. 模组加载错误 Missing dependency: timeless-and-classics-zero
2. 配置更改未生效
- 解决方案:执行
/taczdeathmessage reload 热重载配置,或重启服务器(推荐)。
注意:请确保在安装前正确安装了依赖模组!
TACZDeathMessageMod Usage Guide
Table of Contents
-
Features
-
Installation Requirements
-
Installation Steps
-
Configuration Files
-
Command List
-
FAQ
Open-source repository:
Introduction
TACZDeathMessageMod is a Minecraft Forge-based mod designed to provide a highly customizable kill message system for servers or single-player games. This mod allows players to customize kill messages in different scenarios and supports world-specific independent configurations.
Note:
This mod is specifically designed for servers and may not work, or even cause crashes, on the client side!
The purpose of this Mod development is to fix these problems because the hybrid server is modified based on the Bukkit server, resulting in the TACZ Mod's built-in kill prompt not taking effect.
Features
-
Customizable Kill Messages: Supports custom kill messages for players, animals, and mobs, including normal and headshot kills.
-
World-Specific Configuration: Configure independent kill messages and enable/disable options for different worlds (dimensions).
-
Command Trigger: Execute custom commands (e.g., broadcasting, rewards) after a kill.
-
Dependency Integration: Seamless compatibility with the Timeless and Classics: Zero mod [This mod requires TACZ MOD to function properly].
Installation Requirements
-
Minecraft Version: 1.20.1
-
Forge Version: 47.3.22 or higher
-
Required Dependency: Timeless and Classics: Zero (Version 1.1.4)
-
Java Version: JDK 17
Installation Steps
Client Installation
-
Download the mod file: taczdeathmessage-xxx.jar.
-
Place the file into the .minecraft/mods folder.
-
Make sure the dependency mod Timeless and Classics: Zero is installed. [Note: For the current version (1.0), the dependency requires version 1.1.4 or higher].
Server Installation
-
Place the mod file into the server's mods directory.
-
Add the dependency mod timeless-and-classics-zero-1.1.4.jar to the mods directory.
-
Restart the server.
Configuration Files
Configuration files are located in the config/taczdeathmessage/ directory:
global_config.json
{
"defaultWorldEnabled": true,
"messages": {
"player": {
"normal": "&eKill message &e{killer} &rkilled &e{victim}!",
"headshot": "&eKill message &e{killer} &rheadshot killed &e{victim}!"
},
"animal": {
"normal": "&e{killer} hunted &e{victim} using {gun}!",
"headshot": "&e{killer} precisely hunted &e{victim} using {gun}!"
},
"headshotSuffix": "(Headshot)"
}
}
world_config.json
{
"worlds": {
"minecraft:overworld": {
"enabled": true,
"messages": {
"player": {
"normal": "&a[PvP] &e{killer} defeated {victim}!"
}
}
}
}
}
Command List
| Command |
Permission |
Description |
/tacz reload |
OP |
Reload the configuration file |
/tacz toggle <world> |
OP |
Enable/Disable kill messages for a specific world |
FAQ
1. Mod load error Missing dependency: timeless-and-classics-zero
2. Configuration changes not taking effect
- Solution: Execute
/taczdeathmessage reload to hot reload the configuration or restart the server (recommended).
Note: Please ensure the dependency mod is correctly installed before using!
评论 0
登录后参与评分
还没有评论,来抢沙发吧