![]() You can register a function that runs before every command is run, and decides if the user can run this command. Capture and interrupt command execution with hooks - This all you need for permissions in your game.Ships with a basic set of commands and utilities out of the box - but you choose what commands to load.Define commands with a simple configuration scheme - take a look at the built-in commands for examples.GitHub Repository, installation instructions, and docs Key Features ![]() By the time the command actually gets to your code, you can be assured that all of the arguments are present and of the correct type. In addition to the standard moderation commands (teleport, kill, kick, ban), Cmdr is also great for debug commands in your game (say, if you wanted to have a command to give you a weapon, reset a round, teleport you between places in your universe).Ĭmdr has a robust and friendly type validation system (making sure strings are strings, players are players, etc), which can give end users real time command validation as they type, and automatic error messages. Cmdr is designed specifically so that you can write your own commands and argument types, so that it can fit right in with the rest of your game. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |