This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
How can a create a custom command that i can use without op?
PlayerList: command: /list type: RUN_COMMAND runcmd: - '$text$&6Online players:&e $ponline&6.' permission-required: false
permission-node: myserver.playerlist
permission-error: '&cYou don't have permission.' register: true
For anyone to use your custom commands add "permission-required: false". If you want to add specific permission node, add both "permission-node: myserver.playerlist" and "permission-error: '&cYou don't have permission.'". If your custom command includes a command that can be only run by OP players (example /give $player item amount) and you want your players to execute this command without permission, you can use other command type, instead of type: RUN_COMMAND, you use type: RUN_AS_OPERATOR. This way, the player will be bypassing all permissions while executing your custom command, but it can lead to security issues(I personally didn't had any so far). But I recommend using RUN_COMMAND type in combination with $RUN_CONSOLE$ in front of the commands, if they can be executed through console.
To post a comment, please login or register a new account.