hi, server is spammed by this error due to XP implementation i suppose Code: 2018-01-05 [22:46:25] [Server thread/CRITICAL]: InvalidArgumentException: "XP amount must be greater than 0, got 0" (EXCEPTION) in "src/pocketmine/entity/object/ExperienceOrb" at line 133 2018-01-05 [22:46:25] [Server thread/DEBUG]: #0 src/pocketmine/entity/object/ExperienceOrb(115): pocketmine\entity\object\ExperienceOrb->setXpValue(integer 0) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #1 src/pocketmine/entity/Entity(544): pocketmine\entity\object\ExperienceOrb->initEntity() 2018-01-05 [22:46:25] [Server thread/DEBUG]: #2 src/pocketmine/entity/Entity(258): pocketmine\entity\Entity->__construct(pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #3 src/pocketmine/level/format/Chunk(732): pocketmine\entity\Entity::createEntity(string XPOrb, pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(2803): pocketmine\level\format\Chunk->initChunk(pocketmine\level\Level object) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #5 src/pocketmine/level/Level(2434): pocketmine\level\Level->loadChunk(integer 23, integer -46, boolean 1) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(3072): pocketmine\level\Level->getChunk(integer 23, integer -46, boolean 1) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #7 src/pocketmine/Player(957): pocketmine\level\Level->populateChunk(integer 23, integer -46) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #8 src/pocketmine/Player(1740): pocketmine\Player->sendNextChunk() 2018-01-05 [22:46:25] [Server thread/DEBUG]: #9 src/pocketmine/Server(2539): pocketmine\Player->checkNetwork() 2018-01-05 [22:46:25] [Server thread/DEBUG]: #10 src/pocketmine/Server(2276): pocketmine\Server->tick() 2018-01-05 [22:46:25] [Server thread/DEBUG]: #11 src/pocketmine/Server(2151): pocketmine\Server->tickProcessor() 2018-01-05 [22:46:25] [Server thread/DEBUG]: #12 src/pocketmine/Server(1739): pocketmine\Server->start() 2018-01-05 [22:46:25] [Server thread/DEBUG]: #13 src/pocketmine/PocketMine(554): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #14 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php) 2018-01-05 [22:46:25] [Server thread/CRITICAL]: InvalidArgumentException: "XP amount must be greater than 0, got 0" (EXCEPTION) in "src/pocketmine/entity/object/ExperienceOrb" at line 133 2018-01-05 [22:46:25] [Server thread/DEBUG]: #0 src/pocketmine/entity/object/ExperienceOrb(115): pocketmine\entity\object\ExperienceOrb->setXpValue(integer 0) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #1 src/pocketmine/entity/Entity(544): pocketmine\entity\object\ExperienceOrb->initEntity() 2018-01-05 [22:46:25] [Server thread/DEBUG]: #2 src/pocketmine/entity/Entity(258): pocketmine\entity\Entity->__construct(pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #3 src/pocketmine/level/format/Chunk(732): pocketmine\entity\Entity::createEntity(string XPOrb, pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #4 src/pocketmine/level/Level(2803): pocketmine\level\format\Chunk->initChunk(pocketmine\level\Level object) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #5 src/pocketmine/level/Level(2434): pocketmine\level\Level->loadChunk(integer 23, integer -46, boolean 1) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(3072): pocketmine\level\Level->getChunk(integer 23, integer -46, boolean 1) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #7 src/pocketmine/Player(957): pocketmine\level\Level->populateChunk(integer 23, integer -46) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #8 src/pocketmine/Player(1740): pocketmine\Player->sendNextChunk() 2018-01-05 [22:46:25] [Server thread/DEBUG]: #9 src/pocketmine/Server(2539): pocketmine\Player->checkNetwork() 2018-01-05 [22:46:25] [Server thread/DEBUG]: #10 src/pocketmine/Server(2276): pocketmine\Server->tick() 2018-01-05 [22:46:25] [Server thread/DEBUG]: #11 src/pocketmine/Server(2151): pocketmine\Server->tickProcessor() 2018-01-05 [22:46:25] [Server thread/DEBUG]: #12 src/pocketmine/Server(1739): pocketmine\Server->start() 2018-01-05 [22:46:25] [Server thread/DEBUG]: #13 src/pocketmine/PocketMine(554): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/) 2018-01-05 [22:46:25] [Server thread/DEBUG]: #14 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
Works fine for me. Did you previously use a third-party version of PocketMine-MP or plugin which implemented XP?
@dktapps TeaSpoon was removed to my server before this issue occured PiggyCustomEnchants issue i suppose ? thanks sorry for my bad english Loaded plugins: AllSigns 1.0.5 CustomAlerts 1.7.2-3 essentialsTP 1.2.0-5 BanItem 2.3.2-4 MagicWE2 5.6.1 EconomyAPI 5.7.1-4 VoteReward 3.0.2-4 LiveXYZ 0.6.0.4-beta Worlds 1.0.13 iProtector 3.1.0-9 Slapper 1.3.7 EconomyShop 2.0.8-6 PurePerms 1.4.1-3 by PiggyCustomEnchants 1.1.0 EconomySell 2.0.7-4 AlwaysSpawn 2.2.3-4 FactionsPro 1.4.5-9 PureChat 1.4.10-4 GrabBag 2.4.0-5
The issue occurs because of TeaSpoon's incorrect XPOrb save NBT. Therefore it will happen to any XPOrb entities created by TeaSpoon, no matter whether TeaSpoon is loaded or not. You need to ditch TeaSpoon and remove all XPOrb entities from the world.