|
|
签名记录器 (Sign Logger)Github |相关wiki |源站链接支持: fabric这是一个用于跟踪 Minecraft 服务器中标志文本修改的模组。
功能
#### 检查模式
如果你在服务器中有 OP 权限,你可以通过 `/sign-logger inspect true` 和 `/sign-logger inspect false` 命令来切换检查模式。进入检查模式后,你将无法破坏或放置任何方块。左键点击任何已放置的方块,以查看该方块的标志编辑日志。你也可以右键点击一个方块,以查看与你右键点击的方块面相邻的坐标的标志编辑日志。
死亡或离开服务器时,检查模式将自动禁用。
#### 标志编辑日志
目前有四种类型的标志编辑事件会被记录,所有这些事件都包含有关作者、位置、世界以及事件发生时间的信息。这些类型包括:
- *更改文本事件*:对应于玩家将标志文本更改为另一种的情况。包括标志的旧文本和新文本的信息,以及文本编辑发生的标志面。将鼠标悬停在日志的标志面部分,以查看编辑文本的前后情况。
- *上蜡标志事件*:对应于玩家给标志上蜡,防止进一步编辑。
- *染色标志事件*:对应于玩家通过应用染料更改标志文本的颜色的情况。包括文本的旧颜色和新颜色的信息,以及颜色更改发生的标志面。将鼠标悬停在日志的标志面部分,以查看文本颜色的变化情况。
- *发光标志事件*:对应于玩家通过使用发光墨囊或墨囊来给标志文本应用或移除发光效果的情况。包括执行此操作的标志面的信息。
你也可以通过 `/sign-logger settings do_console_logs true|false` 命令来切换在控制台中记录标志编辑的功能。
#### 数据库
标志编辑日志存储在一个简单的数据库中。你可以通过 `/sign-logger database purge` 命令配置用于清除比指定时间更早的日志的天数。你可以使用 `/sign-logger database purge_older_than_x_days <整数值>` 命令指定天数的数量。在服务器关闭时,数据库也会自动清除,使用配置文件中指定的 `purge_logs_older_than_x_amount` 值。
配置文件
当服务器启动时,该模组将在游戏的 config 文件夹中寻找现有的 `sign-logger.toml` 文件。如果存在,则会从中读取值。如果不存在,则会在 `/config/sign-logger.toml` 中创建一个新的配置文件。然后,你可以编辑此文件来配置模组,并重新启动服务器以应用更改,或使用游戏内的 `/sign-logger reload_config` 命令。
以下是第一次模组初始化时生成的默认配置文件,或者在服务器或世界关闭期间未找到配置文件时生成的默认配置文件。
html
#关于数据库行为的设置。
[database]
#(默认 = 30)配置将用于清除早于指定时间的日志条目的天数。
#不能设置为小于1或小数值。
purge_logs_older_than_x_amount = 1
#可切换的设置以自定义模组的行为。
[settings]
#(默认 = true)切换是否在控制台中记录标志编辑实例。
do_console_logging = true
支持
如果你想报告错误或提出建议,你可以通过模组的 [问题跟踪器](链接) 或加入我的 [Discord 服务器](链接) 来进行。
来自Modrinth所有游戏版本1.201.20.11.20.21.20.31.20.4所有类型fabric[1.20+] Sign Logger - Release v0.0.2signlogger-0.0.2-1.20+.jar下载0.0.2-1.20+#ReleaseThe logging system has been expanded to support the logging of the following events:- **Waxed Sign event**: Corresponds to when a player waxes a sign, preventing it from being edited further.- **Dyed Sign event**: Corresponds to when a player changes the color of the text of a sign by applying a dye. Includes information about the old and new color of the text, and the side of the sign where the color change happened.- **Glowed Sign event**: Corresponds to when a player applies or removes the glow effect from the text of a sign, by using a glow ink sac or an ink sac, respectively. Includes information about the side of the sign where this action was performed.Feel free to suggest more features or report bug fixes in the mod\'s [issue tracker](https://github.com/ArkoSammy12/sign-logger/issues) or in my [Discord server](https://discord.gg/BsgERe7egV).展开版本: 0.0.2-1.20+支持游戏: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4类型:FabricRelease下载次数: 157[1.20+] Sign Logger - Release v0.0.1signlogger-0.0.1-1.20+.jar下载0.0.1-1.20+#Release- Fix inspecting a coordinate returning all log instances for that coordinate in all worlds- Added feature for right-clicking a block to inspect adjacent face.- Updated Fabric Loader dependency to 0.15.3.Feel free to suggest more features or report bug fixes in the mod\'s [issue tracker](https://github.com/ArkoSammy12/sign-logger/issues) or in my [Discord server](https://discord.gg/BsgERe7egV).展开版本: 0.0.1-1.20+支持游戏: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4类型:FabricRelease下载次数: 82[1.20+] Sign Logger - Beta v0.0.1-v1signlogger-0.0.1-betav1-1.20+.jar下载0.0.1-betav1-1.20+#BetaThis is the first beta release of the mod. I will be adding more features and bug fixes. Feel free to suggest more features or report bug fixes in the mod\'s [issue tracker](https://github.com/ArkoSammy12/sign-logger/issues) or in my [Discord server](https://discord.gg/BsgERe7egV).展开版本: 0.0.1-betav1-1.20+支持游戏: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4类型:FabricBeta下载次数: 83全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
签名记录器 |
楼主
2025-8-10 19:16:40
回复(0)
收起回复
|