PocketMine Crash Archive

#29712930 Unknown error by NPC plugin

Submitted by FlexHolyCore 1.0
Warning! This crash was caused by the NPC plugin. Please contact the original plugin author.

General information

Version: 1.0
API version: 1.12.0
Caused by a Plugin: YES
Report date: Friday 27/09/2019 16:48:35
Attached Issue: None

System Information

PHP version: 7.0.23
Operating system: linux
System banner: Linux 897a8c2040dd 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64

Error information

Undefined class constant ACTION_LEFT_CLICK
File: /plugins/NPC_DL.phar/src/onebone/npc/Main
Line: #52
Error level: notice

[43] 			$npc = NPC::createNPC($this, $datam);
[44] 			$this->npc[$npc->getId()] = $npc;
[45] 		}
[46] 
[47] 		$this->getServer()->getPluginManager()->registerEvents($this, $this);
[48] 	}
[49] 
[50] 	public function onPacketReceived(DataPacketReceiveEvent $event){
[51] 		$pk = $event->getPacket();
[52] 		if($pk instanceof InteractPacket and $pk->action === InteractPacket::ACTION_LEFT_CLICK){
[53] 			if(isset($this->npc[$pk->target])){
[54] 				$npc = $this->npc[$pk->target];
[55] 
[56] 				if(!isset($this->msgQueue[$event->getPlayer()->getName()]) and !isset($this->cmdQueue[$event->getPlayer()->getName()])){
[57] 					$npc->onInteract($event->getPlayer());
[58] 					return;
[59] 				}
[60] 
[61] 				if(isset($this->msgQueue[$event->getPlayer()->getName()])){
[62] 					$npc->setMessage($this->msgQueue[$event->getPlayer()->getName()]);
#0 /src/pocketmine/plugin/RegisteredListener(96): pocketmine\plugin\MethodEventExecutor->execute(onebone\npc\Main object, pocketmine\event\server\DataPacketReceiveEvent object)
#1 /src/pocketmine/plugin/PluginManager(672): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)
#2 /src/pocketmine/Player(1707): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)
#3 /src/pocketmine/network/RakLibInterface(185): pocketmine\Player->handleDataPacket(pocketmine\network\protocol\InteractPacket object)
#4 /src/raklib/server/ServerHandler(98): pocketmine\network\RakLibInterface->handleEncapsulated(string 172.17.0.1:38532, string !..)
#5 /src/pocketmine/network/RakLibInterface(121): raklib\server\ServerHandler->handlePacket(boolean)
#6 /src/pocketmine/network/Network(176): pocketmine\network\RakLibInterface->process(boolean)
#7 /src/pocketmine/Server(2448): pocketmine\network\Network->processInterfaces(boolean)
#8 /src/pocketmine/Server(2255): pocketmine\Server->tick(boolean)
#9 /src/pocketmine/Server(2129): pocketmine\Server->tickProcessor(boolean)
#10 /src/pocketmine/Server(1732): pocketmine\Server->start(boolean)
#11 /src/pocketmine/PocketMine(459): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string /srv/data/, string /srv/data/, string /srv/data/plugins/)

Loaded Plugins

NameVersionStateAuthor(s)
MIE_Protector1.0.1EnabledFaigerSYS
PozitiveItem1EnabledTheMaks
ManyWorlds2.0.3Enabledaliuly
WT0.01Enabled
AfkKick1EnabledXxDXM_hippiexX
ZipPluginLoader1.1.0Enabledaliuly
TapToDo2.1.2EnabledFalk
iControlU1.3EnabledFalkirks
NPC1.4Enabledonebone
SignChanger1EnabledAd5001
DevTools1.10.0EnabledPocketMine Team
ChangeNick1.0.0EnabledMrBriZik
TextFloat1EnabledThisCrazy
DonateSystem1EnabledAbcChanelMC
FAuth1.1Enabledflabberfish
NewPl1EnabledThisCrazy
RealTime0.1EnabledWintonex
All_Fractions1EnabledThisCrazy
EconomyAPI2.0.9Enabledonebone
AntiBot1.0Enabled
AbcBusiness1EnabledAbcChanelMC
ChatTagPE1.0.1EnabledVaivez66
Guns1.0EnabledDragonFlex
Cars1EnabledThisCrazy
LOL1EnabledUkabylov
BlockIDFinalEnabledMCYasha
Oruj1.1EnabledBlackSunOneSV
SeatPlayer1.0.0EnabledVlad Sokolov
All_Systems_For_Player1EnabledThisCrazy
FastCMD1EnabledFaigerSYS
AdminSystem1EnabledThisCrazy
QueryGuard1EnabledXDdAnIk
LockMaster0.1EnabledWintonex
SP_MB1Enabledvk.com/forzzentron
PtEd1EnabledAbcChanelMC
Quest1EnabledAbcChanelMC
All_Jobs1EnabledThisCrazy
FWarps1Enabled
Mafia1EnabledAbcChanelMC

Server Settings [toggle]

NameValue
motd§bUltraLand RP §f| §aРеальная жизнь§r§e
server-port19132
white-list0
announce-player-achievementsoff
spawn-protection5
max-players80
allow-flightoff
spawn-animalsoff
spawn-mobsoff
gamemode0
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
enable-queryon
enable-rconon
rcon.password******
auto-saveon
online-modeoff
view-distance8
memory-limit256M
animals-limit0
mobs-limit0
auto-generateoff
save-player-dataoff
time-updateon
use-encryptoff
settings.languagerus
settings.force-languagefalse
settings.shutdown-messageПерезагрузка
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.profile-report-trigger20
settings.async-workersauto
settings.enable-testingfalse
memory.global-limit0
memory.main-limit0
memory.main-hard-limit1024
memory.check-rate20
memory.continuous-triggertrue
memory.continuous-trigger-rate30
memory.garbage-collection
memory.period36000
memory.collect-async-workertrue
memory.low-memory-triggertrue
memory.max-chunks.chunk-radius4
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-level2
network.async-compressiontrue
network.upnp-forwardingfalse
debug.assertions.warn-if-enabledtrue
debug.assertions.throw-exceptionfalse
debug.level1
debug.commandstrue
player.save-player-datatrue
player.anti-cheat.allow-movement-cheatstrue
player.anti-cheat.allow-instabreaktrue
level-settings.default-formatpmanvil
level-settings.auto-tick-ratefalse
level-settings.auto-tick-rate-limit20
level-settings.base-tick-rate1
level-settings.always-tick-playersfalse
chunk-sending.per-tick2
chunk-sending.spawn-radius4
chunk-sending.cache-chunkstrue
chunk-sending.async-chunk-requestfalse
chunk-ticking.per-tick16
chunk-ticking.tick-radius3
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listtrue
chunk-ticking.disable-block-ticking
chunk-generation.queue-size2
chunk-generation.population-queue-size2
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
anonymous-statistics.enabledfalse
anonymous-statistics.hoststats.pocketmine.net
commands.defaulttrue
timings.hosttimings.pmmp.io
aliases
worlds
Find duplicates  |   Download