import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
public class Soon extends JavaPlugin {
public void onEnable() {
System.out.println("Soon");
}
public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args)
{
if (cmd.getName().equalsIgnoreCase("soon")) {
Player player = (Player)sender;
player.getInventory().clear();
player.sendMessage(ChatColor.GOLD + "Soon™");
player.sendMessage(ChatColor.RED + "Soon™");
player.sendMessage(ChatColor.DARK_RED+ "Soon™");
player.sendMessage(ChatColor.BLUE + "Soon™");
player.sendMessage(ChatColor.DARK_BLUE + "Soon™");
player.sendMessage(ChatColor.GREEN + "Soon™");
player.sendMessage(ChatColor.DARK_GREEN + "Soon™");
return true;
}
if (cmd.getName().equalsIgnoreCase("clearsoon")) {
Player player = (Player)sender;
player.getInventory().clear();
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("");
player.sendMessage("Too much spam, right?");
player.sendMessage("Remember, Soon™ is a trademark of CubeCraft");
player.sendMessage("© Tech Media Tree");
return true;
}
return false;
}
}