1package com.runehive.game.task.impl;
3import com.runehive.game.task.TickableTask;
4import com.runehive.game.world.World;
5import org.apache.logging.log4j.LogManager;
6import org.apache.logging.log4j.Logger;
21 logger.info(
"Server shutdown in " + remaining +
" ticks (" + remaining * 3 / 5 +
" seconds)");
synchronized final void cancel()
Cancels all subsequent executions.
TickableTask(boolean instant, int delay)
SystemUpdateEvent(int ticks)
static final Logger logger
void onCancel(boolean logout)
A function executed on cancellation.
Represents the game world.
static void shutdown()
Shuts down the server.
static void save()
Saves all the game data.