Added support for varying log levels configurable in the server config (see log_level in default.conf)
Error logs now properly print to stderr when possible Colour-coded logs Addressed a scenario in which outgoing packet writes could get hung up Fixed interface incorrect definition message on server startup
This commit is contained in:
@@ -2,6 +2,7 @@ package core
|
||||
|
||||
import core.game.system.SystemShutdownHook
|
||||
import core.game.world.map.Location
|
||||
import core.tools.LogLevel
|
||||
import core.tools.mysql.Database
|
||||
import core.tools.secondsToTicks
|
||||
import java.math.BigInteger
|
||||
@@ -160,6 +161,12 @@ class ServerConstants {
|
||||
@JvmField
|
||||
var I_AM_A_CHEATER = false
|
||||
|
||||
@JvmField
|
||||
var LOG_LEVEL = LogLevel.VERBOSE
|
||||
|
||||
@JvmField
|
||||
var JAVA_VERSION = 8
|
||||
|
||||
//location names for the ::to command.
|
||||
val TELEPORT_DESTINATIONS = arrayOf(
|
||||
arrayOf(Location.create(2974, 4383, 2), "corp", "corporal", "corporeal"),
|
||||
|
||||
Reference in New Issue
Block a user