@EventHandler
	public void onPlayerJoin(PlayerJoinEvent e){ 
		Player player = e.getPlayer(); //grabbing player
		String logString;
		if //begin check staff (this is hard coded and will be removed in a later version)
		(	
			(player.hasPermission("oasispixelgyms.gyms.leader") || (player.hasPermission("oasispixelgyms.gyms.coleader")))
					&& (player.hasPermission("oasispixelgyms.staff")) ) 
			return;
		else if (
			(player.hasPermission("oasispixelgyms.gyms.leader") || (player.hasPermission("oasispixelgyms.gyms.coleader")) ) )
			{
			//getLogger().info(ChatColor.AQUA + "The gym leader " + player.getName() + " has joined the game!");
			//Logger.getLogger(ChatColor.AQUA + "The gym leader " + player.getName() + " has joined the game!");
			logString=(ChatColor.AQUA + "The gym leader " + player.getName() + " has joined the game!").toString();
			e.setJoinMessage(ChatColor.AQUA + "The gym leader " + player.getName() + " has joined the game!"); // this is sent out to the ENTIRE server.
		// eventually the plugin will be able to detect which gym the player is a leader/coleader of!
			
			// oasispixelgyms.gyms.leader.bug
			// oasispixelgyms.gyms.leader.<type>
	}
		else {
			return;
			//player.sendMessage(ChatColor.GREEN + "This is a private message."); // this is sent only to the player.
		}
			
	} //end onPlayerJoin