![]() ![]() Offers an abstraction on the “console command” concept. Holds all the commands that are set up through the translator. ![]() Simply used to retrieve the player using the command. Prints a basic usage message for this parameter.Ī number arg, inherits from cmds.BaseArg.Ī helper function to help us figure out restrictions on this command.Ī boolean arg, inherits from cmds.BaseArg.Ī player arg, inherits from cmds.BaseArg.Ī table of players arg, inherits from cmds.PlayerArg. Used to, you guessed it, parse and validate an argument specified by a user. Just defines the basics for us, used in autocomplete and command callbacks. ![]() This is used when specyfing a number argument that should allow time string representations to be parsed (eg, ‘1w1d’ for 1 week 1 day). This is used when specifying a command that should ignore the can_target property in the groups config. This is used when specifying a number argument to flag the argument to round the number to the nearest integer. ![]() This is used when specifying a string argument to flag that this argument should use up any remaining args, whether quoted as one arg or not. This is used when specifying a string argument to flag that only what was specified for autocomplete is allowed to be passed as a valid argument. This is used when specifying an argument to flag the argument as optional. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |