◆ __construct()
◆ getDefaultLang()
104 return $this->defaultLang;
◆ run()
- Returns
- bool
63 echo
"[*] GenisysPro set-up wizard\n";
64 echo
"[*] Please select a language:\n";
66 echo
" $native => $short\n";
69 echo
"[?] Language (eng): ";
70 $lang = strtolower($this->getInput(
"eng"));
72 echo
"[!] Couldn't find the language\n";
75 $this->defaultLang = $lang;
76 }
while($lang ==
false);
77 $this->lang =
new InstallerLang($lang);
80 echo
"[*] " . $this->lang->get(
"language_has_been_selected") .
"\n";
82 $this->relayLangSetting();
84 if(!$this->showLicense()){
88 echo
"[?] " . $this->lang->get(
"skip_installer") .
" (y/N): ";
89 if(strtolower($this->getInput()) ===
"y"){
94 $this->generateBaseConfig();
95 $this->generateUserFiles();
97 $this->networkFunctions();
◆ DEFAULT_GAMEMODE
const DEFAULT_GAMEMODE = 0 |
◆ DEFAULT_LEVEL_NAME
const DEFAULT_LEVEL_NAME = "world" |
◆ DEFAULT_LEVEL_TYPE
const DEFAULT_LEVEL_TYPE = "DEFAULT" |
◆ DEFAULT_MEMORY
const DEFAULT_MEMORY = 512 |
◆ DEFAULT_NAME
const DEFAULT_NAME = "Minecraft: PE Server" |
◆ DEFAULT_PLAYERS
const DEFAULT_PLAYERS = 20 |
◆ DEFAULT_PORT
const DEFAULT_PORT = 19132 |
◆ LEVEL_TYPES
Initial value:= [
"DEFAULT",
"FLAT",
"NORMAL",
"NORMAL2",
"HELL",
"VOID"
]
The documentation for this class was generated from the following file:
- src/pocketmine/wizard/Installer.php