Fixed client crashes and brought back the command system to the 1.8 API.
- Resolved an issue where certain classes could not be found, preventing crashes on specific clients.
- Re-added the command system to the 1.8 API.
Developer Notes
- New Command Properties:
Commandnow features mutable properties for finer control (configurable via constructor or post-init):exclusiveSuggestions: When true, prevents the client from requesting server-side suggestions if local results exist.showInRoot: If true, the command and its aliases appear in the suggestion list when the player requests completions for an empty command (e.g. typing/and pressing tab).caseSensitive: Determines whether the command name and aliases must match the input exactly.
- Command Filtering and Dispatching: Unlike Weave 0.x, only the first matched command is executed. If multiple commands share a name or alias, the command registered earliest takes precedence.
For more information, look at the Javadocs for CommandBus and Command.