插件介绍
当玩家安装或卸载实体时记录到文件
A simple plugin to log who mounted an entity as well as the time, date, entity name and position. I wrote this plugin for my PvE server to identify theives of horses, cars, boats and helis. This plugin is written to ignore all bots so wont give logs for events like calling the heavies to oil rig or Bazz3l's Bradley Guards.
Personally I use the command teleportpos (coordinates from logs here) to verify the exact position of the mounted entity.
This plugins logs DO NOT clear themselves on wipe and likley will get out of control for high pop servers fairly quickly. This is my first plugin so in the future I'm hoping to add a facility to wipe logs after a configurable period of time.
Ex. file oxide/logs/MountLogger/mountlogger_common-####-##-##.txt
主要用途
主要用于mounts、日志等服务端功能。 本插件由 snaplatack 发布,当前目录记录版本为 v1.6,uMod 累计下载 4,898 次。
适用场景
- 需要管理、审计或维护能力的服务器
功能分类
查看 uMod 官方英文简介
Logs to a file when players mount or dismount an entity
权限节点
mountlogger.use - Required to use the plugin
mountlogger.scrapheli.log - Allows logging of Scrap Transport Helicopter pilots
mountlogger.miniheli.log - Allows logging of Minicopter pilots
mountlogger.modularcar.log - Allows logging drivers of Modular Cars
mountlogger.ridablehorse.log - Allows logging riders of Horses
mountlogger.smallboat.log - Allows logging drivers of Rowboats
mountlogger.rihibboat.log - Allows logging drivers of RHIBs
mountlogger.cranedriver.log - Allows logging drivers of the Junk Yard crane
mountlogger.trackpassengers.log - Allows logging of mounted passengers of all of the above (if applicable)
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
配置说明
{ "Print logs to console": true, "Print logs to file": true, }
官方配置示例
{
"Print logs to console": true,
"Print logs to file": true,
}{
"OnEntityMount": "A {0} was mounted by '{1}' at Grid {2}",
"OnEntityDismount": "A {0} was dismounted by '{1}' at Grid {2}"
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。