ModdedMinecraft / MMCReboot

A simple to use restart management plugin for sponge
GNU General Public License v3.0
6 stars 6 forks source link

Doesn't seem to work with Multicraft #24

Closed morrissimo closed 6 years ago

morrissimo commented 6 years ago

I've tried using the default MMCReboot restart command (/stop) as well as a custom command (/restart, seen in the example output below) - neither works, as Multicraft always thinks the server has crashed and won't restart it.

versions:

other:

Multicraft console output:

03.01 09:43:26 [Server] Server thread/INFO [nucleus]: Server ran the command: /reboot start m 2
03.01 09:43:26 [Server] Server thread/INFO [mmcreboot]: [MMCReboot] Server is setting a new restart time...
03.01 09:43:26 [Server] Server thread/INFO [mmcreboot]: [MMCReboot] scheduling restart tasks...
03.01 09:43:26 [Server] Server thread/INFO [mmcreboot]: [MMCReboot] warning scheduled for 1 seconds from now!
03.01 09:43:26 [Server] Server thread/INFO [mmcreboot]: [MMCReboot] warning scheduled for 61 seconds from now!
03.01 09:43:26 [Server] Server thread/INFO [mmcreboot]: [MMCReboot] warning scheduled for 91 seconds from now!
03.01 09:43:26 [Server] Server thread/INFO [mmcreboot]: [MMCReboot] warning scheduled for 116 seconds from now!
03.01 09:43:26 [Server] Server thread/INFO [mmcreboot]: [MMCReboot] warning scheduled for 117 seconds from now!
03.01 09:43:26 [Server] Server thread/INFO [mmcreboot]: [MMCReboot] warning scheduled for 118 seconds from now!
03.01 09:43:26 [Server] Server thread/INFO [mmcreboot]: [MMCReboot] warning scheduled for 119 seconds from now!
03.01 09:43:26 [Server] Server thread/INFO [mmcreboot]: [MMCReboot] warning scheduled for 120 seconds from now!
03.01 09:43:26 [Server] Server thread/INFO [mmcreboot]: [MMCReboot] RebootCMD scheduled for 121 seconds from now!
03.01 09:43:26 [Server] Server thread/INFO The server will now be restarting in 0h2m0s
03.01 09:43:27 [Server] Timer-19/INFO [Restart] The server will be restarting in 2:00 minutes
03.01 09:44:27 [Server] Timer-20/INFO [Restart] The server will be restarting in 1 minute
03.01 09:44:57 [Server] Timer-21/INFO [Restart] The server will be restarting in 30 seconds
03.01 09:45:22 [Server] Timer-22/INFO [Restart] The server will be restarting in 05 seconds
03.01 09:45:23 [Server] Timer-23/INFO [Restart] The server will be restarting in 04 seconds
03.01 09:45:24 [Server] Timer-24/INFO [Restart] The server will be restarting in 03 seconds
03.01 09:45:25 [Server] Timer-25/INFO [Restart] The server will be restarting in 02 seconds
03.01 09:45:26 [Server] Timer-26/INFO [Restart] The server will be restarting in 01 seconds
03.01 09:45:27 [Server] Timer-27/INFO [mmcreboot]: [MMCReboot] Running Command
03.01 09:45:27 [Server] Timer-27/INFO [nucleus]: Server ran the command: /restart 
03.01 09:45:27 [Server] Server thread/INFO RankUpper: [RankUpper disabled.]
03.01 09:45:27 [Server] Server thread/INFO [totaleconomy]: Total Economy Stopping
03.01 09:45:27 [Server] Server thread/INFO [LP] Closing storage...
03.01 09:45:27 [Server] Server thread/INFO [LP] Shutting down internal scheduler...
03.01 09:45:27 [Server] Server thread/INFO [LP] Goodbye!
03.01 09:45:27 [Server] Server thread/INFO [Woot]: LootTableManager: Save loot statistics to /woot/loot.json
03.01 09:45:27 [Server] Server thread/INFO Stopping server
03.01 09:45:27 [Server] Server thread/INFO Saving players
03.01 09:45:27 [Server] Server thread/INFO Saving worlds
03.01 09:45:27 [Server] Server thread/INFO Saving chunks for level 'world'/Overworld
03.01 09:45:27 [Server] Server thread/INFO Saving chunks for level 'DIM-1'/Nether
03.01 09:45:27 [Server] Server thread/INFO Saving chunks for level 'DIM1'/The End
03.01 09:45:27 [Server] Server thread/INFO Saving chunks for level 'DIM-5'/simplevoidworld
03.01 09:45:27 [Server] Server thread/INFO Saving chunks for level 'DIM-4'/ExtraUtils2_Quarry_Dim
03.01 09:45:27 [Server] Server thread/INFO Saving chunks for level 'DIM-3'/Deep Dark
03.01 09:45:27 [Server] Server thread/INFO Saving chunks for level 'DIM-2'/MiningWorld
03.01 09:45:27 [Server] Server thread/INFO [Actually Additions]: Unloading WorldData for world 0!
03.01 09:45:27 [Server] Server thread/INFO [Sponge]: Unloading world [world] (DIM0)
03.01 09:45:27 [Server] Server thread/INFO [Actually Additions]: Unloading WorldData for world -1!
03.01 09:45:27 [Server] Server thread/INFO [Sponge]: Unloading world [DIM-1] (DIM-1)
03.01 09:45:27 [Server] Server thread/INFO [Actually Additions]: Unloading WorldData for world 1!
03.01 09:45:27 [Server] Server thread/INFO [Sponge]: Unloading world [DIM1] (DIM1)
03.01 09:45:27 [Server] Server thread/INFO [Actually Additions]: Unloading WorldData for world -5!
03.01 09:45:27 [Server] Server thread/INFO [Sponge]: Unloading world [DIM-5] (DIM-5)
03.01 09:45:27 [Server] Server thread/INFO [Actually Additions]: Unloading WorldData for world -4!
03.01 09:45:27 [Server] Server thread/INFO [Sponge]: Unloading world [DIM-4] (DIM-4)
03.01 09:45:27 [Server] Server thread/INFO [Actually Additions]: Unloading WorldData for world -3!
03.01 09:45:27 [Server] Server thread/INFO [Sponge]: Unloading world [DIM-3] (DIM-3)
03.01 09:45:27 [Server] Server thread/INFO [Actually Additions]: Unloading WorldData for world -2!
03.01 09:45:27 [Server] Server thread/INFO [Sponge]: Unloading world [DIM-2] (DIM-2)
03.01 09:45:29 [Server] Server thread/INFO [FML]: Applying holder lookups
03.01 09:45:29 [Server] Server thread/INFO [FML]: Holder lookups applied
03.01 09:45:29 [Server] Server thread/INFO [totaleconomy]: Total Economy Stopped
03.01 09:45:29 [Server] Server thread/INFO [nucleus]: Nucleus is performing server shutdown tasks.
03.01 09:45:29 [Server] Server thread/INFO [STDOUT]: [minetweaker.mc1102.furnace.MCFurnaceManager$AddRecipeAction:undo:158]: >>>removing
03.01 09:45:29 [Server] Server thread/INFO [mcjty.lib.varia.Logging]: Deep Resonance: server is stopping. Shutting down gracefully
03.01 09:45:29 [Server] Server thread/INFO [fluxnetworks]: Removed Networks
03.01 09:45:29 [Server] Server thread/INFO [multistorage]: Saving EnderLink Chest Data
03.01 09:45:29 [Server] Server thread/INFO [multistorage]: Unloading EnderLink Chest Data
03.01 09:45:29 [Server] Server thread/INFO [mcjty.lib.varia.Logging]: RFTools: server is stopping. Shutting down gracefully
03.01 09:45:29 [Server] Server thread/INFO [mcjty.lib.varia.Logging]: RFTools: server is stopping. Shutting down gracefully
03.01 09:45:29 [Server] Server thread/INFO [mcjty.lib.varia.Logging]: Cleaning up RFTools dimensions
03.01 09:45:29 [Server] Server thread/INFO [mmcreboot]: MMCReboot Disabled
03.01 09:45:29 [Server] Server Shutdown Thread/INFO Stopping server
03.01 09:45:29 [Server] Server Shutdown Thread/INFO Saving players
03.01 09:45:29 [Server] Server Shutdown Thread/INFO Saving worlds
03.01 09:45:30 [Multicraft] Server shut down (running)
03.01 09:45:30 [Multicraft] Not restarting crashed server.
03.01 09:45:30 [Multicraft] Server stopped

config:

autorestart {
    # Values: Fixed, Realtime or None. The value choses here represents what timer will be used.
    enabled=Realtime
    fixed {
        # How long in hours should the auto restart timer be set for?
        interval=24
    }
    realtime {
        # Set times for server restarts (24h time eg: 18:30)
        intervals=[
            "05:00"
        ]
    }
}
# Localization to be used, All available translations are in the 'localization' folder
language=EN
restart {
    # The command(s) to run if 'use-command' has been enabled
    command=[
        "/restart"
    ]
    # If enabled, This will run the configured command instead of restarting the server.
    use-command=true
}
# manual command: /reboot start m 2
timer {
    # warning times before reboot in seconds
    broadcast=[
        600,
        300,
        120,
        60,
        30,
        5,
        4,
        3,
        2,
        1
    ]
    # The required amount of players online to start a vote
    min-players=5
    notifications {
        # Should a sound be played when a restart broadcast is sent?
        playsound=true
        sound {
            # The sound that should play for the notification. (Vanilla sounds can be found here: http://minecraft.gamepedia.com/Sounds.json)
            sound-to-play="block.note.pling"
            # When should the sound notification start? (This should be the same as one of your broadcast timers)
            when-to-start=600
        }
        title {
            # Should a title message pop up in the middle of the screen
            enabled=false
            # The title message to be displayed ({hours},{minutes},{seconds} will be replaced
            message="The server will be restarting in {minutes}:{seconds}"
            # How long should the title message show up for before disappearing? (in seconds)
            staytime=3
        }
    }
    # Time before another vote to restart can begin. (In minutes)
    re-vote=10
    # How long should it be before players are allowed to start a vote after the server has restarted (In minutes)
    start-vote=60
    # Time until the restart after a vote has passed in seconds (default 300 = 5 minutes)
    vote-passed=120
    # % of online players to vote yes before a restart is triggered.
    vote-percent=85
}
tps {
    # How long after the server starts until the TPS check initiates. (In minutes)
    check-delay=15
    # The minimum TPS to initiate a restart timer
    minimum=12
    # The reason to broadcast if 'use-reason' is enabled
    reason-message="Server TPS is below the minimum; restart incoming..."
    # If set to true, When the restart timer reaches 0, The TPS will be checked again
    # If the TPS is above the minimum, the restart is canceled
    restart-cancel=true
    # The broadcast message sent to everyone if the restart was canceled
    restart-cancel-message="&bThe server will not restart. The TPS is now above the minimum"
    # Time until the restart after a TPS check has failed, in seconds (default 300 = 5 minutes)
    timer=120
    # If enabled, the server will initiate a restart timer if the TPS is below the minimum set.
    use=true
    # If enabled, there will be a reason broadcast alongside the countdown for the restart.
    use-reason=true
}
voting {
    # Enable or Disable the ability for players to vote for a server restart
    enabled=false
}
morrissimo commented 6 years ago

Annnnnd just saw the similar-and-closed issue (#21) - will leave this issue open for confirmation that this is most likely a host/panel issue