mirror of
https://github.com/Shiewk/SModeration.git
synced 2026-04-28 05:54:16 +02:00
20 lines
430 B
Java
20 lines
430 B
Java
package de.shiewk.smoderation.paper.command;
|
|
|
|
import com.mojang.brigadier.tree.LiteralCommandNode;
|
|
import io.papermc.paper.command.brigadier.CommandSourceStack;
|
|
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
|
|
public interface CommandProvider {
|
|
|
|
LiteralCommandNode<CommandSourceStack> getCommandNode();
|
|
|
|
String getCommandDescription();
|
|
|
|
default Collection<String> getAliases(){
|
|
return List.of();
|
|
}
|
|
|
|
}
|