public void WGAdmin(String sender, String login, String hostname, Command command) {
        if(adminpass == null) {
            System.out.println("[!] Admin identification attempt (no pass set). Nick: " + sender + " Login: " + login + " Hostname: " + hostname);
            sendMessage(sender, "No admin password has been specified for this server.");
            sendMessage(sender, "Please connect to the server that the bot connected to first," +
                    " and use the password that was given when the program started.");
            sendMessage(sender, "Also make sure you haven't identified yourself as an admin yet, this can only happen once.");
            sendMessage(sender, "This identification attempt will be logged.");
        }
        else {
            if(command.arguments.length == 2) {
                if(command.arguments[1].equals(adminpass)) {
                    admindetails.put("nick", sender);
                    admindetails.put("login", login);
                    admindetails.put("hostname", hostname);
                    adminpass = null;
                    sendMessage(sender, "You have succefully identified yourself as the admin.");
                }
                else {
                    System.out.println("[!] Wrong admin identification attempt! Nick: " + sender + " Login: " + login + " Hostname: " + hostname);
                    sendMessage(sender, "Wrong password. This attempt will be logged.");
                }
            }
            else {
                sendMessage(sender, "WGADMIN usage: !wgadmin <password>");
            }
        }
    }