promotional bannermobile promotional banner

Command Adjust

A simple but useful command and operator adjust mod.

๐Ÿง 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.

  • And you can learn more about this at Here.

    ๐Ÿค” How to use this mod?

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)

  • Debug

Make debug info visible๐Ÿ“‘ (off by default)

  • ShowDebug

Print Command Adjust logo in server starting๐Ÿ“Ÿ (on by default)

  • CommandAdjustLogoPrint

Server can run any command,even if that command is disable๐ŸŽญ (on by default)

  • ServerCanRunAnyCommand

Prevent delete level 4 command config๐Ÿงค (off by default)

  • CannotDeleteKeyCommandConfig

Prevent modify level 4 command๐Ÿ”’ (on by default)

  • KeyCommandGuard

Modify command permission level list,have some example to you reference to modify this list๐Ÿ”ง

  • CommandLevelConfigList

๐Ÿ˜ 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 ๐Ÿ˜“.

Command Adjust Team

profile avatar
Owner
  • 1
    Projects
  • 83
    Downloads