@SuppressWarnings("deprecation")
	@EventHandler
	public void onTeamChatEvent(AsyncPlayerChatEvent event){
		if(functions.isPlayerInTC(event.getPlayer())){
			if(!(teamchat.isEmpty())){
				if(!(event.getMessage().startsWith(lang.TeamChatSpecialChar()))){
					for(Player p : Bukkit.getServer().getOnlinePlayers()){
						if(functions.isPlayerInTC(p)){
							p.sendMessage(Tag + lang.TeamChatMessage(event.getPlayer(), event.getMessage()));
							event.setCancelled(true);
						}
					}
				} else {
					event.setMessage(event.getMessage().replaceAll(lang.TeamChatSpecialChar(), ""));
				}
			}	
		}
	}