private Color getUserColor(String user) {
        if (!GUI.chatNameColors) {
            return StyleConstants.getForeground(GUI.chatStyle);
        }
        if (userMap.containsKey(user)) return userMap.get(user);
        else {
            int random = (int) (Math.random() * 9);
            userMap.put(user, GUI.chatColorMap.get(random));
            return userMap.get(user);
        }
    }