MinecraftLog
Table of Contents
Constants
-
WATCH_ERROR
= '[%s] ERROR! /o\%s%s'
-
WATCH_LINE
= '[%s] %s%s'
-
WATCH_START
= '[%s] Starting MinecraftLog watching for file "%s"~ /o/%s'
Properties
-
$messageTypes
: mixed
-
$dbmsTable
: mixed
-
$dbName
: mixed
-
$dbTable
: mixed
Methods
-
__construct()
: mixed
-
init()
: mixed
-
parse()
: mixed
-
reset()
: mixed
-
watch()
: mixed
WATCH_ERROR
public
mixed
WATCH_ERROR
= '[%s] ERROR! /o\%s%s'
WATCH_LINE
public
mixed
WATCH_LINE
= '[%s] %s%s'
WATCH_START
public
mixed
WATCH_START
= '[%s] Starting MinecraftLog watching for file "%s"~ /o/%s'
$messageTypes
public
static mixed
$messageTypes
= ['ignore' => -5, 'invalid' => -4, 'unknown' => -3, 'error' => -2, 'warning' => -1, 'raw' => 0, 'system' => 1, 'chat' => 2, 'login' => 3, 'logout' => 4, 'god' => 5, 'whisper' => 6, 'boot' => 7, 'shutdown' => 8, 'rcon' => 9]
$dbmsTable
protected
mixed
$dbmsTable
$dbName
protected
mixed
$dbName
$dbTable
protected
mixed
$dbTable
__construct()
public
__construct() : mixed
init()
public
init(mixed $dbName, mixed $dbTable) : mixed
Parameters
-
$dbName
: mixed
-
-
$dbTable
: mixed
-
parse()
public
parse() : mixed
reset()
public
reset() : mixed
watch()
public
watch(mixed $logFile, mixed $logInterval) : mixed
Parameters
-
$logFile
: mixed
-
-
$logInterval
: mixed
-