介绍
Sign Logger
This server side mod allows for the tracking of sign editions in the world. It can log these events to the server’s console, as well as store them to a database. The mod features an inspection mode to quickly see the sign=edit logs associated with a specific coordinate.
Features
Inspection mode
If you have OP permissions in the server, you are able to toggle inspection mode via /sign-logger inspect true and /sign-logger inspect false, respectively. Once in inspection mode, you will not be able to break or place any blocks. Left click any currently placed block to see the sign-edit logs of the coordinates of the clicked block. You can also right click a block to to see the sign-edit logs of the coordinate adjacent to the face of the block you right clicked.
Inspection mode will be automatically disabled upon dying or leaving the server.
Sign-edit logging
There are currently four types of sign edit events that get stored, all of which include information about the author, the position, the world, and the time at which this event happened. These are:
- Changed Text event: Corresponds to when a player changes the text of a sign to another. Includes information about the old and new text of the sign, as well as the side of the sign where the text edition happened. Hover your cursor over the sign side section of the log to see the before and after the of the edited text.
- 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. Hover your cursor over the sign side section of the log to see the before and after of the color of the text.
- 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.
You can also toggle the logging of sign-edits in the console via /sign-logger settings do_console_logs true|false.
Database
The sign-edit logs get stored in a simple database. You can configure the time in days that will be used to purge logs older than the time specified via /sign-logger database purge. You can specify the amount of days with /sign-logger database purge_older_than_x_days <whole number value>.
The database will also be automatically purged upon server shutdown, using the purge_logs_older_than_x_amount value specified in the configuration file.
Configuration File
When the server is started, the mod will look for an existing sign-logger.toml file for the config folder of your game. If it exists, it will read the values from there. If not, it will create a new config file in /config/sign-logger.toml. You can then edit this file to configure the mod, and restart the server to apply the changes, or use the /sign-logger reload_config in-game command.
The following is the default configuration file generated upon first mod initialization or whenever the mod fails to find the config file during server or world shutdown.
#Settings related to the behavior of the database.
[database]
#(Default = 30) Configure the time in days that will be used to purge log entries older than the time specified.
#Cannot be set to a value lower than 1 or a decimal value.
purge_logs_older_than_x_amount = 1
#Toggleable settings to customize the behavior of the mod.
[settings]
#(Default = true) Toggle the logging of sign edit instances in the console.
do_console_logging = true
Support
If you would like to report a bug, or make a suggestion, you can do so via the mod’s issue tracker or join my Discord server.
常见问题
Sign Logger 支持哪些 Minecraft 版本?
Sign Logger 支持 Minecraft Java 版 1.20–1.20.4,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Sign Logger 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
ArkoSammy12 的其他作品
查看全部 →
Creeper Healing
A server side, customizable Fabric mod to automatically and naturally heal Creeper explosions (and other kinds of explosions!).
Complementary SMP Modpack
A fully optional, vanilla-focused modpack, designed specifically to provide the best gameplay and visual quality for members of the ComplementarySMP, enabling server side features, and allowing you to enjoy the SMP to its fullest.
Monkey Utils
A declarative Kotlin focused Minecraft utility library for commonly used features of my mods.
Public Ender Chest
A Minecraft server-side mod that adds a public inventory accessible via an Ender Chest.
评论
登录后评论和评分