2021-01-03 07:21:15 +00:00
|
|
|
package dev.plex.command.impl;
|
2020-10-31 08:55:27 +00:00
|
|
|
|
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;
|
2020-10-31 08:55:27 +00:00
|
|
|
|
|
|
|
@CommandPermissions(level = Rank.OP, source = RequiredCommandSource.ANY)
|
2020-11-05 21:17:14 +00:00
|
|
|
@CommandParameters(aliases = "plexhelp", description = "Help with plex")
|
2020-10-31 08:55:27 +00:00
|
|
|
public class PlexCMD extends PlexCommand
|
|
|
|
{
|
2020-11-06 01:29:38 +00:00
|
|
|
public PlexCMD()
|
|
|
|
{
|
2020-10-31 08:55:27 +00:00
|
|
|
super("plex");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2020-11-03 00:19:26 +00:00
|
|
|
public void execute(CommandSource sender, String[] args)
|
2020-10-31 08:55:27 +00:00
|
|
|
{
|
2020-11-03 00:19:26 +00:00
|
|
|
send("HI");
|
2020-10-31 08:55:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2020-11-06 01:29:38 +00:00
|
|
|
public List<String> onTabComplete(CommandSource sender, String[] args)
|
|
|
|
{
|
2020-10-31 08:55:27 +00:00
|
|
|
return Arrays.asList("Telesphoreo", "super", "Taahh");
|
|
|
|
}
|
2020-11-06 03:50:16 +00:00
|
|
|
}
|