SetupWizard
Table of Contents
-
DEFAULT_NAME
= \pocketmine\VersionInfo::NAME . " Server"
-
DEFAULT_PLAYERS
= 20
-
DEFAULT_PORT
= 19132
-
$dataPath
: string
-
$lang
: Language
-
__construct()
: mixed
-
run()
: bool
-
endWizard()
: void
-
error()
: void
-
generateBaseConfig()
: void
-
generateUserFiles()
: void
-
getInput()
: string
-
message()
: void
-
networkFunctions()
: void
-
printIpDetails()
: void
-
readLine()
: string
-
showLicense()
: bool
-
welcome()
: void
-
writeLine()
: void
DEFAULT_NAME
public
mixed
DEFAULT_NAME
= \pocketmine\VersionInfo::NAME . " Server"
DEFAULT_PLAYERS
public
mixed
DEFAULT_PLAYERS
= 20
DEFAULT_PORT
public
mixed
DEFAULT_PORT
= 19132
$dataPath
private
string
$dataPath
$lang
private
Language
$lang
__construct()
public
__construct(string $dataPath) : mixed
Parameters
-
$dataPath
: string
-
Return values
mixed
—
run()
public
run() : bool
Return values
bool
—
endWizard()
private
endWizard() : void
Return values
void
—
error()
private
error(string $message) : void
Parameters
-
$message
: string
-
Return values
void
—
generateBaseConfig()
private
generateBaseConfig() : void
Return values
void
—
generateUserFiles()
private
generateUserFiles() : void
Return values
void
—
private
getInput(string $message[, string $default = "" ][, string $options = "" ]) : string
Parameters
-
$message
: string
-
-
$default
: string
= ""
-
-
$options
: string
= ""
-
Return values
string
—
message()
private
message(string $message) : void
Parameters
-
$message
: string
-
Return values
void
—
networkFunctions()
private
networkFunctions() : void
Return values
void
—
printIpDetails()
private
printIpDetails() : void
Return values
void
—
readLine()
private
readLine() : string
Return values
string
—
showLicense()
private
showLicense() : bool
Return values
bool
—
welcome()
private
welcome() : void
Return values
void
—
writeLine()
private
writeLine([string $line = "" ]) : void
Parameters
-
$line
: string
= ""
-
Return values
void
—