Use custom argument types for... custom argument types #111
Labels
No labels
bug
chat
commands
components
config/data
dependencies
duplicate
enhancement
error handling
help wanted
invalid
needs testing
plugin updater
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ChromaGaming/ChromaCore#111
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.