CommandsAPI - Enhanced Commands Creation icon

CommandsAPI - Enhanced Commands Creation -----

CommandsAPI is a framework designed to enhance and simplify command management on Spigot servers.



Improve Suggestions Handling for Hierarchical Commands
Changelog – Version 4.2.1
This patch release fixes edge cases in tab-completion behavior for hierarchical commands registered via CommandTree.
It ensures suggestions are accurate and context-aware based on cursor position and partially typed input.

Bug Fixes
Improved Tab-Completion Suggestions
  • Fixed incorrect suggestions when the cursor is placed immediately after a valid argument without a trailing space (e.g. /test sub<CURSOR>):
    • Suggestions now differentiate between:
      • Cursor at end of argument ➜ sibling and matching suggestions.
      • Cursor after space ➜ child/subcommand suggestions.
  • Handled partial alias paths consistently:
    • Suggestions work correctly for commands registered under aliases (e.g. "parent.child") and their subcommands.
Internal Improvements
  • Refactored fallback suggestion logic in CommandInvoker#suggest(...):
    • Clean separation of "argument-in-progress" vs "ready for next argument" cases.
Migration Notes
This is a non-breaking patch release:

  • No API changes.
  • No migration required.
Full Changelog: 4.2.0...4.2.1
----------, Jul 15, 2025
Resource Information
Author:
----------
Total Downloads: 310
First Release: Jul 29, 2024
Last Update: Jul 15, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings