public static void save() {
        File file = new File(Shortcuts.dataFolder, "bannedPlayers.dat");
        FileOutputStream fos = null;
        ObjectOutputStream oos = null;

        try {
            fos = new FileOutputStream(file);
            oos = new ObjectOutputStream(fos);
            oos.writeObject(bannedPlayers);
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            try {
                if (oos != null) {
                    oos.close();
                }
            } catch (Exception e) {
                //Fail silently
            }
            try {
                if (fos != null) {
                    fos.close();
                }
            } catch (Exception e) {
                //Fail silently
            }
        }
    }