Use custom argument types for... custom argument types #111

Open
opened 2023-07-31 15:06:41 +00:00 by NorbiPeti · 0 comments
NorbiPeti commented 2023-07-31 15:06:41 +00:00 (Migrated from github.com)

Right now I'm using my own approach when it comes to custom command parameters (like plugins or components etc.). Brigadier has its own method which is to declare your own type. This probably can't be displayed on the client in any fancier way than before but it would make more sense to use it and report errors (using the same format as for primitive types) before the command execution logic even begins.

Right now I'm using my own approach when it comes to custom command parameters (like plugins or components etc.). Brigadier has its own method which is to declare your own type. This probably can't be displayed on the client in any fancier way than before but it would make more sense to use it and report errors (using the same format as for primitive types) before the command execution logic even begins.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ChromaGaming/ChromaCore#111
No description provided.