插件介绍
用于公共和本地聊天的自定义聊天系统
This plugin provides a custom chat system (public and local chat). Start your messages with the "@" symbol for global messages.
I haven't got around to adding a sub-command that allows administrators to give permission, but at the moment you can do it by setting defaults in the configuration file by editing the following variables:
主要用途
主要用于聊天、unmaintained等服务端功能。 本插件由 发布,当前目录记录版本为 v0.1.3,uMod 累计下载 11,327 次。
适用场景
- 希望改善玩家交互与日常体验的社区服务器
功能分类
查看 uMod 官方英文简介
Custom chat system for public and local chat
指令说明
/chat clear
Clear chat database
/chat public
Hide public chat messages
/chat tag <new>
Set the players tag, if left blank it toggles tag on/off
/chat color <new>
Setsthe players name color, if left blank it toggles tag on/off
/chat icon
Hide/show steam icon in messages
配置说明
{ "Admin": { "MaxLevel": 2, "MinLevel": 1 }, "AdminColors": { "1": "#b4da73" }, "Dependencies": { "PopupNotifications": false }, "FadeGradient": { "1": "#E6E6E6", "2": "#C8C8C8", "3": "#AAAAAA", "4": "#8C8C8C", "5": "#6E6E6E" }, "General": { "IconDisabled": "76561197967728661", "MaxColorLength": 10, "MaxTagLength": 15, "Protocol": 1336, "PublicPrefix": "@", "ShowUserIcons": true, "UserTagColor": "#00FFFF", "VoipEnabled": true }, "Local": { "ChatPrefex": "Local", "Enabled": true, "FadeColors": true, "PrefixColor": "#F5A9F2", "PrefixEnabled": true, "Radius": 60.0, "ShowPlayerTags": true }, "Messages": { "AuthLevel": "You <color=red>don't</color> have the required auth level.", "DBCleared": "You have <color=green>successfully</color> cleared the MagicChat database.", "PublicDisabled": "Public chat is currently <color=red>disabled</color>." }, "Notifications": { "Enabled": true, "TimerInterval": 60 }, "Public": { "ChatPrefex": "Public", "Enabled": true, "PrefixColor": "#82FA58", "PrefixEnabled": true, "ShowPlayerTags": true }, "UserSettings": { "AdminColor": "#b4da73", "AllowIconHide": true, "DefaultCanColor": true, "DefaultCanTag": true, "DefaultColor": "#81DAF5", "DefaultPublicChat": true, "DefaultTag": "O.G.", "DefaultWorld": 0 } }
官方配置示例
{
"Admin": {
"MaxLevel": 2,
"MinLevel": 1
},
"AdminColors": {
"1": "#b4da73"
},
"Dependencies": {
"PopupNotifications": false
},
"FadeGradient": {
"1": "#E6E6E6",
"2": "#C8C8C8",
"3": "#AAAAAA",
"4": "#8C8C8C",
"5": "#6E6E6E"
},
"General": {
"IconDisabled": "76561197967728661",
"MaxColorLength": 10,
"MaxTagLength": 15,
"Protocol": 1336,
"PublicPrefix": "@",
"ShowUserIcons": true,
"UserTagColor": "#00FFFF",
"VoipEnabled": true
},
"Local": {
"ChatPrefex": "Local",
"Enabled": true,
"FadeColors": true,
"PrefixColor": "#F5A9F2",
"PrefixEnabled": true,
"Radius": 60.0,
"ShowPlayerTags": true
},
"Messages": {
"AuthLevel": "You <color=red>don't</color> have the required auth level.",
"DBCleared": "You have <color=green>successfully</color> cleared the MagicChat database.",
"PublicDisabled": "Public chat is currently <color=red>disabled</color>."
},
"Notifications": {
"Enabled": true,
"TimerInterval": 60
},
"Public": {
"ChatPrefex": "Public",
"Enabled": true,
"PrefixColor": "#82FA58",
"PrefixEnabled": true,
"ShowPlayerTags": true
},
"UserSettings": {
"AdminColor": "#b4da73",
"AllowIconHide": true,
"DefaultCanColor": true,
"DefaultCanTag": true,
"DefaultColor": "#81DAF5",
"DefaultPublicChat": true,
"DefaultTag": "O.G.",
"DefaultWorld": 0
}
}
"AllowIconHide": true,
"DefaultCanColor": true,
"DefaultCanTag": true,
更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。