Documentation

MinecraftLog
in package

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

Constants

WATCH_ERROR

public mixed WATCH_ERROR = '[%s] ERROR! /o\%s%s'

WATCH_START

public mixed WATCH_START = '[%s] Starting MinecraftLog watching for file "%s"~ /o/%s'

Properties

$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]

Methods

init()

public init(mixed $dbName, mixed $dbTable) : mixed
Parameters
$dbName : mixed
$dbTable : mixed

watch()

public watch(mixed $logFile, mixed $logInterval) : mixed
Parameters
$logFile : mixed
$logInterval : mixed

        
On this page

Search results