Introduction
Server Owner Usage
1.
Installation for server owners
2.
Configuration for server owners
3.
Command conversion
❱
3.1.
Single command conversion
3.2.
Single command conversion (with arguments)
3.3.
Entity selectors
4.
Skipping proxy senders
CommandAPI Setup
5.
Setting up your development environment
6.
Shading the CommandAPI in your plugins
7.
Using the annotation system
Creating Commands
8.
Command registration
9.
Command executors
❱
9.1.
Normal command executors
9.2.
Proxied commandsenders
9.3.
Native commandsenders
9.4.
Resulting command executors
9.5.
Handling command failures
10.
Command arguments
❱
10.1.
Listed arguments
10.2.
Argument suggestions
❱
10.2.1.
The SuggestionsInfo record
10.2.2.
String argument suggestions
10.2.3.
Safely typed argument suggestions
10.2.4.
Argument suggestions with tooltips
10.2.5.
Asynchronous suggestions
10.3.
Argument types
❱
10.3.1.
Primitive arguments
10.3.2.
Ranged arguments
10.3.3.
String arguments
10.3.4.
Positional arguments
❱
10.3.4.1.
Location arguments
10.3.4.2.
Rotation arguments
10.3.4.3.
AxisArguments
10.3.5.
Chat arguments
❱
10.3.5.1.
Spigot chat arguments
10.3.5.2.
Adventure chat arguments
10.3.6.
Entity & player arguments
10.3.7.
Scoreboard arguments
❱
10.3.7.1.
Scoreboard arguments
10.3.7.2.
Objective arguments
10.3.7.3.
Team arguments
10.3.8.
Miscellaneous arguments
❱
10.3.8.1.
Angle arguments
10.3.8.2.
Advancement arguments
10.3.8.3.
Biome arguments
10.3.8.4.
BlockState arguments
10.3.8.5.
Enchantment arguments
10.3.8.6.
Environment arguments
10.3.8.7.
Itemstack arguments
10.3.8.8.
LootTable argument
10.3.8.9.
MathOperation arguments
10.3.8.10.
Particle arguments
10.3.8.11.
Potion effect arguments
10.3.8.12.
Recipe arguments
10.3.8.13.
Sound arguments
10.3.8.14.
Time arguments
10.3.8.15.
UUID arguments
10.3.9.
Predicate arguments
❱
10.3.9.1.
Block predicate arguments
10.3.9.2.
ItemStack predicate arguments
10.3.10.
NBT arguments
10.3.11.
Literal arguments
❱
10.3.11.1.
Literal arguments
10.3.11.2.
Multi literal arguments
10.3.12.
Custom arguments
11.
Functions & Tags
❱
11.1.
Setting up functions & tags
11.2.
The SimpleFunctionWrapper class
11.3.
The FunctionWrapper class
11.4.
Function arguments
12.
Permissions
13.
Requirements
14.
Aliases
15.
Help
16.
Subcommands
17.
Command trees
Annotation-based Commands
18.
Annotation-based commands
19.
Annotations
20.
Registering annotation-based commands
CommandAPI Utilities
21.
Command conversion
22.
Plugin reloading
Internal CommandAPI
23.
Internal CommandAPI
24.
Brigadier + CommandAPI
25.
Brigadier Suggestions
Java Tips
26.
Predicate tips
CommandAPI Contribution
27.
Introduction
28.
Project Structure
Upgrading guide
FAQ
Incompatible version information
Troubleshooting
Afterword
Light
Rust (default)
Coal
Navy
Ayu
Skepter Likes Purple
CommandAPI Documentation v7.0.0
Position-based arguments