ClearLagg help needed

Discussion in 'General Help' started by deeredman1991, Nov 19, 2014.

Thread Status:
Not open for further replies.
  1. I have a small FTB server running MCPC+ for my Gf, Brother, Sister, and Myself.

    I set up the server clearlagg was running just fine yesterday, but I made some improvements to the launching scripts and added in an auto-backup script and now for some reason ClearLagg isn't issuing a warning before it deletes items. I googled but I couldn't find anything useful. :(

    I checked the .yml and "broadcast-warning: true" is set to true.

    EDIT: I figure I should probably specify that I have a 6 core processor and 9 gigs of ram

    these are my server scripts:

    Run.bat
    Code:
    title FTB + Bukkit
     
    start /B /WAIT java -server -Xincgc -Xmx4G -Xms2G -Xmn1G -XX:PermSize=1G -XX:MaxPermSize=2G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+UseAdaptiveSizePolicy -XX:+DisableExplicitGC -Xnoclassgc -oss4M -ss4M -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -XX:+UseLargePages -XX:ReservedCodeCacheSize=1G -cp mcpc-plus-1.6.4-R2.1-forge965-B251.jar -jar mcpc-plus-1.6.4-R2.1-forge965-B251.jar
     
    echo (%time%) WARNING: Minecraft_Server closed or crashed, restarting.
    ping 127.0.0.1 -n 20
    goto mine
    AutoBackup.bat
    Code:
    :: creates a folder name yyyy-mm-dd and moves files from a target directory to it.
     
    cd "%~d0%~p0"
     
    set SourceFolder=C:\FTB\Monster\server
    set SourceDrive=c
    set DestinationFolder=C:\Users\Dee\Google Drive\FTB Backups
    set DestinationDrive=c
     
    for /f "tokens=2-4 delims=/ " %%a in ('DATE /T') do (set var=%%c-%%a-%%b)
     
    %DestinationDrive%:
     
    cd "%DestinationFolder%\"
     
    md %var%
     
    %SourceDrive%:
     
    xcopy /Y /e "%SourceFolder%\*.*" "%DestinationFolder%\%var%"
     
    %DestinationDrive%:
     
    cd "%DestinationFolder%\"
     
    FORFILES /S /D -4 /C "cmd /c IF @isdir == TRUE rd /S /Q @path"
     
    %SourceDrive%:
     
    cd "%SourceFolder%"
     
    Run.bat
    Backup.bat
    Code:
    "%~d0%~p0"
    start cscript backup.vbs
    exit
    Backup.vbs
    Code:
    Set WShell = CreateObject("WScript.Shell")
    WShell.AppActivate "FTB + Bukkit"
    WShell.SendKeys "say !!ATTENTION!! the server will RESTART for BACKUPS in 30 seconds. Please logoff!!"
    Wscript.Sleep 2000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 20000
    WShell.SendKeys "say !!ATTENTION!! the server will RESTART for BACKUPS in 10 seconds. It will come back up in 10 minutes."
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 1000
    WShell.SendKeys "say !!ATTENTION!! the server will RESTART for BACKUPS in 9 seconds. It will come back up in 10 minutes."
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 1000
    WShell.SendKeys "say !!ATTENTION!! the server will RESTART for BACKUPS in 8 seconds. It will come back up in 10 minutes."
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 1000
    WShell.SendKeys "say !!ATTENTION!! the server will RESTART for BACKUPS in 7 seconds. It will come back up in 10 minutes."
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 1000
    WShell.SendKeys "say !!ATTENTION!! the server will RESTART for BACKUPS in 6 seconds. It will come back up in 10 minutes."
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 2000
    WShell.SendKeys "say !!ATTENTION!! the server will RESTART for BACKUPS in 5 seconds. It will come back up in 10 minutes."
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 2000
    WShell.SendKeys "say !!ATTENTION!! the server will RESTART for BACKUPS in 4 seconds. It will come back up in 10 minutes."
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 2000
    WShell.SendKeys "say !!ATTENTION!! the server will RESTART for BACKUPS in 3 seconds. It will come back up in 10 minutes."
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 2000
    WShell.SendKeys "say !!ATTENTION!! the server will RESTART for BACKUPS in 2 seconds. It will come back up in 10 minutes."
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 2000
    WShell.SendKeys "say !!ATTENTION!! the server will RESTART for BACKUPS in 1 seconds. It will come back up in 10 minutes."
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 1000
    WShell.SendKeys "say !!ATTENTION!! the server will RESTART for BACKUPS NOW!. It will come back up in 10 minutes."
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 1000
    WShell.SendKeys "stop"
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 15000
    WShell.SendKeys "^c"
    Wscript.Sleep 1000
    WShell.SendKeys "y"
    Wscript.Sleep 1000
    WShell.SendKeys "{ENTER}"
    Wscript.Sleep 1000
    set shell=createobject("Wscript.shell")
    shell.Run "AutoBackup.bat"
    Ok, it's working now...here is what I did to get it working (just in case anyone else is reading this with the same issue)

    I stopped the server, deleted my spigot.yml, bukkit.yml, and MCPC.yml. I also deleted everything in my plugins folder and re-downloaded ClearLagg. :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 13, 2016
  2. Offline

    JOSHSLAYDE

  3. Offline

    timtower Administrator Administrator Moderator

    JOSHSLAYDE We just keep it open? Archive is for old stuff where necro bumps aren't appreciated.
     
  4. Offline

    JOSHSLAYDE

    timtower Ah, I see. I am new here, haha!
     
Thread Status:
Not open for further replies.

Share This Page