/*
 * Copyright 2014 ServerTools
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package info.servertools.backup;

import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import info.servertools.core.ServerTools;
import info.servertools.core.command.CommandManager;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import java.io.File;

@Mod(modid = ServerToolsBackup.MOD_ID, name = ServerToolsBackup.MOD_ID, dependencies = "required-after:ServerTools")
public class ServerToolsBackup {

    public static final String MOD_ID = "ServerTools-BACKUP";
    public static final Logger LOG = LogManager.getLogger(MOD_ID);
    public static final File BACKUP_DIR = new File(ServerTools.serverToolsDir, "backup");

    static { //noinspection ResultOfMethodCallIgnored
        BACKUP_DIR.mkdirs();
    }

    @Mod.EventHandler
    public void serverStarting(FMLServerStartingEvent event) {
        BackupConfig.init(new File(BACKUP_DIR, "backup.cfg"));

        if (BackupConfig.enableAutoBackup)
            new AutoBackupManager();

        CommandManager.registerSTCommand(new CommandBackup("backup"));
    }
}

@@ -1028,16 +1028,48 @@
 erTools%22
+, acceptableRemoteVersions = %22*%22
 )%0Apublic

Add acceptableRemoteVerison to `@Mod`