PocketMine Crash Archive

#29763680 Undefined call error by EconomyAPI plugin

Submitted by PocketMine-MP Alpha_1.4dev-822
Warning! This crash was caused by the EconomyAPI plugin. Please contact the original plugin author.

General information

Version: 1.4dev-822
API version: 1.7.0
Caused by a Plugin: YES
Report date: Monday 07/12/2020 12:03:14
Attached Issue: None

System Information

PHP version: 5.6.2
Operating system: win
System banner: Windows NT DESKTOP-PR7LF0P 6.2 build 9200 (Windows 8 Business Edition) i586

Error information

Call to undefined method pocketmine\Server::getLanguage()
File: /EconomyAPI.phar/src/onebone/economyapi/EconomyAPI
Line: #237
Error level: E_ERROR

[228] 			$this->getLogger()->notice("Авто-сохранение установлено на интервале: ".$time." минут(а/ы)");
[229] 		}
[230] 
[231] 		$update_check = new Config($this->getDataFolder()."update-check.yml", Config::YAML, yaml_parse($this->readResource("update-check.yml")));
[232] 		if($update_check->get("check-update")){
[233] 			try{
[234] 				$this->getLogger()->info("Проверка обновлений ... Это может занять некоторое время.");
[235] 
[236] 				$host = $update_check->get("update-host");
[237] 				$url = "http://".$host."/?package_version=".self::PACKAGE_VERSION."&version=".$this->getDescription()->getVersion()."&lang=".$this->getServer()->getLanguage()->getName();
[238] 				
[239] 				$desc = json_decode(Utils::getUrl($url), true);
[240] 
[241] 				if($desc["update-available"]){
[242] 					$this->getLogger()->notice("Новая версия EconomyS v".$desc["new-version"]." вышла! Скачать новую версию можно тут - ".$desc["download-address"]);
[243] 				}
[244] 				if($desc["notice"] !== ""){
[245] 					$this->getLogger()->notice($desc["notice"]);
[246] 				}
[247] 			}catch(\Exception $e){

Loaded Plugins

NameVersionStateAuthor(s)
EconomyAPI2.0.8Enabledonebone, перевод от BedrockTeam
TapToDo2.1.2DisabledFalk

Server Settings [toggle]

NameValue
server-nameMinecraft Pocket Server
descriptionMinecraft Pocket Server
motdWelcome @player to this server!
server-ip
server-port19132
server-typenormal
memory-limit256M
last-updateoff
white-listoff
announce-player-achievementson
spawn-protection16
view-distance10
max-players20
allow-flightoff
spawn-animalson
spawn-mobson
gamemode0
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
enable-queryon
enable-rconoff
rcon.password******
send-usageon
auto-saveon
force-gamemodeoff
settings.shutdown-messageServer closed
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.advanced-cachefalse
settings.upnp-forwardingfalse
settings.send-usagetrue
settings.async-workers4
debug.level1
debug.commandsfalse
level-settings.default-formatmcregion
level-settings.convert-formatfalse
chunk-sending.per-tick4
chunk-sending.compression-level8
chunk-sending.max-chunks96
chunk-ticking.per-tick80
chunk-ticking.tick-radius2
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listfalse
chunk-generation.use-asyncfalse
chunk-generation.per-tick1
chunk-gc.period-in-ticks600
ticks-per.animal-spawns400
ticks-per.monster-spawns1
ticks-per.autosave6000
ticks-per.cache-cleanup900
spawn-limits.monsters70
spawn-limits.animals15
spawn-limits.water-animals5
spawn-limits.ambient15
auto-report.enabledtrue
auto-report.send-codetrue
auto-report.send-settingstrue
auto-report.send-phpinfotrue
auto-report.hostcrash.pocketmine.net
auto-updater.enabledtrue
auto-updater.on-update.warn-consoletrue
auto-updater.on-update.warn-opstrue
auto-updater.preferred-channelbeta
auto-updater.suggest-channelstrue
auto-updater.hostwww.pocketmine.net
aliases
worlds
Find duplicates  |   Download