ISIA (I See It All)
一款用于 Fabric 的服务端日志记录模组,帮助你的管理团队查明是谁、在何时何地做了什么。
有人清空了箱子、挖了一条直通钻石的诡异矿道,或者破坏了建筑的一部分?ISIA 会记录玩家的行为,并允许你的管理员在游戏内通过几次点击进行搜索。玩家无需安装任何额外内容。
功能特性
可搜索的历史记录
每条被记录的行动都会保存玩家、目标、位置和时间的信息。在游戏中进行搜索:
- 按玩家,即使离线也可以:
/isia lookup player Steve 2h
- 按区域(以你为中心):
/isia lookup radius 10 1d
- 逐个方块使用检查器:
/isia inspect,然后左击一个方块
结果支持点击:悬停在时间上可查看确切日期,点击坐标即可传送至该位置。
查找谁挖了矿道
发现奇怪的挖矿隧道?站在里面运行 /isia mining 30 7d:
----- ISIA: blocks broken within 30 blocks in the last 7d -----
Steve: 342 block(s), last 2h ago | ores: 12 deepslate_diamond_ore, 3 ancient_debris
Alex: 18 block(s), last 3d ago
点击名字可以列出该玩家在此处破坏的所有方块。使用 /isia inspect,右击隧道的墙壁可以看到是谁破坏了原本位于其前方的那个方块。
X 射线透视警报
有人使用 X 射线透视直接从一条矿脉挖到另一条:他们在破坏极少方块的情况下发现了大量钻石、远古残骸或绿宝石。ISIA 会注意到这一点并向所有在线的管理员发出警告:
[ISIA] Possible X-ray: Steve found 4 vein(s) (4 diamond) in 6m with only 53 block(s) broken (13 per vein) [Teleport] [History]
警报也会被保存,因此如果你在没有管理员在线时错过了某些警报,可以通过 /isia alerts 查看。阈值可以在配置文件中更改。
警报只是一个提示,而非确凿证据:探索洞穴的玩家也可能在破坏少量方块时发现矿石。在行动之前,请使用 /isia mining 和 /isia inspect 进行核查。
控制台日志
破坏方块、攻击实体、使用物品、打开容器、与实体交互、睡觉:选择哪些操作会被写入服务器控制台。
偷窃检测(实验性功能)
ISIA 会记住每个容器里装有什么以及最后是谁打开了它。当再次打开时,它会记录上一个玩家取走了什么或放入了什么。默认禁用。
安装
将模组和 Fabric API 放入服务器的 mods 文件夹中并启动服务器。配置文件将在 config/ISIA.txt 处创建。
ISIA 仅在专用服务器上运行,不支持单人游戏。
命令
所有命令都需要 OP 等级 2。
| 命令 |
描述 |
/isia lookup player <name> [time] |
某位玩家的行动记录(对离线玩家有效) |
/isia lookup radius <radius> [time] |
你周围的行动记录(半径最大为 100) |
/isia mining <radius> [time] [player] |
谁在你周围破坏了方块,以及他们发现的矿石。添加玩家名称可列出他们在该处破坏的方块 |
/isia alerts [time] |
X 射线透视警报(默认显示最近 7 天) |
/isia inspect |
切换检查模式:左击一个方块以查看其历史记录,右击一个面以查看其前方方块的记录(针对已被破坏的方块) |
/isia page <number> |
上次搜索结果的下一页 |
/isia reload |
重新加载配置文件(也可使用 /reloadISIAConfig) |
time 参数限制搜索范围至最近的行动:30m、2h、7d、1w,可以组合使用如 1d12h,或使用 all。结果显示顺序为从新到旧,每页 10 条。
配置
config/ISIA.txt,包含默认值:
logIfOP=false
logWhenBreakBlock=false
logWhenHitEntity=true
logWhenUseItem=true
logWhenUseBlock=true
logWhenUseEntity=true
logIfStartSleeping=false
logIfStopSleeping=false
ExperimentalFeature=false
saveHistory=true
xrayDetection=true
xrayWindowMinutes=30
xrayAlertVeins=4
xrayMaxBlocksPerVein=50
行的顺序无关紧要,缺失的选项会用其默认值自动补全。使用 /isia reload 应用更改而无需重启服务器。
| 选项 |
默认值 |
描述 |
logIfOP |
false |
记录 OP(管理员)的操作,并检查其是否使用 X-ray |
logWhenBreakBlock |
false |
将破坏的方块写入控制台。这些操作始终会保存在历史记录中 |
logWhenHitEntity |
true |
记录玩家攻击实体时的操作 |
logWhenUseItem |
true |
记录玩家使用物品时的操作 |
logWhenUseBlock |
true |
记录玩家打开容器(箱子、桶、熔炉、漏斗等)时的操作 |
logWhenUseEntity |
true |
记录玩家与实体交互(骑乘、交易等)时的操作 |
logIfStartSleeping |
false |
记录玩家上床睡觉的操作 |
logIfStopSleeping |
false |
记录玩家起床的操作 |
ExperimentalFeature |
false |
启用偷窃检测功能 |
saveHistory |
true |
将记录的操作保存到由 /isia 命令使用的历史记录中 |
xrayDetection |
true |
启用 X-ray 警报 |
xrayWindowMinutes |
30 |
仅统计在此分钟数内被破坏的方块 |
xrayAlertVeins |
4 |
触发警报所需的稀有矿石矿脉数量 |
xrayMaxBlocksPerVein |
50 |
仅当玩家每条矿脉破坏的方块数少于或等于此数值时发出警报。如果收到过多警报,请降低此值 |
被禁用的操作既不会写入控制台,也不会保存到历史记录中(但被破坏的方块始终会被保存)。
存储的数据
所有数据都保留在你的服务器上,位于 ISIAdata 文件夹中:
history.db: SQLite 数据库,其中包含每个操作的玩家名称和 UUID、操作类型、涉及的方块/物品/实体、位置和时间
- 当启用偷窃检测时,每个容器对应一个文件
ISIA 不会存储 IP 地址或聊天消息,也不会通过网络发送任何数据。历史记录目前不会自动清理:它会随着服务器的活动而增长。
限制
- 仅记录玩家执行的操作:由 TNT、苦力怕或活塞摧毁的方块不会被记录。
- 仅在安装 ISIA 之后才能知道相关操作。
- 挖矿行为会在内存中用于 X-ray 警报计数:服务器重启后计数会重新开始。
感谢
ISIA (I See It All)
A server-side logger for Fabric that helps your staff find out who did what, where and when.
Someone emptied a chest, dug a suspicious tunnel straight to the diamonds, or broke part of a build? ISIA records what players do and lets your moderators search it in game, in a few clicks. Players don't need to install anything.
Features
Searchable history
Every logged action is saved with the player, the target, the position and the time. Search it in game:
- by player, even offline:
/isia lookup player Steve 2h
- by area around you:
/isia lookup radius 10 1d
- block by block with the inspector:
/isia inspect, then left-click a block
Results are clickable: hover the time to see the exact date, click the coordinates to teleport there.
Find who dug a tunnel
Found a strange mining tunnel? Stand in it and run /isia mining 30 7d:
----- ISIA: blocks broken within 30 blocks in the last 7d -----
Steve: 342 block(s), last 2h ago | ores: 12 deepslate_diamond_ore, 3 ancient_debris
Alex: 18 block(s), last 3d ago
Click a name to list every block that player broke there. With /isia inspect, right-click the walls of the tunnel to see who broke the block that used to be in front of them.
X-ray alerts
Someone using X-ray digs straight from one vein to the next: they find a lot of diamonds, ancient debris or emeralds while breaking very few blocks. ISIA notices it and warns every online OP:
[ISIA] Possible X-ray: Steve found 4 vein(s) (4 diamond) in 6m with only 53 block(s) broken (13 per vein) [Teleport] [History]
Alerts are also saved, so /isia alerts shows the ones you missed while no staff was online. Thresholds can be changed in the config.
An alert is a hint, not a proof: a player exploring caves can also find ores while breaking few blocks. Check with /isia mining and /isia inspect before taking action.
Console logs
Breaking blocks, hitting entities, using items, opening containers, interacting with entities, sleeping: choose what is written to the server console.
Steal detection (experimental)
ISIA remembers what each container holds and who opened it last. When it is opened again, it logs what the previous player took or put. Disabled by default.
Installation
|
|
| Minecraft |
26.3 |
| Loader |
Fabric Loader 0.20.1 or newer |
| Dependency |
Fabric API |
| Java |
25 or newer |
| Side |
Server only: players join with an unmodded client |
Put the mod and Fabric API in the mods folder of your server and start it. The config file is created at config/ISIA.txt.
ISIA only runs on dedicated servers, not in singleplayer.
Commands
All commands need OP level 2.
| Command |
Description |
/isia lookup player <name> [time] |
Actions of a player (works for offline players) |
/isia lookup radius <radius> [time] |
Actions around you (radius up to 100) |
/isia mining <radius> [time] [player] |
Who broke blocks around you, with the ores they found. Add a player to list the blocks they broke there |
/isia alerts [time] |
X-ray alerts (last 7 days by default) |
/isia inspect |
Toggle inspect mode: left-click a block to see its history, right-click a face to see the history of the block in front of it (for blocks that were broken) |
/isia page <number> |
Another page of your last search |
/isia reload |
Reload the config file (also /reloadISIAConfig) |
time limits the search to recent actions: 30m, 2h, 7d, 1w, combined like 1d12h, or all. Results are shown newest first, 10 per page.
Configuration
config/ISIA.txt, with the default values:
logIfOP=false
logWhenBreakBlock=false
logWhenHitEntity=true
logWhenUseItem=true
logWhenUseBlock=true
logWhenUseEntity=true
logIfStartSleeping=false
logIfStopSleeping=false
ExperimentalFeature=false
saveHistory=true
xrayDetection=true
xrayWindowMinutes=30
xrayAlertVeins=4
xrayMaxBlocksPerVein=50
The order of the lines does not matter, and missing options are added back with their default value. Use /isia reload to apply changes without restarting.
| Option |
Default |
Description |
logIfOP |
false |
Also log the actions of OPs (and check them for X-ray) |
logWhenBreakBlock |
false |
Write broken blocks to the console. They are always saved in the history |
logWhenHitEntity |
true |
Log when a player hits an entity |
logWhenUseItem |
true |
Log when a player uses an item |
logWhenUseBlock |
true |
Log when a player opens a container (chest, barrel, furnace, hopper...) |
logWhenUseEntity |
true |
Log when a player interacts with an entity (ride, trade...) |
logIfStartSleeping |
false |
Log when a player goes to bed |
logIfStopSleeping |
false |
Log when a player wakes up |
ExperimentalFeature |
false |
Enable the steal detection |
saveHistory |
true |
Save the logged actions in the history used by the /isia commands |
xrayDetection |
true |
Enable the X-ray alerts |
xrayWindowMinutes |
30 |
Only the blocks broken during this many minutes are counted |
xrayAlertVeins |
4 |
Number of rare ore veins needed for an alert |
xrayMaxBlocksPerVein |
50 |
Alert only if the player broke this many blocks per vein or fewer. Lower it if you get too many alerts |
An action that is disabled is neither written to the console nor saved in the history (except broken blocks, which are always saved).
Stored data
Everything stays on your server, in the ISIAdata folder:
history.db: SQLite database with, for each action, the player name and UUID, the action, the block, item or entity, the position and the time
- one file per container when the steal detection is enabled
ISIA does not store IP addresses or chat messages, and does not send anything over the network. The history is not cleaned up automatically yet: it grows with the activity of your server.
Limits
- Only actions done by players are recorded: blocks destroyed by TNT, creepers or pistons are not.
- Actions are only known from the moment ISIA is installed.
- Mining is counted for X-ray alerts in memory: the count starts again when the server restarts.
Thanks to
评论 0
登录后参与评分
还没有评论,来抢沙发吧