OP Permission Fallback
🍀 Players with the "minecraft.op" permission will be seen as /op(erators) in-game. Compatible with LuckPerms.
介绍
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!
常见问题
OP Permission Fallback 支持哪些 Minecraft 版本?
OP Permission Fallback 支持 Minecraft Java 版 1.16.5,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
OP Permission Fallback 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Serilum 的其他作品
查看全部 →Collective
🎓 Collective 是 Serilum 所有模组共用的前置库,包含通用代码。
Starter Kit
📦 为加入世界的新玩家提供可配置的初始装备、物品、药水效果、Curios 和 Trinkets 饰品槽位和/或命令。兼容 FTB Team Islands。
Villager Names
为所有村民实体添加默认名称或自定义名称,让世界更加生动。
双开门 Double Doors
🚪 多个相同的双开门、活板门和栅栏门可以同时打开。

评论
登录后评论和评分