@Override
	public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
		if(sender instanceof ConsoleCommandSender) {
			sender.sendMessage("§cThis can only be run in game!");
			return true;
		}
		Player p = (Player) sender;
		if(args.length== 0)
			return false;
		if(args[0].equalsIgnoreCase("cancel")) {
			setters.remove(p.getUniqueId());
			p.sendMessage("§aNo longer setting spawn points");
			return true;
		}
		if(GameManager.isGame(args[0])) {
			Game game = GameManager.getGame(args[0]);
			if(args.length== 1) {
				if(tool!= null) {
					if(game.getMaxPlayers()!= GameManager.getMaximumPlayers()) {
						setters.put(p.getUniqueId(), game);
						p.sendMessage(Main.tag+"§aBeing setting spawns for §3"+game.getName()+"§a starting from §3"+(game.getMaxPlayers()+1));
						p.sendMessage("§aType §3/startpoint cancel §ato stop setting points!");
					} else
						p.sendMessage("§cAll the spawns have been set for this arena! Use the full command to override current spawns.");
				} else
					p.sendMessage("§cThere is no spawns tool. Please use the full command!");
			} else {
				try {
					int i = Integer.parseInt(args[1]);
					game.setSpawn(i, p.getLocation());
					p.sendMessage(Main.tag+"§aSpawn point §3"+i+"§a set for §3"+game.getName());
				} catch (Exception e){
					p.sendMessage("§cYour second argument was not a number! Please use numbers!");
				}
			}
		} else
			p.sendMessage("§cThat game doesn't exist!");
		return true;
	}