@Override
	public boolean onCommand(CommandSender sender, Command cmd, String label,
			String[] args) {
		
		
		if (args.length == 0) {
			sender.sendMessage(ChatColor.BLUE
					+ "-----------------------------------------------------");
			sender.sendMessage(ChatColor.GOLD + "Developed by: "
					+ ChatColor.GRAY + "Staartvin");
			sender.sendMessage(ChatColor.GOLD + "Version: " + ChatColor.GRAY
					+ plugin.getDescription().getVersion());
			sender.sendMessage(ChatColor.YELLOW
					+ "Type /scroll help for a list of commands.");
			return true;
		} else if (args[0].equalsIgnoreCase("give")) {
			return new GiveCommand(plugin).onCommand(sender, cmd, label, args);
		} else if (args[0].equalsIgnoreCase("help")) {
			if (args.length == 1) {
				showHelpPage(1, sender);
				return true;
			} else {
				Integer id = -1;

				try {
					id = Integer.parseInt(args[1]);
				} catch (Exception e) {
					sender.sendMessage(ChatColor.RED
							+ (args[1] + " is not a valid page number!"));
					return true;
				}

				showHelpPage(id, sender);
				return true;
			}
		} else if (args[0].equalsIgnoreCase("reload")) {
			return new ReloadCommand(plugin).onCommand(sender, cmd, label, args);
		} else if (args[0].equalsIgnoreCase("create")) {
			return new CreateCommand(plugin).onCommand(sender, cmd, label, args);
		} else if (args[0].equalsIgnoreCase("set")) {
			return new SetCommand(plugin).onCommand(sender, cmd, label, args);
		}
		
		sender.sendMessage(ChatColor.RED + "Command not recognised!");
		sender.sendMessage(ChatColor.YELLOW + "Type '/scroll help' for a list of commands.");
		return true;
	}