插件介绍
允许玩家在聊天中更改他们的名字和消息颜色
Coloured Chat gives you the possibilty of changing players ingame names & messages to whatever colour you/they desire.
Player name colours will now only show up if the player has the following permission: colouredchat.name.show.
Same goes for messages in which case you will need to grant: colouredchat.message.show.
If you want everyone to have these permissions use the commands below.
主要用途
主要用于usernames、聊天等服务端功能。 本插件由 collectvood 发布,当前目录记录版本为 v2.2.89,uMod 累计下载 30,180 次。
适用场景
- 希望改善玩家交互与日常体验的社区服务器
功能分类
查看 uMod 官方英文简介
Allows players to change their name & message colour in chat
权限节点
colouredchat.name.show - Allows players to have a different name colours in chat (not modify it)
colouredchat.name.use - Allows players to change their name colour
colouredchat.name.bypass - Allows players to bypass name hex code restrictions
colouredchat.name.setothers - Allows players to set other players name colours
colouredchat.name.random - Allows players to set randomized name colours to themselfs
colouredchat.name.rainbow - Allows players to give themselfs the rainbow name colour
colouredchat.name.gradient - Allows players to use name colour gradients
colouredchat.message.show - Allows players to have a different message colour in chat (not modify it)
colouredchat.message.use - Allows players to change their message colour
colouredchat.message.bypass - Allows players to bypass message hex code restrictions
colouredchat.message.setothers - Allows players to set other players message colours
colouredchat.message.random - Allows players to set randomized message colours to themselfs
colouredchat.message.rainbow - Allows players to give themselfs the rainbow message colour
colouredchat.message.gradient - Allows players to use message colour gradients
All permissions besides both the rainbow ones are optional for admins, means they already have said permissions and don't need to be granted!
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
For message colours just use the message colour command instead! (by default: /mcolour)
/colours - Prints out help
/colour <hexcode> - Changes your colour to given hex code
/colour clear/reset/remove - Resets your colour
/colour gradient <hexCode1 hexCode2 hexCode3 ...> - Changes your colour to the given gradient colours
/colour random - Changes your colour to random hex code
/colour rainbow - Changes your colour to the rainbow colours
/colour set <playerIdOrName> <hexcode> - Changes targets colour to given hex code
/colour set <playerIdOrName> clear/reset/remove - Resets targets colour
/colour set <playerIdOrName> gradient <hexCode1 hexCode2 ...> - Changes targets colour to given gradient
/colour set <playerIdOrName> random - Changes targets colour to a random hex code
/colour set <playerIdOrName> rainbow - Changes targets colour to the rainbow colours
For message colours just use the message colour command instead! (by default: /mcolour) Also remember that group colours will only show up on the player if he has not set a custom colour/ does not have the rainbow permission.
The following commands can only be run by an administrator or server console.
/colour group <groupName> <hexcode> - Changes group colour to given hex code
/colour group <groupName> clear/reset/remove - Resets group colour
/colour group <groupName> gradient <hexCode1 hexCode2 ...> - Changes group colour to given gradient
/colour group <groupName> random - Changes group colour to a random hex code
/colour group <groupName> rainbow - Changes group colour to the rainbow colours
相关依赖
- Better Chat
- Better Chat Mute
- Zone Manager
- Chat Prefix
- Quests
配置说明
Setting Player Inactivity Data Removal (days) to 0 disables this feature.
{ "Player Inactivity Data Removal (days)": 7, "Block messages of muted players (requires BetterChatMute)": true, "Rainbow Colours": [ "#ff0000", "#ffa500", "#ffff94", "#008000", "#0000ff", "#4b0082", "#ee82ee" ], "Blocked Characters": [ "{", "}", "size" ], "Name colour command": "colour", "Name colours command (Help)": "colours", "Name show colour permission": "colouredchat.name.show", "Name use permission": "colouredchat.name.use", "Name use gradient permission": "colouredchat.name.gradient", "Name default rainbow name permission": "colouredchat.name.rainbow", "Name bypass restrictions permission": "colouredchat.name.bypass", "Name set others colour permission": "colouredchat.name.setothers", "Name get random colour permission": "colouredchat.name.random", "Name use blacklist": true, "Name blocked colour hex": [ "#000000" ], "Name blocked colours range hex": [ { "From": "#000000", "To": "#000000" } ], "Name use whitelist": false, "Name whitelisted colours hex": [ "#000000" ], "Name whitelisted colour range hex": [ { "From": "#000000", "To": "#FFFFFF" } ], "Message colour command": "mcolour", "Message colours command (Help)": "mcolours", "Message show colour permission": "colouredchat.message.show", "Message use permission": "colouredchat.message.use", "Message use gradient permission": "colouredchat.message.gradient", "Message default rainbow name permission": "colouredchat.message.rainbow", "Message bypass restrictions permission": "colouredchat.message.bypass", "Message set others colour permission": "colouredchat.message.setothers", "Message get random colour permission": "colouredchat.message.random", "Message use blacklist": true, "Message blocked colours hex": [ "#000000" ], "Message blocked colour range hex": [ { "From": "#000000", "To": "#000000" } ], "Message use whitelist": false, "Message whitelisted colours hex": [ "#000000" ], "Message whitelisted colour range hex": [ { "From": "#000000", "To": "#FFFFFF" } ] }
"Name blocked colours range hex": [ { "From": "#000000", "To": "#BBBBBB" }
Above blocks the usage of any hexcode (simple colour but also gradient colour parts) all colours starting from #000000 and ending with #BBBBBB. You can bypass this restriction by granting colouredchat.name.bypass for names or by default as an admin. You can simple add more range blocks
官方配置示例
{
"Player Inactivity Data Removal (days)": 7,
"Block messages of muted players (requires BetterChatMute)": true,
"Rainbow Colours": [
"#ff0000",
"#ffa500",
"#ffff94",
"#008000",
"#0000ff",
"#4b0082",
"#ee82ee"
],
"Blocked Characters": [
"{",
"}",
"size"
],
"Name colour command": "colour",
"Name colours command (Help)": "colours",
"Name show colour permission": "colouredchat.name.show",
"Name use permission": "colouredchat.name.use",
"Name use gradient permission": "colouredchat.name.gradient",
"Name default rainbow name permission": "colouredchat.name.rainbow",
"Name bypass restrictions permission": "colouredchat.name.bypass",
"Name set others colour permission": "colouredchat.name.setothers",
"Name get random colour permission": "colouredchat.name.random",
"Name use blacklist": true,
"Name blocked colour hex": [
"#000000"
],
"Name blocked colours range hex": [
{
"From": "#000000",
"To": "#000000"
}
],
"Name use whitelist": false,
"Name whitelisted colours hex": [
"#000000"
],
"Name whitelisted colour range hex": [
{
"From": "#000000",
"To": "#FFFFFF"
}
],
"Message colour command": "mcolour",
"Message colours command (Help)": "mcolours",
"Message show colour permission": "colouredchat.message.show",
"Message use permission": "colouredchat.message.use",
"Message use gradient permission": "colouredchat.message.gradient",
"Message default rainbow name permission": "colouredchat.message.rainbow",
"Message bypass restrictions permission": "colouredchat.message.bypass",
"Message set others colour permission": "colouredchat.message.setothers",
"Message get random colour permission": "colouredchat.message.random",
"Message use blacklist": true,
"Message blocked colours hex": [
"#000000"
],
"Message blocked colour range hex": [
{
"From": "#000000",
"To": "#000000"
}
],
"Message use whitelist": false,
"Message whitelisted colours hex": [
"#000000"
],
"Message whitelisted colour range hex": [
{
"From": "#000000",
"To": "#FFFFFF"
}
]
}"Name blocked colours range hex": [
{
"From": "#000000",
"To": "#BBBBBB"
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。