Skip to content

QQ Verify ​

Plugin ID: cn.hayashiume.qqverifyConfig file: [QQ Verify]Config.json

ReferenceWhere
Configuration[QQ Verify]Config.json
Commands#verify
Admin PanelBot secret
HTTP APISee Verification API

External dependency

Completing a verification requires an external QQ bot that calls IVerifyStore.TryConfirm(friendCode, qqNumber). The bot is not included with Empostor.

Commands ​

CommandAliasesUsagePermission
#verify#ververify <QQ号>Everyone
#verify 12345678
#ver 87654321

Verification flow

StepActorAction
1PlayerSends #verify <QQ number> in chat.
2ServerCreates a pending entry, valid for 10 minutes.
3PlayerSends /验证 <friend code> to the QQ bot.
4QQ botCalls IVerifyStore.TryConfirm(friendCode, qqNumber).

Pending entries expire after 10 minutes if never confirmed.

Configuration ​

Edit [QQ Verify]Config.json next to the plugin DLL.

json
{
  "botSecret": "change-bot-secret"
}
FieldTypeDefaultDescription
botSecretstring"change-bot-secret"Shared secret authenticating the QQ bot. Change it before going live.

Admin Panel ​

QQ Verify tab: text input for the bot secret, masked and shown as a password field. Saved values are written back to the config file.