PocketMine Crash Archive

#29712763 Unknown error

Submitted by Please use 1.12.x
Warning! This crash was caused by a plugin. Please contact the original plugin author.

General information

Version: 0.0
API version: 2.0.0
Caused by a Plugin: YES
Report date: Sunday 18/08/2019 19:04:56
Attached Issue: None

System Information

PHP version: 7.0.3
Operating system: linux
System banner: Linux ok 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64

Error information

syntax error, unexpected player (T_VARIABLE)
File: /Uhc/src/Uhc/Uhc
Line: #672
Error level: notice

[663] 		foreach($list as $pl){
[664] 			if($pl->distance($player) < $nearest){
[665] 				$nearest = $pl->distance($player);
[666] 				$nearestPlayer = $pl;
[667] 			}
[668] 		}
[669] 		
[670] 		if($nearestPlayer !== null){
[671] 			$player->setCompassDestination($nearestPlayer->getX(), $nearestPlayer->getY(), $nearestPlayer->getZ())
[672] 			$player->sendPopup("§a" . $nearestPlayer->getName() . " §7Odleglosc§8: §a" . round($nearest, 2) . "m");
[673] 		}
[674] 	}
[675] 	
[676] 	public function checkWinner(){
[677] 		$i = 0;
[678] 		foreach($this->plugin->getServer()->getLevelByName("UhcArena")->getPlayers() as $pl){
[679] 			if($pl->isSurvival()){
[680] 				$i++;
[681] 			}
[682] 		}
#0 (): spl_autoload_call(string Uhc\Uhc)
#1 /DevTools_v1.11.0.phar/src/FolderPluginLoader/FolderPluginLoader(64): class_exists(string Uhc\Uhc, boolean 1)
#2 /src/pocketmine/plugin/PluginManager(152): FolderPluginLoader\FolderPluginLoader->loadPlugin(string /root/test/plugins/Uhc)
#3 /src/pocketmine/plugin/PluginManager(296): pocketmine\plugin\PluginManager->loadPlugin(string /root/test/plugins/Uhc, array Array())
#4 /DevTools_v1.11.0.phar/src/DevTools/DevTools(45): pocketmine\plugin\PluginManager->loadPlugins(string /root/test/plugins/, array Array())
#5 /src/pocketmine/plugin/PluginBase(113): DevTools\DevTools->onEnable(boolean)
#6 /src/pocketmine/plugin/PharPluginLoader(123): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
#7 /src/pocketmine/plugin/PluginManager(566): pocketmine\plugin\PharPluginLoader->enablePlugin(DevTools\DevTools object)
#8 /src/pocketmine/Server(1918): pocketmine\plugin\PluginManager->enablePlugin(DevTools\DevTools object)
#9 /src/pocketmine/Server(1904): pocketmine\Server->enablePlugin(DevTools\DevTools object)
#10 /src/pocketmine/Server(1668): pocketmine\Server->enablePlugins(integer 0)
#11 /src/pocketmine/PocketMine(459): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string phar:///root/test/PocketMine-MP.phar/, string /root/test/, string /root/test/plugins/)
#12 (1): require_once(string phar:///root/test/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

NameVersionStateAuthor(s)
DevTools1.11.0EnabledPocketMine Team
ManyWorlds2.1.0Disabledaliuly

Server Settings [toggle]

NameValue
motdMinecraft: PE Server
server-port19132
white-list1
announce-player-achievementsoff
spawn-protection0
max-players50
allow-flightoff
spawn-animalson
spawn-mobson
gamemode0
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameUhcLobby
level-seed
level-typeDEFAULT
enable-queryon
enable-rconoff
rcon.password******
auto-saveon
online-mode0
memory-limit1250M
animals-limit0
mobs-limit0
auto-generateoff
save-player-dataoff
time-updateon
use-encryptoff
settings.languageeng
settings.force-languagefalse
settings.shutdown-messageServer closed
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.profile-report-trigger20
settings.async-workersauto
memory.global-limit0
memory.main-limit0
memory.main-hard-limit0
memory.check-rate20
memory.continuous-triggertrue
memory.continuous-trigger-rate30
memory.garbage-collection.period36000
memory.garbage-collection.collect-async-workertrue
memory.garbage-collection.low-memory-triggertrue
memory.max-chunks.trigger-limit96
memory.max-chunks.trigger-chunk-collecttrue
memory.max-chunks.low-memory-triggertrue
memory.world-caches.disable-chunk-cachetrue
memory.world-caches.low-memory-triggertrue
network.batch-threshold256
network.compression-level7
network.async-compressionfalse
network.upnp-forwardingfalse
debug.level1
debug.commandstrue
level-settings.default-formatmcregion
level-settings.convert-formatfalse
level-settings.auto-tick-ratetrue
level-settings.auto-tick-rate-limit20
level-settings.base-tick-rate1
level-settings.always-tick-playersfalse
chunk-sending.per-tick4
chunk-sending.max-chunks192
chunk-sending.spawn-threshold56
chunk-sending.cache-chunksfalse
chunk-ticking.per-tick40
chunk-ticking.tick-radius3
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listtrue
chunk-generation.queue-size8
chunk-generation.population-queue-size8
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-phpinfofalse
auto-report.hostcrash.pocketmine.net
anonymous-statistics.enabledtrue
anonymous-statistics.hoststats.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