DiscordVerify 插件是什么?
TechniqStone 的 DiscordVerify 是一款面向 Discord 的进阶验证插件。我们可以这么说,因为我们确实开发了一款功能全面的插件——专为打造完美、现代的服务器而生。
/verify 在 Minecraft 中 ➝ 通过 Discord Bot 私聊发送验证码 ➝ 完成,你将在 Discord 上获得相应的身份组!
✨ 10. 功能特性
- 支持 MySQL / SQLite
- 使用 Discord Bot Token
- 映射 Minecraft 身份组 ➝ Discord 角色 ID
- Minecraft 与 Discord 之间的昵称同步
- 成功 验证 或 取消验证 后执行自定义操作
- 提供选项以在取消验证后 保留原有角色
- 可配置 验证码长度(1–16 个字符)
- 设置 验证码过期时间(秒)
- 定义 实时同步 的运行频率
- 自定义 Minecraft 和 Discord 中的 提示信息
命令与权限
/verify- verify.command/unverify- unverify.command
依赖项
配置文件
# Discord 服务器 ID,机器人将在此分配角色
guild_id: '12345678910121314'
discord_token: 'DISCORD_BOT_TOKEN'
database_type: 'sqlite' # 支持的值:'mysql', 'sqlite'
mysql:
host: 'localhost'
port: 3306
database: 'discordverify'
username: 'discordverify_user'
password: 'password'
# 验证成功后赋予的身份组
default_rank: Spieler
# 所有已验证玩家获得的 Discord 角色 ID(可选)
# 此角色会分配给所有成功验证的玩家
# 当玩家使用 /unverify 时会自动移除该角色
verified_role_id: ''
# 映射:Minecraft 身份组 -> Discord 角色 ID
discord:
Admin:
- '12345678910121314'
- '23456789012345678'
Supporter:
- '34567890123456789'
- '23456789012345678'
Spieler:
- '56789012345678901'
nicknameSync:
minecraftToDiscord: false
ignoreGroups: []
# 在成功验证后执行自定义操作。
# 每项必须以 'console:' 或 'player:' 开头。
# 可用的占位符:{player}, {uuid}
successVerifyActions:
#- 'console: lp user {player} meta addsuffix 100 "&e✔"'
successUnverifyActions:
#- 'console: lp user {player} meta removesuffix 100'
# 取消验证后保留的 Discord 角色
keep_roles_on_unverify:
- '12345678910121314'
# 验证码长度(1–16)
numbers: 4
# 验证码过期时间(秒)
expiration_time: 60
# 实时同步的运行间隔(秒)
sync_interval: 3
# Minecraft 端提示语
onlyPlayer: '&c&lTechniqStone &8» &c只有玩家才能进行验证。'
noPermission: '&c&lTechniqStone &8» &c您没有权限。'
verifyDisabled: '&c&lTechniqStone &8» &c验证系统已禁用。'
verifySuccessMc: '&c&lTechniqStone &8» &7验证 &b成功! &7您的 Discord 角色已同步。'
alreadyVerifiedMc: '&c&lTechniqStone &8» &7您是想输入 &b/unverify&7 吗?您已经验证过了。'
codeMessage: '&c&lTechniqStone &8» &7您的验证码为 &b{code}&7。请在 &b{time} &7秒内通过私聊发送给 Discord 机器人 &b#Verify&7。'
errorCodeMessage: '&c&lTechniqStone &8» &c保存验证码出错。请立即联系工单支持!'
notVerified: '&c&lTechniqStone &8» &c您尚未验证。'
unverifyMessage: '&c&lTechniqStone &8» &7解绑成功。'
databaseErrorMc: '&c&lTechniqStone &8» &c数据库错误。请立即联系工单支持!'
# Discord 端提示语
errorDefaultRank: '内部错误:未设置 default_rank。**请立即联系工单支持!**'
errorRoleNotFound: '内部错误:未找到角色。**请立即联系工单支持!**'
databaseErrorDc: '数据库错误。**请立即联系工单支持!**'
alreadyVerified: '您已经验证过了。'
invalidCode: '❌ 无效或过期的验证码。'
verifyWorks: '✅ **验证码有效!** 您已成功验证,TechniqStone Discord 服务器上的角色已分配给您。'
unverifyDc: '您已成功解除 Minecraft 账号的绑定。您可以随时再次验证。'
What is the DiscordVerify plugin?
The DiscordVerify plugin from TechniqStone is a next-level verification plugin for Discord. We can say that because we really have developed a plugin that can do it all - for your perfect, modern server.
/verify in Minecraft ➝ Code via Discord Bot DM ➝ Finish, you get your ranks on Discord!
✨ 10. Features
- MySQL/SQLite support
- Uses a Discord Bot Token
- Map Minecraft ranks ➝ Discord role IDs
- Nickname synchronization between Minecraft and Discord
- Custom actions after successful verification or unverification
- Option to keep roles after unverifying
- Configurable verification code length (1–16 characters)
- Set code expiration time in seconds
- Define how often live sync runs
- Customizable messages for Minecraft and Discord
Commands & Permission
/verify- verify.command/unverify- unverify.command
Dependency
Config
# Discord server where the bot assigns roles
guild_id: '12345678910121314'
discord_token: 'DISCORD_BOT_TOKEN'
database_type: 'sqlite' # Supported values: 'mysql', 'sqlite'
mysql:
host: 'localhost'
port: 3306
database: 'discordverify'
username: 'discordverify_user'
password: 'password'
# Role given after successful verification
default_rank: Spieler
# Discord role ID given to all verified players (optional)
# This role is assigned to every player that successfully verifies
# and automatically removed when the player uses /unverify
verified_role_id: ''
# Mapping: Minecraft rank -> Discord role ID
discord:
Admin:
- '12345678910121314'
- '23456789012345678'
Supporter:
- '34567890123456789'
- '23456789012345678'
Spieler:
- '56789012345678901'
nicknameSync:
minecraftToDiscord: false
ignoreGroups: []
# Executes custom actions after successful verification.
# Each entry must start with either 'console:' or 'player:'.
# Available placeholders: {player}, {uuid}
successVerifyActions:
#- 'console: lp user {player} meta addsuffix 100 "&e✔"'
successUnverifyActions:
#- 'console: lp user {player} meta removesuffix 100'
# Discord roles to keep after unverification
keep_roles_on_unverify:
- '12345678910121314'
# Length of the verification code (1–16)
numbers: 4
# Code expiration time in seconds
expiration_time: 60
# How often live sync runs (in seconds)
sync_interval: 3
# Minecraft
onlyPlayer: '&c&lTechniqStone &8» &cOnly players can verify.'
noPermission: '&c&lTechniqStone &8» &cYou don’t have permission.'
verifyDisabled: '&c&lTechniqStone &8» &cThe verification system is disabled.'
verifySuccessMc: '&c&lTechniqStone &8» &7Verification &bsuccessful! &7Your Discord roles have been synced.'
alreadyVerifiedMc: '&c&lTechniqStone &8» &7Did you mean &b/unverify&7? You’re already verified.'
codeMessage: '&c&lTechniqStone &8» &7Your verification code is &b{code}&7. Send it within &b{time} &7seconds via DM to the Discord bot &b#Verify&7.'
errorCodeMessage: '&c&lTechniqStone &8» &cError saving the verification code. Please contact ticket support immediately!'
notVerified: '&c&lTechniqStone &8» &cYou are not verified.'
unverifyMessage: '&c&lTechniqStone &8» &7Unlink successful.'
databaseErrorMc: '&c&lTechniqStone &8» &cDatabase error. Please contact ticket support immediately!'
# Discord
errorDefaultRank: 'Internal error: default_rank not set. **Please contact ticket support immediately!**'
errorRoleNotFound: 'Internal error: role not found. **Please contact ticket support immediately!**'
databaseErrorDc: 'Database error. **Please contact ticket support immediately!**'
alreadyVerified: 'You are already verified.'
invalidCode: '❌ Invalid or expired code.'
verifyWorks: '✅ **Verification code valid!** You have been successfully verified and your roles on the TechniqStone Discord server have been assigned.'
unverifyDc: 'You have successfully unlinked your Minecraft account. You can verify again at any time.'
下载 DiscordVerify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordVerify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordVerify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordVerify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordVerify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordVerify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordVerify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordVerify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordVerify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordVerify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 新增配置项
verified_role_id,用于为所有成功验证的玩家分配“已验证”角色 - 当玩家使用
/unverify命令时,自动移除其“已验证”角色
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧