mirror of
https://github.com/System-End/Discord-MC-Chat.git
synced 2026-04-19 22:05:11 +00:00
rename dmcc_whitelist
This commit is contained in:
parent
0218d8072d
commit
2c80bb509a
1 changed files with 3 additions and 3 deletions
|
|
@ -112,10 +112,10 @@ Discord 用户的身份将通过以下规则在 Server 端结算为一个具体
|
|||
玩家因白名单进不去服务器 -> 无法执行 `/dmcc link` 证明身份 -> 无法获得白名单。
|
||||
**解决方案**:
|
||||
|
||||
1. 原生 `/whitelist` 要求 OP 3,存在安全风险。DMCC 在 Client 端提供独立的 `/dmcc_whitelist` 命令,权限配置为 `0` 级。
|
||||
1. 原生 `/whitelist` 要求 OP 3,存在安全风险。DMCC 在 Client 端提供独立的 `whitelist` 命令,权限配置为 `0` 级。
|
||||
2. 玩家加入 Discord 后,通过验证获取某个基础角色(该角色在 `role_mappings` 中映射为 OP 0)。
|
||||
3. 玩家在 Discord 频道执行 `/execute SMP dmcc_whitelist <他的ID>`。
|
||||
4. 路由将 OP 0 凭证发给 SMP,SMP 校验本地 `dmcc_whitelist: 0` 通过,底层执行白名单添加。玩家即可进服完成后续绑定。
|
||||
3. 玩家在 Discord 频道执行 `/execute SMP whitelist <他的ID>`。
|
||||
4. 路由将 OP 0 凭证发给 SMP,SMP 校验本地 `whitelist: 0` 通过,底层执行白名单添加。玩家即可进服完成后续绑定。
|
||||
|
||||
## 6. 命令列表与配置参考
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue