Plex/src/main/java/dev/plex/command/impl/PlexCMD.java

35 lines
1.1 KiB
Java
Raw Normal View History

2021-01-03 07:21:15 +00:00
package dev.plex.command.impl;
2021-06-20 08:02:07 +00:00
import dev.plex.Plex;
2021-01-03 07:21:15 +00:00
import dev.plex.command.annotation.CommandParameters;
import dev.plex.command.annotation.CommandPermissions;
import dev.plex.command.source.CommandSource;
import dev.plex.command.source.RequiredCommandSource;
2020-11-06 01:29:38 +00:00
import java.util.Arrays;
import java.util.List;
2021-01-03 07:21:15 +00:00
import dev.plex.command.PlexCommand;
import dev.plex.rank.enums.Rank;
2021-06-20 08:02:07 +00:00
import org.bukkit.ChatColor;
@CommandPermissions(level = Rank.OP, source = RequiredCommandSource.ANY)
2020-11-05 21:17:14 +00:00
@CommandParameters(aliases = "plexhelp", description = "Help with plex")
public class PlexCMD extends PlexCommand
{
2020-11-06 01:29:38 +00:00
public PlexCMD()
{
super("plex");
}
@Override
public void execute(CommandSource sender, String[] args)
{
2021-06-20 08:02:07 +00:00
send(ChatColor.LIGHT_PURPLE + "Plex. The long awaited TotalFreedomMod rewrite starts here...");
send(ChatColor.LIGHT_PURPLE + "Plugin version: " + ChatColor.GOLD + "1.0");
}
@Override
2020-11-06 01:29:38 +00:00
public List<String> onTabComplete(CommandSource sender, String[] args)
{
return Arrays.asList("Telesphoreo", "super", "Taahh");
}
}