Updated to 1.19

This commit is contained in:
ImDaBigBoss 2022-06-08 14:09:14 +02:00
commit 4e2f74481b
313 changed files with 4130 additions and 21680 deletions

View file

@ -69,6 +69,13 @@ public interface Command {
@NonNull
List<String> aliases();
/**
* Gets if this command is designed to be used only by server operators.
*
* @return if this command is designated to be used only by server operators.
*/
boolean isSuggestedOpOnly();
/**
* Gets if this command is executable on console.
*
@ -135,6 +142,14 @@ public interface Command {
*/
Builder<T> aliases(List<String> aliases);
/**
* Sets if this command is designed to be used only by server operators.
*
* @param suggestedOpOnly if this command is designed to be used only by server operators
* @return the builder
*/
Builder<T> suggestedOpOnly(boolean suggestedOpOnly);
/**
* Sets if this command is executable on console.
*