I get this weird error when trying to add this new command layout. This is what it's asking me to do:


This is what happens when I do what it says:




Here's the code.




Code:
package com.rs.game.player.content;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.TimerTask;

import com.rs.Settings;
import com.rs.cache.loaders.AnimationDefinitions;
import com.rs.cache.loaders.ItemDefinitions;
import com.rs.cache.loaders.NPCDefinitions;
import com.rs.cores.CoresManager;
import com.rs.game.Animation;
import com.rs.game.ForceMovement;
import com.rs.game.ForceTalk;
import com.rs.game.Graphics;
import com.rs.game.Hit;
import com.rs.game.Hit.HitLook;
import com.rs.game.Region;
import com.rs.game.World;
import com.rs.game.WorldObject;
import com.rs.game.WorldTile;
import com.rs.game.item.Item;
import com.rs.game.item.ItemsContainer;
import com.rs.game.minigames.FightPits;
import com.rs.game.minigames.clanwars.ClanWars;
import com.rs.game.minigames.clanwars.WallHandler;
import com.rs.game.npc.NPC;
import com.rs.game.npc.others.Bork;

import com.rs.game.player.AuraManager;
import com.rs.game.player.Player;
import com.rs.game.player.Skills;
import com.rs.game.player.content.Notes.Note;
import com.rs.game.player.content.commands.Administrator;
import com.rs.game.player.content.commands.DonatorsOnly;
import com.rs.game.player.content.commands.Moderator;
import com.rs.game.player.content.commands.RegularPlayer;
import com.rs.game.player.content.commands.SupportTeam;
import com.rs.game.player.content.dungeoneering.DungeonPartyManager;
import com.rs.game.player.content.pet.Pets;
import com.rs.game.player.actions.HomeTeleport;
import com.rs.game.player.content.Notes.Note;
import com.rs.game.player.content.pet.Pets;
import com.rs.game.player.controlers.FightKiln;
import com.rs.game.player.cutscenes.HomeCutScene;
import com.rs.game.player.dialogues.Dialogue;
import com.rs.game.tasks.WorldTask;
import com.rs.game.tasks.WorldTasksManager;
import com.rs.utils.DisplayNames;
import com.rs.utils.Encrypt;
import com.rs.utils.IPBanL;
import com.rs.utils.NPCSpawns;
import com.rs.utils.PkRank;
import com.rs.utils.SerializableFilesManager;
import com.rs.utils.ShopsHandler;
import com.rs.utils.Utils;

/**
* Commands.Java [ORGANIZED]
* @author Thomas (Dream)
**/

/**
* Does NOT let it be extended
**/
public final class Commands {

	/**
	* All Console CMDS are for Admins! Else, It will be Chat CMDS
	**/

	private static BufferedWriter writer;
	private static Bork cal;

	/**
	* If CMD was Processed, It will RETURN
	**/
	public static boolean processCommand(Player player, String command,
			boolean console, boolean clientCommand) {
		if (command.length() == 0) //If They Used ::(nothing), Theres No Command!
			return false;
		String[] cmd = command.toLowerCase().split(" ");
		if (cmd.length == 0)
			return false;
		/**
		* Administrator
		**/
		if (player.getRights() >= 2 && Administrator.processCommand(player, cmd, console, clientCommand))
			return true;
		
		/**
		* Moderator
		**/
		if (player.getRights() >= 1 && Moderator.processCommands(player, cmd, console, clientCommand))
			return true;
		
		/**
		* Supporter
		**/
		if ((player.isSupporter() || player.getRights() >= 1) && SupportTeam.processCommands(player, cmd, console, clientCommand))
			return true;
		
		/**
		* Donator
		**/
		if ((player.isDonator() ||  player.i***tremeDonator() && DonatorsOnly.processCommands(player, cmd, console, clientCommand))
			return true;
		
		/**
		* Economy Mode will NOT allow any CMDS to be processed!
		**/
		if (Settings.ECONOMY) {
			player.getPackets().sendGameMessage("You can't use any commands in Economy Mode!");
			return true;
		}
		return RegularPlayer.processCommand(player, cmd, console, clientCommand);
	}

	public static String currentTime(String dateFormat) {
		//Calendar cal = Calendar.getInstance();
		SimpleDateFormat sdf = new SimpleDateFormat(dateFormat);
		return sdf.format(cal.getTime());
	}

	/**
	* Does NOT Let It Be Executed
	**/
	private Commands() {

	}
}