[PM][NewcomerKits]新手礼包插件

Resources [PM][NewcomerKits]新手礼包插件 1.4.0

虚竹

49年入国军【PM】的基层干部
Staff member
版主
May 12, 2018
289
8
77
6d 6h 18m
Awards
10
www.itprc.net
2,691金粒
4钻石
已成功获得[PM插件开发者回流激励计划]奖励 :evil:
 

cher雪兒

【 Lv: 3 】
Jun 15, 2019
20
6
1d 9h 40m
7,188金粒
0钻石
[17:16:41] [Server thread/CRITICAL]: ErrorException: "Undefined index: item" (EXCEPTION) in "plugins/NewcomerKits v1.2.0.phar/src/aRu/NewcomerKits" at line 32
[17:16:41] [Server thread/DEBUG]: #0 plugins/NewcomerKits v1.2.0.phar/src/aRu/NewcomerKits(32): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[21] Undefined index: item, string[121] phar:///root/mcsmanager/server/server_core/chen/new_server_pmmp/plugins/Newcomer, integer 32, array[3])
[17:16:41] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(42): aRu\NewcomerKits->onJoin(object pocketmine\event\player\PlayerJoinEvent)
[17:16:41] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object aRu\NewcomerKits, object pocketmine\event\player\PlayerJoinEvent)
[17:16:41] [Server thread/DEBUG]: #3 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent)
[17:16:41] [Server thread/DEBUG]: #4 src/pocketmine/Player(1075): pocketmine\event\Event->call()
[17:16:41] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(315): pocketmine\Player->doFirstSpawn()
[17:16:41] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[17:16:41] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:16:41] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[17:16:41] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:16:41] [Server thread/DEBUG]: #10 src/pocketmine/Player(3235): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[17:16:41] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[17:16:41] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[21] 180.217.240.166 29266, object raklib\protocol\EncapsulatedPacket, integer 0)
[17:16:41] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[17:16:41] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[17:16:41] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[17:16:41] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[17:16:41] [Server thread/DEBUG]: #17 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1593962201.3699)
[17:16:41] [Server thread/DEBUG]: #18 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
[17:16:41] [Server thread/DEBUG]: #19 src/pocketmine/Server(1588): pocketmine\Server->start()
[17:16:41] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[57] /root/mcsmanager/server/server_core/chen/new_server_pmmp/, string[65] /root/mcsmanager/server/server_core/chen/new_server_pmmp/plugins/)
[17:16:41] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(304): pocketmine\server()
[17:16:41] [Server thread/DEBUG]: #22 (11): require(string[112] phar:///root/mcsmanager/server/server_core/chen/new_server_pmmp/PocketMine-MP.ph)
 

14aRu

【 Lv: 3 】
开发者
Feb 17, 2020
72
16
1d 25m
Awards
3
11,276金粒
5钻石
[17:16:41] [Server thread/CRITICAL]: ErrorException: "Undefined index: item" (EXCEPTION) in "plugins/NewcomerKits v1.2.0.phar/src/aRu/NewcomerKits" at line 32
[17:16:41] [Server thread/DEBUG]: #0 plugins/NewcomerKits v1.2.0.phar/src/aRu/NewcomerKits(32): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[21] Undefined index: item, string[121] phar:///root/mcsmanager/server/server_core/chen/new_server_pmmp/plugins/Newcomer, integer 32, array[3])
[17:16:41] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(42): aRu\NewcomerKits->onJoin(object pocketmine\event\player\PlayerJoinEvent)
[17:16:41] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object aRu\NewcomerKits, object pocketmine\event\player\PlayerJoinEvent)
[17:16:41] [Server thread/DEBUG]: #3 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent)
[17:16:41] [Server thread/DEBUG]: #4 src/pocketmine/Player(1075): pocketmine\event\Event->call()
[17:16:41] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(315): pocketmine\Player->doFirstSpawn()
[17:16:41] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[17:16:41] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:16:41] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[17:16:41] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:16:41] [Server thread/DEBUG]: #10 src/pocketmine/Player(3235): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[17:16:41] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[17:16:41] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[21] 180.217.240.166 29266, object raklib\protocol\EncapsulatedPacket, integer 0)
[17:16:41] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[17:16:41] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[17:16:41] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[17:16:41] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[17:16:41] [Server thread/DEBUG]: #17 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1593962201.3699)
[17:16:41] [Server thread/DEBUG]: #18 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
[17:16:41] [Server thread/DEBUG]: #19 src/pocketmine/Server(1588): pocketmine\Server->start()
[17:16:41] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[57] /root/mcsmanager/server/server_core/chen/new_server_pmmp/, string[65] /root/mcsmanager/server/server_core/chen/new_server_pmmp/plugins/)
[17:16:41] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(304): pocketmine\server()
[17:16:41] [Server thread/DEBUG]: #22 (11): require(string[112] phar:///root/mcsmanager/server/server_core/chen/new_server_pmmp/PocketMine-MP.ph)
已经修复
 

Misaka_Misaki

【 Lv: 3 】
Jan 20, 2020
68
1
16
16h 55m
Awards
1
14,664金粒
0钻石
[17:16:41] [Server thread/CRITICAL]: ErrorException: "Undefined index: item" (EXCEPTION) in "plugins/NewcomerKits v1.2.0.phar/src/aRu/NewcomerKits" at line 32
[17:16:41] [Server thread/DEBUG]: #0 plugins/NewcomerKits v1.2.0.phar/src/aRu/NewcomerKits(32): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[21] Undefined index: item, string[121] phar:///root/mcsmanager/server/server_core/chen/new_server_pmmp/plugins/Newcomer, integer 32, array[3])
[17:16:41] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(42): aRu\NewcomerKits->onJoin(object pocketmine\event\player\PlayerJoinEvent)
[17:16:41] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object aRu\NewcomerKits, object pocketmine\event\player\PlayerJoinEvent)
[17:16:41] [Server thread/DEBUG]: #3 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent)
[17:16:41] [Server thread/DEBUG]: #4 src/pocketmine/Player(1075): pocketmine\event\Event->call()
[17:16:41] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(315): pocketmine\Player->doFirstSpawn()
[17:16:41] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[17:16:41] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:16:41] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[17:16:41] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[17:16:41] [Server thread/DEBUG]: #10 src/pocketmine/Player(3235): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[17:16:41] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[17:16:41] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[21] 180.217.240.166 29266, object raklib\protocol\EncapsulatedPacket, integer 0)
[17:16:41] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[17:16:41] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[17:16:41] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[17:16:41] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[17:16:41] [Server thread/DEBUG]: #17 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1593962201.3699)
[17:16:41] [Server thread/DEBUG]: #18 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
[17:16:41] [Server thread/DEBUG]: #19 src/pocketmine/Server(1588): pocketmine\Server->start()
[17:16:41] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[57] /root/mcsmanager/server/server_core/chen/new_server_pmmp/, string[65] /root/mcsmanager/server/server_core/chen/new_server_pmmp/plugins/)
[17:16:41] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(304): pocketmine\server()
[17:16:41] [Server thread/DEBUG]: #22 (11): require(string[112] phar:///root/mcsmanager/server/server_core/chen/new_server_pmmp/PocketMine-MP.ph)
怎么说呢,14aRu用的应该是foreach,但是呢这种迭代器一般要自己写,ArrayIterator
 

14aRu

【 Lv: 3 】
开发者
Feb 17, 2020
72
16
1d 25m
Awards
3
11,276金粒
5钻石
怎么说呢,14aRu用的应该是foreach,但是呢这种迭代器一般要自己写,ArrayIterator
这个报错主要是我在config里写的和在遍历的时候写的$this->config->getAll()[这里面的]不一样
 

Members online