
需要库模组Collective (Fabric)以及Fabric API。
OP Permission Fallback (Fabric) 作为桥梁,连接那些在代码中使用标准.hasPermission()函数但未提供权限模组支持的模组,与基于权限环境的服务器。
当为玩家添加 "minecraft.op"(可在配置中更改)权限字符串时,他们将能够执行所有 /op(erator) 可以执行的命令。这也适用于作弊访问权限。
目前兼容使用 fabric-permissions-api的权限提供商,例如 LuckPerms。
未来可扩展兼容性,如有特定提供商的请求,欢迎在 Github 上提交 Issue。
为什么存在这个模组?
假设你在服务器中建立了广泛的权限体系,并不使用 Minecraft 的 /op 功能。现在你添加了一个未设置权限支持的新模组。通过 OP Permission Fallback,你可以为管理员添加 "minecraft.op" 权限,使他们能够使用仅检查操作员/作弊访问权限的所有模组命令。
作为模组开发者,你也可以引用此模组以避免自行提供权限支持。
可配置: ( 如何配置? )
defaultOpPermissionString (默认 = "minecraft.op"):使玩家在游戏中像 /op(erators) 一样操作的权限字符串。默认为 'minecraft.op'。
------------------
只要下载保持在 Modrinth 生态系统中,您可以自由地在任何整合包中使用此模组。
Serilum.com 包含所有可用模组的概览和更多信息。
由于我无法跟踪每个模组的不同页面,评论已禁用。
如有问题、想法、建议或其他事项,请访问 Github 仓库。谢谢!

Requires the library mod Collective (Fabric) and the Fabric API.
OP Permission Fallback (Fabric) exists as a bridge between mods using the standard .hasPermission() function in their code, without providing support for a Permission mod, and servers with a permission-based environment.
When adding the "minecraft.op" (can be changed in the config) permission string to a player, they will be able to do all commands an /op(erator) can do. This also works for cheat-access.
At the moment compatible with permission providers using the fabric-permissions-api. Such as LuckPerms.
Compatibily can be extended in the future, feel free to open an issue on Github with a request for your specific provider.
Why does this exist?
Let's say you have created an extensive ecosystem of permissions within your server, and do not use the /op feature of Minecraft. You now add a new mod which is not set up for permissions. With OP Permission Fallback, you can add the "minecraft.op" permission to your admins, which means they will be able to use all commands from mods which only check for operator/cheat-access.
As a mod creator you can also reference this mod to avoid having to provide support for permissions yourself.
Configurable: ( how do I configure? )
defaultOpPermissionString (default = "minecraft.op"): The permission string to make players act like /op(erators) in-game. By default 'minecraft.op'.
------------------
You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
评论 0
登录后参与评分
还没有评论,来抢沙发吧