@Override
	public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {

		try {
			if (!(sender instanceof Player)) {
				sender.sendMessage(ChatColor.RED + "The server doesn't have a PIN!");
				return true;
			}

			Player player = (Player)sender;

			if (HyperPVP.getStorage().readString("SELECT password FROM users WHERE username = '" + player.getName() + "'").length() != 0) {
				sender.sendMessage(ChatColor.RED + "You have already made your account.");
			}
			
			if (HyperPVP.getStorage().entryExists("SELECT code FROM pincodes WHERE name = '" + player.getName() + "'")) {
				player.sendMessage(ChatColor.GREEN + "Your pin code is " + ChatColor.WHITE + HyperPVP.getStorage().readString("SELECT code FROM pincodes WHERE name = '" + player.getName() + "'"));
			} else {
				sender.sendMessage(ChatColor.RED + "You haven't registered, use the " + ChatColor.WHITE + "/register" + ChatColor.RED + "command!");
			}


		} catch (Exception e) {
			e.printStackTrace();
		}
		return true;
	}