插件介绍
Rust 的完整 Discord 服务器监控
Rustcord is a complete server monitoring system made by Kirollos that links your Rust server with your Discord server. This was ported over to Discord from, and is a replacement for Rust:IRC, which is no longer being developed.
Note: We recommend using Discord's Compact Mode for a cleaner output to Discord.
Condensed Video Guide By srtbull: https://www.youtube.com/watch?v=WFp_8siBRO0
主要用途
主要用于Discord 联动、integration等服务端功能。 本插件由 OuTSMoKE 发布,当前目录记录版本为 v3.4.3,uMod 累计下载 98,354 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Complete Discord server monitoring for Rust
相关依赖
- Discord
- Admin Hammer
- Admin Radar
- Better Chat
- Better Chat Mute
- Clans
- Dangerous Treasures
- Death Notes
- Discord Auth
- Godmode
- Private Messages
- Raidable Bases
- Rust Kits
- Sign Artist
- Vanish
配置说明
The config below is a sample of setting up for a main channel that displays joins, quits, deaths, and chat; an admin channel that displays admin connect info; and a report channel.
Config Log true/false determines which channel flags are active. Example: If you have a channel using the msg_chat channel flag, it won't work unless "LogChat" is set to true in the config. If LogChat is set to false, Rustcord will not monitor the associated hook, and therefore wouldn't send anything to your msg_chat channel. You can find a full list of which flags go with with settings in the Official Guide.
Note: Sample config may vary from settings in the public release. Do NOT copy paste this to your config, it is just a formatting example.
{ "General Settings": { "API Key (Bot Token)": "BotToken", "Auto Reload Plugin": false, "Auto Reload Time (Seconds)": 901, "Enable Bot Status": false, "In-Game Report Command": "report", "Discord Extension Log Level (Verbose/Debug/Info/Warning/Error/Exception/Off)": "Info" }, "Discord to Game Settings": { "Discord Command Prefix": "!", "Discord to Game Chat: Icon (Steam ID)": 76561199066612103, "Discord to Game Chat: Tag": "[RUSTCORD]", "Discord to Game Chat: Tag Color (Hex)": "#7289DA", "Discord to Game Chat: Player Name Color (Hex)": "#55aaff", "Discord to Game Chat: Message Color (Hex)": "#ffffff" }, "Rust Logging Settings": { "Enable Logging: Player Chat": true, "Enable Logging: Joins & Quits": true, "Enable Logging: Deaths": false, "Enable Logging: Vehicle Spawns (Heli/APC/Plane/Ship)": false, "Enable Logging: Crate Drops (Hackable/Supply)": false, "Enable Logging: Usergroup Changes": false, "Enable Logging: Permission Changes": false, "Enable Logging: Kicks & Bans": true, "Enable Logging: Player Name Changes": false, "Enable Logging: Server Commands (Gestures/Note Edits)": false, "Enable Logging: Server Messages (Give/Item Spawns)": false, "Enable Logging: Player F7 Reports": false, "Enable Logging: Team Changes": false, "Enable Logging: RCON Connections": false, "Enable Logging: Spectates": false, "Enable Custom Logging": false }, "Plugin Logging Settings": { "Enable Logging: AdminHammer": false, "Enable Logging: Admin Radar": false, "Enable Logging: Better Chat Mute": false, "Enable Logging: Clans": false, "Enable Logging: Discord Auth": false, "Enable Logging: Private Messages": false, "Enable Logging: Raidable Bases": false, "Enable Logging: Sign Artist": false, "Enable Logging: Vanish": false }, "Discord Output Formatting": { "Output Type: Bans (Simple/Embed)": "Simple", "Output Type: Bug Report (Simple/Embed)": "Simple", "Output Type: Deaths (Simple/Embed/DeathNotes)": "Simple", "Output Type: F7 Reports (Simple/Embed)": "Simple", "Output Type: Join/Quit (Simple/Embed)": "Simple", "Output Type: Join Player Info (Admin Channel) (Simple/Embed)": "Simple", "Output Type: Kicks (Simple/Embed)": "Simple", "Output Type: Note Logging (Simple/Embed)": "Simple", "Output Type: Player Name Change (Simple/Embed)": "Simple", "Output Type: /Report (Simple/Embed)": "Simple", "Output Type: Teams (Simple/Embed)": "Simple", "Output Type (Plugin): Admin Hammer (Simple/Embed)": "Simple", "Output Type (Plugin): Admin Radar (Simple/Embed)": "Simple", "Output Type (Plugin): Better Chat Mute (Simple/Embed)": "Simple", "Output Type (Plugin): Clans (Simple/Embed)": "Simple", "Output Type (Plugin): Private Messages (Simple/Embed)": "Simple", "Output Type (Plugin): Raidable Bases (Simple/Embed)": "Simple", "Output Type (Plugin): Vanish (Simple/Embed)": "Simple" }, "Logging Exclusions": { "Exclude Listed Groups From log_groups": [ "default" ], "Exclude Listed Permissions From log_perms": [ "example.permission1", "example.permission2" ] }, "Filter Settings": { "Chat Filter: Replacement Word": "<censored>", "Chat Filter: Words to Filter": [ "badword1", "badword2" ] }, "Discord Logging Channels": [ { "Discord Channel ID #": "", "Channel Flags": [ "cmd_allow", "cmd_players", "cmd_kick", "cmd_com", "cmd_mute", "cmd_unmute", "msg_join", "msg_joinlog", "msg_quit", "death_pvp", "msg_chat", "msg_teamchat", "game_report", "game_bug", "msg_serverinit" ], "Custom: Words/Phrases to Log": [ "keyword1", "keyword2" ] }, { "Discord Channel ID #": "", "Channel Flags": [ "msg_joinlog", "game_report", "game_bug" ], "Custom: Words/Phrases to Log": [ "keyword1", "keyword2" ] } ], "Discord Command Role Assignment (Empty = All roles can use command.)": { "ban": [ "DiscordRoleName", "DiscordRoleName2" ], "com": [ "DiscordRoleName", "DiscordRoleName2" ], "kick": [ "DiscordRoleName", "DiscordRoleName2" ], "mute": [ "DiscordRoleName", "DiscordRoleName2" ], "players": [ "DiscordRoleName", "DiscordRoleName2" ], "timeban": [ "DiscordRoleName", "DiscordRoleName2" ], "unban": [ "DiscordRoleName", "DiscordRoleName2" ], "unmute": [ "DiscordRoleName", "DiscordRoleName2" ] } }
官方配置示例
{
"General Settings": {
"API Key (Bot Token)": "BotToken",
"Auto Reload Plugin": false,
"Auto Reload Time (Seconds)": 901,
"Enable Bot Status": false,
"In-Game Report Command": "report",
"Discord Extension Log Level (Verbose/Debug/Info/Warning/Error/Exception/Off)": "Info"
},
"Discord to Game Settings": {
"Discord Command Prefix": "!",
"Discord to Game Chat: Icon (Steam ID)": 76561199066612103,
"Discord to Game Chat: Tag": "[RUSTCORD]",
"Discord to Game Chat: Tag Color (Hex)": "#7289DA",
"Discord to Game Chat: Player Name Color (Hex)": "#55aaff",
"Discord to Game Chat: Message Color (Hex)": "#ffffff"
},
"Rust Logging Settings": {
"Enable Logging: Player Chat": true,
"Enable Logging: Joins & Quits": true,
"Enable Logging: Deaths": false,
"Enable Logging: Vehicle Spawns (Heli/APC/Plane/Ship)": false,
"Enable Logging: Crate Drops (Hackable/Supply)": false,
"Enable Logging: Usergroup Changes": false,
"Enable Logging: Permission Changes": false,
"Enable Logging: Kicks & Bans": true,
"Enable Logging: Player Name Changes": false,
"Enable Logging: Server Commands (Gestures/Note Edits)": false,
"Enable Logging: Server Messages (Give/Item Spawns)": false,
"Enable Logging: Player F7 Reports": false,
"Enable Logging: Team Changes": false,
"Enable Logging: RCON Connections": false,
"Enable Logging: Spectates": false,
"Enable Custom Logging": false
},
"Plugin Logging Settings": {
"Enable Logging: AdminHammer": false,
"Enable Logging: Admin Radar": false,
"Enable Logging: Better Chat Mute": false,
"Enable Logging: Clans": false,
"Enable Logging: Discord Auth": false,
"Enable Logging: Private Messages": false,
"Enable Logging: Raidable Bases": false,
"Enable Logging: Sign Artist": false,
"Enable Logging: Vanish": false
},
"Discord Output Formatting": {
"Output Type: Bans (Simple/Embed)": "Simple",
"Output Type: Bug Report (Simple/Embed)": "Simple",
"Output Type: Deaths (Simple/Embed/DeathNotes)": "Simple",
"Output Type: F7 Reports (Simple/Embed)": "Simple",
"Output Type: Join/Quit (Simple/Embed)": "Simple",
"Output Type: Join Player Info (Admin Channel) (Simple/Embed)": "Simple",
"Output Type: Kicks (Simple/Embed)": "Simple",
"Output Type: Note Logging (Simple/Embed)": "Simple",
"Output Type: Player Name Change (Simple/Embed)": "Simple",
"Output Type: /Report (Simple/Embed)": "Simple",
"Output Type: Teams (Simple/Embed)": "Simple",
"Output Type (Plugin): Admin Hammer (Simple/Embed)": "Simple",
"Output Type (Plugin): Admin Radar (Simple/Embed)": "Simple",
"Output Type (Plugin): Better Chat Mute (Simple/Embed)": "Simple",
"Output Type (Plugin): Clans (Simple/Embed)": "Simple",
"Output Type (Plugin): Private Messages (Simple/Embed)": "Simple",
"Output Type (Plugin): Raidable Bases (Simple/Embed)": "Simple",
"Output Type (Plugin): Vanish (Simple/Embed)": "Simple"
},
"Logging Exclusions": {
"Exclude Listed Groups From log_groups": [
"default"
],
"Exclude Listed Permissions From log_perms": [
"example.permission1",
"example.permission2"
]
},
"Filter Settings": {
"Chat Filter: Replacement Word": "<censored>",
"Chat Filter: Words to Filter": [
"badword1",
"badword2"
]
},
"Discord Logging Channels": [
{
"Discord Channel ID #": "",
"Channel Flags": [
"cmd_allow",
"cmd_players",
"cmd_kick",
"cmd_com",
"cmd_mute",
"cmd_unmute",
"msg_join",
"msg_joinlog",
"msg_quit",
"death_pvp",
"msg_chat",
"msg_teamchat",
"game_report",
"game_bug",
"msg_serverinit"
],
"Custom: Words/Phrases to Log": [
"keyword1",
"keyword2"
]
},
{
"Discord Channel ID #": "",
"Channel Flags": [
"msg_joinlog",
"game_report",
"game_bug"
],
"Custom: Words/Phrases to Log": [
"keyword1",
"keyword2"
]
}
],
"Discord Command Role Assignment (Empty = All roles can use command.)": {
"ban": [
"DiscordRoleName",
"DiscordRoleName2"
],
"com": [
"DiscordRoleName",
"DiscordRoleName2"
],
"kick": [
"DiscordRoleName",
"DiscordRoleName2"
],
"mute": [
"DiscordRoleName",
"DiscordRoleName2"
],
"players": [
"DiscordRoleName",
"DiscordRoleName2"
],
"timeban": [
"DiscordRoleName",
"DiscordRoleName2"
],
"unban": [
"DiscordRoleName",
"DiscordRoleName2"
],
"unmute": [
"DiscordRoleName",
"DiscordRoleName2"
]
}
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。