From here you can configure the commands individually. You can set requirements like in the examples, type permission or via player. If you don't set a requirement like the first example, it will only be executable from the console.
# This allows you to run an executor for each command.# < ? > You can find more information about the executors in the header.commands:# In this example the command will be blocked for everyone.example_Command1:command:'exampleCommand1'warning:trueexecutors: - '[MESSAGE] %prefix%&cYou cannot execute this command!' - '[ACTION] &c&lā &7You tried to run the command: &c%command%'# In this example, however, it requires permission to execute the command.example_Command2:command:'exampleCommand2'warning:truepermission_required:'bettersecurity.bypass.exampleCommand2'executors: - '[MESSAGE] %prefix%&cYou cannot execute this command!'# In this other example, only the players on the list will be able to perform it.example_Command3:command:'exampleCommand3'# Tip. You can put both the player's name and his UUID.required_players: - 'playerName1' - '8667ba71-b85a-4004-af54-457a9734eed7'executors: - '[MESSAGE] %prefix%&cYou cannot execute this command!'
If you do not set any requirements, the command will be blocked for all players, including operators.
Requirement list:
permission_required: <permission>;You can set a permission to be able to execute the command. | Example: "permission_required: bettersecurity.bypass.examplecommand"
requiredplayers: <list_players>; You can set one or more players in the list who can execute the command. (In the list you can put both the nick and the UUID) | Example: "required_players: ["playerName1", "8667ba71-b85a-4004-af54-457a9734eed7"]"
Here you can set the action that will execute as soon as the player who does not qualify, will go to execute the command.