? 这个模组是做什么的?
这是一个修改命令权限等级和调整操作员权限的模组,特性包括:
- ⚡ 实时修改任何命令的权限等级。
- ? 轻量级且易于使用。
- ? 良好的兼容性与其他模组。(除了类似的模组外,我无法确定它们是否兼容)
- ? 高度可配置。
- ? 安全性。
? 使用前请注意!
? 本模组基于 Minecraft 原生权限系统,因此你需要了解:
- Minecraft 有 5 个权限等级
- 例如:0(所有人)?, 1( moderator/版主)?, 2(Gamemaster/游戏管理员)?, 3(Admin/管理员)?, 4(Owner/所有者)?
- 如果想了解更多,请前往 这里
? 如果你想将此模组用于你的服务器,那么你需要知道如何修改服务器配置文件以及它们是如何工作的。
-
你可以在此处了解更多相关信息:这里。
? 如何使用此模组?
只需使用以下命令:
/setcmdlevel <command name> <level>
/delcmdconfig <command name>
/checkcmdlevel <raw/config> <command name>
/slrcommand <permission level> <command>
/checkcmdconfiglist
? 它们各自有什么用?
setcmdlevel 命令 ?
它可以修改任何命令的权限等级?,例如这个示例?,它将把 give 命令的权限等级修改为 0?,然后所有人都可以使用它:
/setcmdlevel give 0
但请注意?,它无法修改任何等级 4 的命令?,例如这个示例,它将无效:
/setcmdlevel stop 0
并且它仍然可以禁用任何命令?,例如这个示例,它将禁用 give 命令?:
/setcmdlevel give 5
这样任何人都不能使用 give 命令,即使你是所有者?。(因为 原版没有等级 5 的权限)
你不能禁用 setcmdlevel 命令?。
delcmdconfig 命令 ?
它可以让配置文件中任何命令的等级配置恢复为原始等级?,例如这个示例?,它将删除 give 命令的等级配置?,然后 give 命令恢复为等级 2:
/delcmdconfig give
checkcmdlevel 命令 ?
它可以检查任何命令的配置等级或原始等级?,例如这个示例,它可以检查 give 命令的原始等级?:
/checkcmdlevel raw give
而这个示例,它可以检查 give 命令的配置等级?:
/checkcmdlevel config give
slrcommand 命令?
它可以使用任意权限等级来执行命令?,例如这个示例?,它将使用等级 3 的权限来运行 kick 命令:
/slrcommand 3 kick @r
但你不能进行特权升级以运行高级命令?,例如这个示例?,如果你只有等级 1 的权限?,它将无效:
/slrcommand 2 give @s diamond
checkcmdconfiglist 命令 ?
它可以检查所有命令的配置?,不需要任何参数?,此示例可直接使用:
/checkcmdconfiglist
? 关于可配置项
防止将命令配置等级恢复为原始等级?(默认开启)
- CannotModifyCommandConfigLevelToRawLevel
显示调试信息?(默认开启)
使调试信息可见?(默认关闭)
在服务器启动时打印 Command Adjust 标志?(默认开启)
允许服务器运行任何命令,即使该命令已被禁用?(默认开启)
防止删除等级 4 命令的配置?(默认关闭)
- CannotDeleteKeyCommandConfig
防止修改等级 4的命令?(默认开启)
修改命令权限等级列表,提供一些示例供你参考以修改此列表?
? 提醒
切勿将 execute 命令的权限等级修改低于 2?,因为 execute 命令存在一个特权升级漏洞,这将让玩家能够使用某些参数来运行任何高级命令(等级 2 及以下) ?,虽然无法运行 等级 3 及以上命令?,但这仍然存在风险?。
如果你想修改 WorldEdit 模组的命令?,请用双引号包裹,例如修改 //pos1 命令,你应该输入:
/setcmdlevel "/pos1" 2
但不要输入:
/setcmdlevel "//pos1" 2
? 常见问题解答
我可以将这个模组包含在我的整合包中吗?我想让玩家在允许的范围内作弊?。
- 当然可以。你可以无需征得许可将其包含在任何整合包中?。
配置文件中出现未知命令该怎么办??
- 请使用 "delcmdconfig" 命令或修改配置文件,它们都可以解决此问题?。
为什么不修复 "execute" 命令的漏洞??
- 虽然我添加了应对方法,但我不能保证完全无法绕过它?。
为什么我看不到降级后的命令??
- 因为我不知道如何修改命令补全功能,但我会在未来修复这个 bug?。
一个命令我看不到,但它已降级为我可以运行的等级,它能运行吗??
这个模组还是 LuckPerms 更好??
- 不能说谁是最好的,需要取决于你的具体情况?。如果你的服务器是小型或中型,可以选择这个模组?;但如果你的服务器是大型的,请选择 LuckPerms ?。
? What is this mod for?
This is a command permission level modify and operator adjust mod,features:
- ⚡ Modify any command permission level in real time.
- ? Lightweight and easy to use.
- ? Good Compatibility with other mods. (Except for similar mods,I can't be sure they are compatible)
- ? Highly configurable.
- ? Security.
? Please take note before using this mod!
? This mod is based on minecraft original permission level system,so you need to know:
- Minecraft has 5 permission levels
- Like : 0(All)?,1(Moderator)?,2(Gamemaster)?,3(Admin)?,4(Owner)?
- If you want to learn more,please go to Here
? If you want to use this mod to your server,then you need to know how to modify server config and how they work.
Just use these command:
/setcmdlevel <command name> <level>
/delcmdconfig <command name>
/checkcmdlevel <raw/config> <command name>
/slrcommand <permission level> <command>
/checkcmdconfiglist
? What are they each used for?
setcmdlevel command ?
It can modify any commands permission level?,for example this example?,it will modify give command permission level to 0?,then everyone can use it:
/setcmdlevel give 0
But just please note?,it can't modify any level 4 commands?,for example this example,it won't work:
/setcmdlevel stop 0
And it can still disable any command?,for example this example,it will disable give command?:
/setcmdlevel give 5
Then everyone can't use give command,even if you are owner?. (because vanilla has no level 5 permission)
And you can't disable setcmdlevel command?.
delcmdconfig command ?
It can let any commands in config form config level back to original level?,for example this example?,it will delete give command level config?,then give command back to level 2:
/delcmdconfig give
checkcmdlevel command ?
It can check any command config or original level?,for example this example,it can check give command original level?:
/checkcmdlevel raw give
And this example,it can check give command config level?:
/checkcmdlevel config give
slrcommand command?
It can use any permission level to run command?,for example this example?,it will use level 3 permission to run kick command:
/slrcommand 3 kick @r
But you can't privilege escalation to run advanced command?,for example this example?,if you only have level 1 permission?,it won't work:
/slrcommand 2 give @s diamond
checkcmdconfiglist command ?
It can check all command config?,not need any parameter?,this example can use directly:
/checkcmdconfiglist
? About configurable
Prevent modify command config level back to raw level? (on by default)
- CannotModifyCommandConfigLevelToRawLevel
Show debug info? (on by default)
Make debug info visible? (off by default)
Print Command Adjust logo in server starting? (on by default)
Server can run any command,even if that command is disable? (on by default)
Prevent delete level 4 command config? (off by default)
- CannotDeleteKeyCommandConfig
Prevent modify level 4 command? (on by default)
Modify command permission level list,have some example to you reference to modify this list?
? Reminder
Never modify execute command permission level below 2?,because execute command have a privilege escalation bug,it will be let player can use some parameter to run any advanced commands(level 2 and below) ?,although can't run level 3 and above commands?,but it still risk?.
If you want to modify WorldEdit mod command?,please wrap in double quotes,for example modify //pos1 command,you should type:
/setcmdlevel "/pos1" 2
But don't type:
/setcmdlevel "//pos1" 2
? FAQ
Can I include this mod in my modpack? I want to let player cheat within the allowed limits?.
- Of course. You can include it in any modpack without asking for permission?.
What should I do at unknow command in config file??
- Please use "delcmdconfig" command or modify config file,they can all fix this problem?.
Why don't fix "execute" command bug??
- Although I added coping method,but i can't guarantee there is no way to get around it?.
Why do i can't see downgraded command??
- Because i don't know how to modify command completion,but i will fix this bug in future?.
A command can't see but downgraded to i can run it level,can it run??
- Of course,it still can run,just you can't see it?.
Which this mod or LuckPerms is better??
- Can't say who is the best,need depends on your situation?. If your server is small or medium,can choose this mod?;but if your server is big,please choose LuckPerms ?.
评论 0
登录后参与评分
还没有评论,来抢沙发吧