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