package org.aroyomc.nexus.commands;

import org.aroyomc.nexus.Main;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;

public class Rage implements CommandExecutor
{
	Main plugin;
	
	public Rage(Main passedplugin){
		this.plugin = passedplugin;
	}

	@Override
	public boolean onCommand(CommandSender sender, Command cmd, String label, String[] arg3) 
	{
		Player player = (Player) sender;
		
		player.kickPlayer( ChatColor.DARK_RED + "RAGGGGEEEEEEE!");
		Bukkit.broadcastMessage(ChatColor.GRAY + "[" + ChatColor.GOLD + "Aroyo" + ChatColor.GRAY + "]"  + player.getName() + " Rage Quitted!");
		

		return false;
	}

}
