Better Chat Commands [API]

Better Chat Commands [API] 2.0.0

BETTER CHAT COMMANDS [API]​

bcc1.png

Simple and convenient API for creating and managing commands! It introduces a new hook that extends the functionality of the original hook_chat_command:

Declarative Arguments: When creating a command, you define the required arguments directly via a table, specifying their names and types. The parser AUTOMATICALLY handles the text processing and provides you with ready-to-use data.
Automatic Documentation: Command descriptions are generated automatically based on a unified standard, taking your defined arguments.
Simplified Callbacks: The command function receives a single table containing all your arguments. No more manual data conversion - just get data and execute your logic!
Built-in Validation: Commands include several validation checks during the parsing stage, automatically outputting errors for incorrect types or missing arguments.
Visual Feedback System: The API includes built-in functions for creating visual error messages, success reports, logs, and warnings, complete with sound effects and color-coding (just like in ExtraChatCommands)
Author
CrazyDany
Downloads
199
Views
1,347
First release
Last update

Ratings

0.00 star(s) 0 ratings

More mods from CrazyDany

Latest updates

  1. Declarative Rewrite

    IMPORTANT: THIS HAS BEEN CONVERTED FROM A MOD INTO A LIBRARY. PLEASE PLACE IT IN YOUR MODS...