以前命名的 DiscordCoreRoles
特征
- 允许 Discord 角色和 Oxide 组的 BI 定向同步。
- 同步发生时,可以在游戏聊天和 Discord 聊天中发送公告。
多游戏服务器支持
这个插件可以在多个游戏服务器到一个 discord 服务器之间工作。唯一的限制是您不能让多个游戏服务器将 oxide 组同步到同一个 discord 角色。Discord 链接
此插件支持 Discord Extension 提供的 Discord Link。获取您的 Bot Token
单击此处了解如何获取 Discord Bot Token配置
通知标记
这些是可以在通知消息中使用的标签{player.id}- 玩家 Steam ID
玩家名称
- Discord 用户 ID
- Discord 用户名
- Discord 鉴别器
- Discord 昵称
- Discord 角色 ID
Discord 角色名称
- Oxide 组名称{player.name}{discord.id}{discord.name}{discord.discriminator}{discord.nickname}{role.id}{role.name}{group.name}
地方化
默认消息位于目录下的文件中。要添加对其他语言的支持,请创建一个新的语言文件夹(例如 对于德语),请将默认语言文件复制到新文件夹,然后自定义消息。DiscordRoleslang/endeCopy
{
"Chat": "[#BEBEBE][[#de8732]Discord Roles[/#]] {0}[/#]",
"ServerMessageGroupAdded": "{player.name} has been added to oxide group {group.name}",
"ServerMessageGroupRemoved": "{player.name} has been removed to oxide group {group.name}",
"ServerMessageRoleAdded": "{player.name} has been added to discord role {role.name}",
"ServerMessageRoleRemoved": "{player.name} has been removed to discord role {role.name}",
"DiscordMessageGroupAdded": "{discord.name} has been added to oxide group {group.name}",
"DiscordMessageGroupRemoved": "{discord.name} has been removed to oxide group {group.name}",
"DiscordMessageRoleAdded": "{discord.name} has been added to discord role {role.name}",
"DiscordMessageRoleRemoved": "{discord.name} has been removed to discord role {role.name}"
}