欢迎加入!

注册后,您将能够与我们社区的其他成员进行讨论、分享和私信。

无论您是想寻求帮助、分享经验,还是结识志同道合的朋友,我们都期待您的参与!一起探索更多精彩内容吧。

立即注册! 加入群聊
  • 所有的免费插件都是同步外网更新,所有都是最新版!
Discord 角色

同步更新 Discord 角色 同步更新

没有下载权限
购买会员

以前命名的 DiscordCoreRoles​

特征​

  • 允许 Discord 角色和 Oxide 组的 BI 定向同步。
  • 同步发生时,可以在游戏聊天和 Discord 聊天中发送公告。

多游戏服务器支持​

这个插件可以在多个游戏服务器到一个 discord 服务器之间工作。唯一的限制是您不能让多个游戏服务器将 oxide 组同步到同一个 discord 角色。

Discord 链接​

此插件支持 Discord Extension 提供的 Discord Link。

获取您的 Bot Token​

单击此处了解如何获取 Discord Bot Token

配置​

设置和选项可以在目录下的文件中进行配置。建议使用编辑器和验证器,以避免格式问题和语法错误。DiscordRolesconfig
{
"Discord Bot Token": "",
"Discord Server ID (Optional if bot only in 1 guild)": "",
"Sync Nicknames": false,
"Sync Clan Tag": false,
"Update Rate (Seconds)": 2.0,
"Use AntiSpam On Discord Nickname": false,
"Action To Perform By Event": {
"Events To Sync Server Groups -> Discord Roles": {
"Sync On Plugin Load": true,
"Sync On Player Connected": true,
"Sync On Server Group Changed": true,
"Sync On Discord Role Changed": true,
"Sync On Discord Nickname Changed": false,
"Sync On Player Linked / Unlinked": true,
"Sync On User Join / Leave Discord Server": true
},
"Events To Sync Discord Roles -> Server Groups": {
"Sync On Plugin Load": true,
"Sync On Player Connected": true,
"Sync On Server Group Changed": true,
"Sync On Discord Role Changed": true,
"Sync On Discord Nickname Changed": false,
"Sync On Player Linked / Unlinked": true,
"Sync On User Join / Leave Discord Server": true
},
"Events To Sync Discord Nickname": {
"Sync On Plugin Load": true,
"Sync On Player Connected": true,
"Sync On Server Group Changed": false,
"Sync On Discord Role Changed": false,
"Sync On Discord Nickname Changed": true,
"Sync On Player Linked / Unlinked": true,
"Sync On User Join / Leave Discord Server": false
}
},
"Sync Data": [
{
"Server Group": "Default",
"Discord Role ID": "",
"Sync Source (Server or Discord)": "Server",
"Sync Notification Settings": {
"Send message to Server": false,
"Send Message To Discord": false,
"Discord Message Channel ID": "",
"Send Message When Added": false,
"Send Message When Removed": false,
"Server Message Added Override Message": "",
"Server Message Removed Override Message": "",
"Discord Message Added Override Message": "",
"Discord Message Removed Override Message": ""
}
},
{
"Server Group": "VIP",
"Discord Role ID": "",
"Sync Source (Server or Discord)": "Discord",
"Sync Notification Settings": {
"Send message to Server": false,
"Send Message To Discord": false,
"Discord Message Channel ID": "",
"Send Message When Added": false,
"Send Message When Removed": false,
"Server Message Added Override Message": "",
"Server Message Removed Override Message": "",
"Discord Message Added Override Message": "",
"Discord Message Removed Override Message": ""
}
}
],
"Plugin Log Level (None, Error, Warning, Info)": "Warning",
"Discord Extension Log Level (Verbose, Debug, Info, Warning, Error, Exception, Off)": "Info"
}

通知标记​

这些是可以在通知消息中使用的标签

{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/ende

Copy
{
"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}"
}
作者
xiaoguan
下载
0
查看
22
首次发布
最后更新

评分

0.00 星 0 星

来自xiaoguan的更多资源

后退
顶部