CommandsAPI
CommandsAPI is a powerful and flexible Java library for creating and managing commands in Bukkit/Spigot plugins. It provides a robust framework for handling command arguments, permissions, subcommands, and auto-completion, making it easier to build complex command structures in your Minecraft plugins.
Features
-
Customizable Commands: Easily create commands with custom arguments, descriptions, usage, and permissions.
-
Subcommands Support: Organize your commands with subcommands and handle complex command structures effortlessly.
-
Argument Handling: Support for various argument types including custom types and auto-completion for a better user experience.
-
Permissions and Aliases: Define permissions and aliases for your commands to control access and provide alternative command names.
-
In-Game/Console Command Support: Specify whether a command can only be executed in-game or from the console.
Getting Started
Prerequisites
- Java 8 or higher
-
Paper/Spigot API - Compatible with various Minecraft server versions
-
CommandsAPI Library - Add it to your project dependencies
Documentation
For detailed documentation and usage examples, visit me
here.
Contributing
We welcome contributions to the CommandsAPI project! If you would like to contribute, please follow these steps:
1. Fork the repository.
2. Create a new branch for your changes.
3. Commit your changes with clear and concise commit messages.
4. Push your changes to your fork.
5. Create a pull request with a description of your changes.
Happy coding and enjoy building your Minecraft plugins with CommandsAPI!