2020-10-31 08:55:27 +00:00
|
|
|
package me.totalfreedom.plex.command.impl;
|
|
|
|
|
2020-11-03 00:19:26 +00:00
|
|
|
import me.totalfreedom.plex.command.annotation.CommandParameters;
|
|
|
|
import me.totalfreedom.plex.command.annotation.CommandPermissions;
|
2020-10-31 08:55:27 +00:00
|
|
|
import me.totalfreedom.plex.command.PlexCommand;
|
2020-11-03 00:19:26 +00:00
|
|
|
import me.totalfreedom.plex.command.source.CommandSource;
|
2020-10-31 08:55:27 +00:00
|
|
|
import me.totalfreedom.plex.command.source.RequiredCommandSource;
|
|
|
|
import me.totalfreedom.plex.rank.enums.Rank;
|
|
|
|
import org.bukkit.command.CommandSender;
|
|
|
|
|
|
|
|
import java.util.Arrays;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
@CommandPermissions(level = Rank.OP, source = RequiredCommandSource.ANY)
|
|
|
|
@CommandParameters(usage = "/<command>", aliases = "plexhelp", description = "Help with plex")
|
|
|
|
public class PlexCMD extends PlexCommand
|
|
|
|
{
|
|
|
|
public PlexCMD() {
|
|
|
|
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-03 00:19:26 +00:00
|
|
|
public List<String> onTabComplete(CommandSource sender, String[] args) {
|
2020-10-31 08:55:27 +00:00
|
|
|
return Arrays.asList("Telesphoreo", "super", "Taahh");
|
|
|
|
}
|
|
|
|
}
|