插件介绍
用锤子敲击东西并做事
Magic Hammer is a simple plugin that allows users with permission to use the hammer as more than just a building tool.
This plugin provides universal chat and console commands. When using a command in the chat, prefix it with a forward slash: /.
主要用途
主要用于imported、broken等服务端功能。 本插件由 Tricky 发布,当前目录记录版本为 v0.5.2,uMod 累计下载 59 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Hit stuff with the hammer and do things
权限节点
magichammer.allowed
Required to use the plugin
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
This plugin provides universal chat and console commands. When using a command in the chat, prefix it with a forward slash: /.
mh
配置说明
{ "bChargeForRepairs": true, "bDestroyCupboardCheck": true, "bMessagesEnabled": true, "bUsePopupNotifications": false, "iProtocol": 1949, "nModesEnabled(1=repair only, 2=destroy only, 3=both enabled)": 1, "nTimeSinceAttacked": 8, "tHammerEnabled": "Status: {hammer_status}.", "tHammerMode": "You have switched to: {hammer_mode} mode.", "tHammerModeText": "Choose your mode: 1 = <color=#2EFE64>repair</color>, 2 = <color=#FF4000>destroy</color>.", "tMessageDestroyed": "Entity: <color=#F2F5A9>{entity_name}</color> <color=#FF4000>destroyed</color>.", "tMessageModeDisabled": "{disabled_mode} mode is currently <color=#FF4000>disabled</color>", "tMessageRepaired": "Entity: <color=#F2F5A9>{entity_name}</color> health <color=#2EFE64>updated</color> from <color=#FF4000>{current_hp}</color>/<color=#2EFE64>{new_hp}</color>.", "tMessageUsage": "/mh <enabled/mode>.", "tNoAccessCupboard": "You <color=#FF4000>don't</color> have access to all the tool cupboards around you." }
官方配置示例
{
"bChargeForRepairs": true,
"bDestroyCupboardCheck": true,
"bMessagesEnabled": true,
"bUsePopupNotifications": false,
"iProtocol": 1949,
"nModesEnabled(1=repair only, 2=destroy only, 3=both enabled)": 1,
"nTimeSinceAttacked": 8,
"tHammerEnabled": "Status: {hammer_status}.",
"tHammerMode": "You have switched to: {hammer_mode} mode.",
"tHammerModeText": "Choose your mode: 1 = <color=#2EFE64>repair</color>, 2 = <color=#FF4000>destroy</color>.",
"tMessageDestroyed": "Entity: <color=#F2F5A9>{entity_name}</color> <color=#FF4000>destroyed</color>.",
"tMessageModeDisabled": "{disabled_mode} mode is currently <color=#FF4000>disabled</color>",
"tMessageRepaired": "Entity: <color=#F2F5A9>{entity_name}</color> health <color=#2EFE64>updated</color> from <color=#FF4000>{current_hp}</color>/<color=#2EFE64>{new_hp}</color>.",
"tMessageUsage": "/mh <enabled/mode>.",
"tNoAccessCupboard": "You <color=#FF4000>don't</color> have access to all the tool cupboards around you."
}
更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。