Version 1.14.4 and below: `org.bukkit.inventory.Recipe`
1.15 and above: `org.bukkit.inventory.ComplexRecipe`
|
+| [`RotationArgument`](./types/position/rotation-arguments) | `dev.jorel.commandapi.wrappers.Rotation` |
+| [`ScoreboardSlotArgument`](./types/scoreboard/scoreboard-arguments#scoreboard-slot-argument) | `dev.jorel.commandapi.wrappers.ScoreboardSlot` |
+| [`ScoreHolderArgument.Single`](./types/scoreboard/scoreboard-arguments#score-holder-argument) | `String` |
+| [`ScoreHolderArgument.Multiple`](./types/scoreboard/scoreboard-arguments#score-holder-argument) | `Collection` |
+| [`SoundArgument`](./types/misc/sound-arguments) | `org.bukkit.Sound` |
+| [`SoundArgument.NamespacedKey`](./types/misc/sound-arguments) | `org.bukkit.NamespacedKey` |
+| [`StringArgument`](./types/string-arguments#string-argument) | `String` |
+| [`TeamArgument`](./types/scoreboard/team-arguments) | `org.bukkit.scoreboard.Team` |
+| [`TextArgument`](./types/string-arguments#text-argument) | `String` |
+| [`TimeArgument`](./types/misc/time-arguments) | `int` |
+| [`UUIDArgument`](./types/misc/uuid-arguments) | `java.util.UUID` |
+| [`WorldArgument`](./types/misc/world-arguments) | `org.bukkit.World` |
\ No newline at end of file
diff --git a/docs/en/create-commands/arguments/types/chat/adventure-chat-arguments.md b/docs/en/create-commands/arguments/types/chat/adventure-chat-arguments.md
index 6b38e197..15ccea2c 100644
--- a/docs/en/create-commands/arguments/types/chat/adventure-chat-arguments.md
+++ b/docs/en/create-commands/arguments/types/chat/adventure-chat-arguments.md
@@ -8,21 +8,23 @@ authors:
# Adventure chat arguments
-:::info
+From Paper 1.16.5 build #473 onwards, Paper now includes [Kyori's Adventure API](https://github.com/KyoriPowered/adventure-platform). This library is a replacement of the BungeeCord chat API and has all the same functionality as the BungeeCord chat API (and more!). The documentation for this API can be found [here](https://docs.adventure.kyori.net/index.html).
-The two following classes, `AdventureChatComponentArgument` and `AdventureChatArgument` depend on a Paper-based server which has the Adventure library. If you use this class on a server without the Adventure library, it will throw a `PaperAdventureNotFoundException`
+Since this functions very similar to the Spigot chat arguments, this page won't reiterate everything about how it works, we'll just outline some examples of how to use these arguments instead.
+Additionally, the names used here may be confusing as they are the same names as on the [Spigot chat arguments](spigot-chat-arguments.md) page but have different return types. This is because the classes on this page are only accessible using `commandapi-paper-core` or `commandapi-paper-shade`
+while the arguments on the Spigot chat arguments page are only available when using `commandapi-spigot-core` or `commandapi-spigot-shade`.
-:::
+:::info
-From Paper 1.16.5 build #473 onwards, Paper now includes [Kyori's Adventure API](https://github.com/KyoriPowered/adventure-platform). This library is a replacement of the BungeeCord chat API and has all the same functionality as the BungeeCord chat API (and more!). The documentation for this API can be found [here](https://docs.adventure.kyori.net/index.html).
+The three following classes, `ChatColorArgument`, `ChatComponentArgument` and `ChatArgument` depend on a Paper based server which has the Adventure library. If you use any of these classes on a server without the Adventure library, they will throw a `PaperAdventureNotFoundException`.
-Since this functions very similar to the Spigot chat arguments, this page won't reiterate everything about how it works, we'll just outline some examples of how to use these arguments instead.
+:::
## Adventure chat color argument

-The `AdventureChatColorArgument` class is used to represent a given chat color (e.g., red or green). This argument returns the `NamedTextColor` object. If `reset` is passed to this argument, this will return `NamedTextColor.WHITE`.
+The `ChatColorArgument` class is used to represent a given chat color (e.g., red or green). This argument returns the `NamedTextColor` object. If `reset` is passed to this argument, this will return `NamedTextColor.WHITE`.
::::tip Example – Username color changing plugin
@@ -47,7 +49,7 @@ We then use the `ChatColorArgument` to change the player's name color:
## Adventure chat component argument
-The `AdventureChatComponentArgument` class accepts raw chat-based JSON as valid input, as declared [here](https://minecraft.wiki/w/Raw_JSON_text_format). This is converted into Adventure's `Component` class.
+The `ChatComponentArgument` class accepts raw chat-based JSON as valid input, as declared [here](https://minecraft.wiki/w/Raw_JSON_text_format). This is converted into Adventure's `Component` class.
::::tip Example – Opening a book with raw JSON content
@@ -72,11 +74,11 @@ We can construct a book using the Adventure API's `Book.book(Component, Componen
## Adventure chat argument
-The `AdventureChatArgument` class is the equivalent Adventure API class for the `ChatArgument` - it represents infinitely long strings similar to the `GreedyStringArgument` and allows entity selectors such as `@e`, `@p` and so on. The `AdventureChatArgument` returns a `Component`, similar to the `AdventureChatComponentArgument`.
+The `ChatArgument` represents infinitely long strings similar to the `GreedyStringArgument` and allows entity selectors such as `@e`, `@p` and so on. The `ChatArgument` returns a `Component`, similar to the `ChatComponentArgument`.
::::tip Example – Sending personalized messages to players
-We'll take the same example from the `ChatArgument` class, but using the `AdventureChatArgument` instead - We want to create a personalized message broadcasted to all users using a chat component that allows entity selectors. For this command, we want the following syntax:
+We want to create a personalized message broadcasted to all users using a chat component that allows entity selectors. For this command, we want the following syntax:
```mccmd
/pbroadcast
diff --git a/docs/en/dev-setup/setup.md b/docs/en/dev-setup/setup.md
index 38fe0fe2..5988ca4d 100644
--- a/docs/en/dev-setup/setup.md
+++ b/docs/en/dev-setup/setup.md
@@ -46,16 +46,30 @@ If you've never used a build system before, I highly recommend it! It makes it e
- Add the dependency to your `pom.xml`:
+:::tabs
+===Paper
```xml
dev.jorel
- commandapi-bukkit-core
+ commandapi-paper-core11.0.0-SNAPSHOTprovided
```
+===Spigot
+ ```xml
+
+
+ dev.jorel
+ commandapi-spigot-core
+ 11.0.0-SNAPSHOT
+ provided
+
+
+ ```
+:::
@@ -88,21 +102,38 @@ If you've never used a build system before, I highly recommend it! It makes it e
diff --git a/docs/en/dev-setup/shading.md b/docs/en/dev-setup/shading.md
index c3e007b6..0c3d871e 100644
--- a/docs/en/dev-setup/shading.md
+++ b/docs/en/dev-setup/shading.md
@@ -37,32 +37,44 @@ The `onLoad(CommandAPIConfig)` method initializes the CommandAPI's loading seque
public class CommandAPIConfig {
CommandAPIConfig verboseOutput(boolean value); // Enables verbose logging
CommandAPIConfig silentLogs(boolean value); // Disables ALL logging (except errors)
- CommandAPIConfig useLatestNMSVersion(boolean value); // Whether the latest NMS implementation should be used or not
- CommandAPIConfig beLenientForMinorVersions(boolean value); // Whether the CommandAPI should be more lenient with minor Minecraft versions
- CommandAPIConfig missingExecutorImplementationMessage(String value); // Set message to display when executor implementation is missing
CommandAPIConfig dispatcherFile(File file); // If not null, the CommandAPI will create a JSON file with Brigadier's command tree
CommandAPIConfig setNamespace(String namespace); // The namespace to use when the CommandAPI registers a command
-
- CommandAPIConfig initializeNBTAPI(Class nbtContainerClass, Function