feat: submit

This commit is contained in:
2025-12-08 05:19:03 -08:00
parent 4203a775ca
commit 4dd36d9141
18 changed files with 775 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
package online.mineroo.velocity.commands;
import com.velocitypowered.api.command.CommandSource;
import com.velocitypowered.api.command.SimpleCommand;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor;
public class MainCommand implements SimpleCommand {
@Override
public void execute(Invocation invocation) {
String[] args = invocation.arguments();
if (args.length == 0) {
sendHelp(invocation.source());
}
}
public void sendHelp(CommandSource source) {
source.sendMessage(Component.text("=== # @Mineroo # ===", NamedTextColor.AQUA));
source.sendMessage(Component.text(" /mineroo bind - Start to bind server", NamedTextColor.YELLOW));
source.sendMessage(Component.text(" /mineroo reload - Reload config", NamedTextColor.YELLOW));
source.sendMessage(Component.text("=== mineroo.online ===", NamedTextColor.AQUA));
}
}