Plex/src/main/java/me/totalfreedom/plex/command/impl/PlexCMD.java

32 lines
963 B
Java
Raw Normal View History

package me.totalfreedom.plex.command.impl;
2020-11-06 01:29:38 +00:00
import java.util.Arrays;
import java.util.List;
2020-11-05 21:17:14 +00:00
import me.totalfreedom.plex.command.PlexCommand;
import me.totalfreedom.plex.command.annotation.CommandParameters;
import me.totalfreedom.plex.command.annotation.CommandPermissions;
import me.totalfreedom.plex.command.source.CommandSource;
import me.totalfreedom.plex.command.source.RequiredCommandSource;
import me.totalfreedom.plex.rank.enums.Rank;
@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)
{
send("HI");
}
@Override
2020-11-06 01:29:38 +00:00
public List<String> onTabComplete(CommandSource sender, String[] args)
{
return Arrays.asList("Telesphoreo", "super", "Taahh");
}
}