1package com.runehive.game.event.impl.log;
3import com.runehive.Config;
4import com.runehive.game.event.Event;
5import org.apache.logging.log4j.LogManager;
6import org.apache.logging.log4j.Logger;
8import java.time.LocalDateTime;
13 protected final LocalDateTime
dateTime = LocalDateTime.now();
20 Thread.startVirtualThread(() -> {
23 }
catch (Exception ex) {
24 logger.error(String.format(
"Error logging %s",
this.getClass().getSimpleName()), ex);
29 public abstract void onLog() throws Exception;
The class that contains setting-related constants for the server.
static final boolean FORUM_INTEGRATION
If forum integration is true, users can only login if they enter the same username and password that'...
static final boolean LOG_PLAYER
final LocalDateTime dateTime
static final Logger logger