Identica 的附加插件,用于在身份验证期间阻止命令。
要求
- 必需插件: Identica 3.0.x
- 测试平台: Velocity
BungeeCord 支持: BungeeCord 目前未经测试,且在命令自动补全方面存在技术限制。请自行斟酌使用。
允许的命令
正在身份验证的玩家始终可以运行 Identica 所需的命令,例如 /login、/pass、/identica enroll 和 /2fa confirm,以及任何提供程序添加的自有命令。该插件会从 Identica 读取这些命令,因此管理员重命名的命令以及后续加载的提供程序的命令均可在此处正常跟随,无需更改。
allowed-commands 列表列出了玩家在身份验证期间可运行的额外命令。条目按完整单词进行匹配,不区分大小写,且不包含前导斜杠:
rules允许/rules和/rules page 2。2fa status允许/2fa status和/2fa status all,但不允许/2fa disable或单独的/2fa。- 列出
2fa将允许所有/2fa ...命令,因此与其并列的子命令条目是多余的。
新安装时列表为空。执行 /identica admin reload 也会重新加载此列表。
自动补全
- Velocity: 发送给玩家的命令树会被过滤。
- BungeeCord: 仅能通过其事件路由的补全(参数、代理端补全)可以被过滤。1.13+ 版本的客户端会根据后端服务器发送的命令树来补全命令名称,而 BungeeCord 并未向插件暴露这一信息。
Addon-plugin for Identica that blocks commands during authentication.
Requirements
- Required Plugin: Identica 3.0.x
- Tested Platform: Velocity
BungeeCord Support: BungeeCord is currently untested and has technical limitations regarding command tab-completion. Use at your own risk.
Allowed commands
A player who is authenticating may always run the commands Identica needs for it, such as /login, /pass, /identica enroll and /2fa confirm, and those of any provider that adds its own. The addon reads them from Identica, so commands an administrator renames, and those of providers loaded later, are followed without a change here.
allowed-commands lists extra commands a player may run while authenticating. Entries are matched by whole words, case-insensitively, without the leading slash:
rulesallows/rulesand/rules page 2.2fa statusallows/2fa statusand/2fa status all, but not/2fa disableor a bare/2fa.- Listing
2faallows every/2fa ...command, so sub-command entries next to it are redundant.
The list is empty on a new installation. /identica admin reload also reloads it.
Tab completion
- Velocity: the command tree sent to the player is filtered.
- BungeeCord: only completion that BungeeCord routes through its events can be filtered (arguments, proxy-side completion). Clients on 1.13+ complete command names from the tree their backend server sent, which BungeeCord does not expose to plugins.
下载 Identica-CommandBlocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Identica-CommandBlocker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Identica-CommandBlocker
下载 Identica-CommandBlocker
下载 Identica-CommandBlocker
下载 Identica-CommandBlocker
下载 Identica-CommandBlocker
下载 Identica-CommandBlocker
下载 Identica-CommandBlocker
下载 Identica-CommandBlocker
更多信息:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧