mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-05-16 01:21:22 +00:00
e6d3dc6b12
* TFGuilds rewrite almost completed (FS-164 FS-133 FS-244) The rewrite is nearing completion - few modifications to TFGuilds and TFM and it will be ready for production * Finalise few things * Code cleanup * Use empty list instead and true instead of false
23 lines
633 B
Java
23 lines
633 B
Java
package me.totalfreedom.tfguilds.command;
|
|
|
|
import me.totalfreedom.tfguilds.Common;
|
|
import me.totalfreedom.tfguilds.TFGuilds;
|
|
import org.bukkit.ChatColor;
|
|
import org.bukkit.command.CommandSender;
|
|
import org.bukkit.entity.Player;
|
|
|
|
public class HelpSubCommand extends Common implements SubCommand
|
|
{
|
|
|
|
|
|
@Override
|
|
public void execute(CommandSender sender, Player playerSender, String[] args)
|
|
{
|
|
sender.sendMessage(PREFIX + "Command List");
|
|
for (String command : TFGuilds.getPlugin().getSubCommands())
|
|
{
|
|
sender.sendMessage(ChatColor.GRAY + " - " + ChatColor.GOLD + command);
|
|
}
|
|
}
|
|
}
|