if

さくだま

Well-known member
12 月 7, 2018
74
49
18
イベントのアイテムを拾った時を使用し
拾った時に矢があれば削除するというのを設定し試してみたら
エラーが起きました

Code:
PocketMine-MP Crash Dump Thu Jan 9 20:58:45 JST 2020

Error: Call to undefined method rib\itemkiller\Items::getName()
File: plugins/if_plugin_v3.7.0.phar/src/aieuo/ip/manager/EventManager
Line: 142
Type: Error

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: if v3.7.0

Code:
[133]         if ($eventname == "PlayerCommandPreprocessEvent") {
[134]             $args = explode(" ", $variables["mes"]->getValue());
[135]             $variables["cmd"] = new StringVariable("cmd", array_shift($args));
[136]             $variables["args"] = new ListVariable("args", $args);
[137]         }
[138]         if ($eventname == "PlayerDropItemEvent" or $eventname == "InventoryPickupItemEvent") {
[139]             /** @var Item $item */
[140]             $item = $event->getItem();
[141]             $variables["item"] = new StringVariable("item", $item->__toString());
[142]             $variables["item_name"] = new StringVariable("item_name", $item->getName());
[143]             $variables["item_id"] = new NumberVariable("item_id", $item->getId());
[144]             $variables["item_damage"] = new NumberVariable("item_damage", $item->getDamage());
[145]             $variables["item_count"] = new NumberVariable("item_count", $item->getCount());
[146]         }
[147]         if ($eventname == "CraftItemEvent") {
[148]             $inputs = $event->getInputs();
[149]             $outputs = $event->getOutputs();
[150]             $inputnames = [];
[151]             $inputids = [];
[152]             foreach ($inputs as $input) {

Backtrace:
#0 plugins/if_plugin_v3.7.0.phar/src/aieuo/ip/IFAPI(27): aieuo\ip\manager\EventManager->getReplaceData(array[3])
#1 plugins/if_plugin_v3.7.0.phar/src/aieuo/ip/IFAPI(61): aieuo\ip\IFAPI->checkCondition(object pocketmine\Player, array[1], array[3])
#2 plugins/if_plugin_v3.7.0.phar/src/aieuo/ip/EventListener(187): aieuo\ip\IFAPI->executeIfMatchCondition(object pocketmine\Player, array[1], array[0], array[0], array[3])
#3 plugins/if_plugin_v3.7.0.phar/src/aieuo/ip/EventListener(125): aieuo\ip\EventListener->onEvent(object pocketmine\event\inventory\InventoryPickupItemEvent, string[24] InventoryPickupItemEvent)
#4 src/pocketmine/plugin/MethodEventExecutor(38): aieuo\ip\EventListener->inventoryPickupItem(object pocketmine\event\inventory\InventoryPickupItemEvent)
#5 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(object aieuo\ip\EventListener, object pocketmine\event\inventory\InventoryPickupItemEvent)
#6 src/pocketmine/event/Event(95): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\inventory\InventoryPickupItemEvent)
#7 src/pocketmine/entity/object/ItemEntity(218): pocketmine\event\Event->call()
#8 src/pocketmine/Player(1580): pocketmine\entity\object\ItemEntity->onCollideWithPlayer(object pocketmine\Player)
#9 src/pocketmine/Player(1778): pocketmine\Player->checkNearEntities()
#10 src/pocketmine/level/Level(853): pocketmine\Player->onUpdate(integer 13951)
#11 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 13951)
#12 src/pocketmine/Server(2443): pocketmine\level\Level->doTick(integer 13951)
#13 src/pocketmine/Server(2574): pocketmine\Server->checkTickUpdates(integer 13951, double 1578571125.549)
#14 src/pocketmine/Server(2343): pocketmine\Server->tick()
#15 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#16 src/pocketmine/Server(1785): pocketmine\Server->start()
#17 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[18] /minecraft/server/, string[26] /minecraft/server/plugins/)
#18 src/pocketmine/PocketMine(295): pocketmine\server()
#19 (1): require(string[64] phar:///minecraft/server/pmmp.phar/src/pocketmine/PocketMine.php)

PocketMine-MP version: 3.11.1 [Protocol 389]
Git commit: 40a2211a5a93af7a587debb4efed2332f564193c
uname -a: Linux 70230cb042e8 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64
PHP Version: 7.3.8
Zend version: 3.3.8
OS : Linux, linux
 

さくだま

Well-known member
12 月 7, 2018
74
49
18
[不具合その1 (event_cause)を使用するとエラー]
Code:
[18:03:50] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\command\ConsoleCommandSender::getPlayer()" (EXCEPTION) in "plugins/SProtector.phar/src/SProtector/main" at line 137
[18:03:50] [Server thread/DEBUG]: #0 src/pocketmine/command/PluginCommand(58): SProtector\main->onCommand(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, string[6] pvpoff, array[1])
[18:03:50] [Server thread/DEBUG]: #1 src/pocketmine/command/SimpleCommandMap(270): pocketmine\command\PluginCommand->execute(object pocketmine\command\ConsoleCommandSender, string[6] pvpoff, array[1])
[18:03:50] [Server thread/DEBUG]: #2 src/pocketmine/Server(2026): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[12] pvpoff world)
[18:03:50] [Server thread/DEBUG]: #3 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/processes/CommandConsole(22): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[12] pvpoff world)
[18:03:50] [Server thread/DEBUG]: #4 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/IFAPI(56): aieuo\ip\processes\CommandConsole->execute()
[18:03:50] [Server thread/DEBUG]: #5 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/IFAPI(76): aieuo\ip\IFAPI->executeProcess(object pocketmine\Player, array[3], array[3])
[18:03:50] [Server thread/DEBUG]: #6 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/EventListener(187): aieuo\ip\IFAPI->executeIfMatchCondition(object pocketmine\Player, array[1], array[3], array[0], array[3])
[18:03:50] [Server thread/DEBUG]: #7 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/EventListener(201): aieuo\ip\EventListener->onEvent(object pocketmine\event\player\PlayerInteractEvent, string[19] PlayerInteractEvent)
[18:03:50] [Server thread/DEBUG]: #8 src/pocketmine/plugin/MethodEventExecutor(38): aieuo\ip\EventListener->interact(object pocketmine\event\player\PlayerInteractEvent)
[18:03:50] [Server thread/DEBUG]: #9 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(object aieuo\ip\EventListener, object pocketmine\event\player\PlayerInteractEvent)
[18:03:50] [Server thread/DEBUG]: #10 src/pocketmine/event/Event(95): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerInteractEvent)
[18:03:50] [Server thread/DEBUG]: #11 src/pocketmine/level/Level(1919): pocketmine\event\Event->call()
[18:03:50] [Server thread/DEBUG]: #12 src/pocketmine/Player(2443): pocketmine\level\Level->useItemOn(object pocketmine\math\Vector3, object pocketmine\item\Item, integer 1, object pocketmine\math\Vector3, object pocketmine\Player, boolean 1)
[18:03:50] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(151): pocketmine\Player->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[18:03:50] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(178): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[18:03:50] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(111): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[18:03:50] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[18:03:50] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(111): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[18:03:50] [Server thread/DEBUG]: #18 src/pocketmine/Player(3158): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[18:03:50] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[18:03:50] [Server thread/DEBUG]: #20 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 113.147.152.36 56300, object raklib\protocol\EncapsulatedPacket, integer 0)
[18:03:50] [Server thread/DEBUG]: #21 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[18:03:50] [Server thread/DEBUG]: #22 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[18:03:50] [Server thread/DEBUG]: #23 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[18:03:50] [Server thread/DEBUG]: #24 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[18:03:50] [Server thread/DEBUG]: #25 src/pocketmine/Server(2346): pocketmine\snooze\SleeperHandler->sleepUntil(double 1578733430.1546)
[18:03:50] [Server thread/DEBUG]: #26 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
[18:03:50] [Server thread/DEBUG]: #27 src/pocketmine/Server(1785): pocketmine\Server->start()
[18:03:50] [Server thread/DEBUG]: #28 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[18] /minecraft/server/, string[26] /minecraft/server/plugins/)
[18:03:50] [Server thread/DEBUG]: #29 src/pocketmine/PocketMine(295): pocketmine\server()
[18:03:50] [Server thread/DEBUG]: #30 (1): require(string[64] phar:///minecraft/server/pmmp.phar/src/pocketmine/PocketMine.php)
[18:03:50] [Server thread/INFO]: 〔DRFM〕»»ありゃ、、権限者が準備をやめて抜けちゃったよ!?呼び戻さないの?
[18:03:50] [Server thread/INFO]: [PlayerMessageCustom] tetokaru158がサーバーから退出しました
[18:03:50] [Server thread/INFO]: tetokaru158がサーバーから退出しました
[18:03:50] [Server thread/INFO]: tetokaru158[/113.147.152.36:56300] が Internal server error によってログアウトされました
 

さくだま

Well-known member
12 月 7, 2018
74
49
18
[不具合その2 (イベントの)ブロックをタップした時特定のアイテムを持っていたらコンソールからコマンドを実行でエラー]
Code:
[18:01:14] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\command\ConsoleCommandSender::getPlayer()" (EXCEPTION) in "plugins/SProtector.phar/src/SProtector/main" at line 135
[18:01:14] [Server thread/DEBUG]: #0 src/pocketmine/command/PluginCommand(58): SProtector\main->onCommand(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, string[6] pvpoff, array[1])
[18:01:14] [Server thread/DEBUG]: #1 src/pocketmine/command/SimpleCommandMap(270): pocketmine\command\PluginCommand->execute(object pocketmine\command\ConsoleCommandSender, string[6] pvpoff, array[1])
[18:01:14] [Server thread/DEBUG]: #2 src/pocketmine/Server(2026): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[12] pvpoff world)
[18:01:14] [Server thread/DEBUG]: #3 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/processes/CommandConsole(22): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[12] pvpoff world)
[18:01:14] [Server thread/DEBUG]: #4 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/IFAPI(56): aieuo\ip\processes\CommandConsole->execute()
[18:01:14] [Server thread/DEBUG]: #5 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/IFAPI(76): aieuo\ip\IFAPI->executeProcess(object pocketmine\Player, array[3], array[3])
[18:01:14] [Server thread/DEBUG]: #6 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/EventListener(187): aieuo\ip\IFAPI->executeIfMatchCondition(object pocketmine\Player, array[1], array[3], array[0], array[3])
[18:01:14] [Server thread/DEBUG]: #7 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/EventListener(201): aieuo\ip\EventListener->onEvent(object pocketmine\event\player\PlayerInteractEvent, string[19] PlayerInteractEvent)
[18:01:14] [Server thread/DEBUG]: #8 src/pocketmine/plugin/MethodEventExecutor(38): aieuo\ip\EventListener->interact(object pocketmine\event\player\PlayerInteractEvent)
[18:01:14] [Server thread/DEBUG]: #9 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(object aieuo\ip\EventListener, object pocketmine\event\player\PlayerInteractEvent)
[18:01:14] [Server thread/DEBUG]: #10 src/pocketmine/event/Event(95): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerInteractEvent)
[18:01:14] [Server thread/DEBUG]: #11 src/pocketmine/Player(2550): pocketmine\event\Event->call()
[18:01:14] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(151): pocketmine\Player->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[18:01:14] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(178): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[18:01:14] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(111): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[18:01:14] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[18:01:14] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(111): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[18:01:14] [Server thread/DEBUG]: #17 src/pocketmine/Player(3158): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[18:01:14] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[18:01:14] [Server thread/DEBUG]: #19 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 118.21.159.178 62392, object raklib\protocol\EncapsulatedPacket, integer 0)
[18:01:14] [Server thread/DEBUG]: #20 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[18:01:14] [Server thread/DEBUG]: #21 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[18:01:14] [Server thread/DEBUG]: #22 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[18:01:14] [Server thread/DEBUG]: #23 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[18:01:14] [Server thread/DEBUG]: #24 src/pocketmine/Server(2346): pocketmine\snooze\SleeperHandler->sleepUntil(double 1578733274.1047)
[18:01:14] [Server thread/DEBUG]: #25 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
[18:01:14] [Server thread/DEBUG]: #26 src/pocketmine/Server(1785): pocketmine\Server->start()
[18:01:14] [Server thread/DEBUG]: #27 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[18] /minecraft/server/, string[26] /minecraft/server/plugins/)
[18:01:14] [Server thread/DEBUG]: #28 src/pocketmine/PocketMine(295): pocketmine\server()
[18:01:14] [Server thread/DEBUG]: #29 (1): require(string[64] phar:///minecraft/server/pmmp.phar/src/pocketmine/PocketMine.php)
 

aieuo

Well-known member
1月 27, 2018
223
155
43
[不具合その1 (event_cause)を使用するとエラー]
Code:
[18:03:50] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\command\ConsoleCommandSender::getPlayer()" (EXCEPTION) in "plugins/SProtector.phar/src/SProtector/main" at line 137
[18:03:50] [Server thread/DEBUG]: #0 src/pocketmine/command/PluginCommand(58): SProtector\main->onCommand(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, string[6] pvpoff, array[1])
[18:03:50] [Server thread/DEBUG]: #1 src/pocketmine/command/SimpleCommandMap(270): pocketmine\command\PluginCommand->execute(object pocketmine\command\ConsoleCommandSender, string[6] pvpoff, array[1])
[18:03:50] [Server thread/DEBUG]: #2 src/pocketmine/Server(2026): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[12] pvpoff world)
[18:03:50] [Server thread/DEBUG]: #3 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/processes/CommandConsole(22): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[12] pvpoff world)
[18:03:50] [Server thread/DEBUG]: #4 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/IFAPI(56): aieuo\ip\processes\CommandConsole->execute()
[18:03:50] [Server thread/DEBUG]: #5 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/IFAPI(76): aieuo\ip\IFAPI->executeProcess(object pocketmine\Player, array[3], array[3])
[18:03:50] [Server thread/DEBUG]: #6 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/EventListener(187): aieuo\ip\IFAPI->executeIfMatchCondition(object pocketmine\Player, array[1], array[3], array[0], array[3])
[18:03:50] [Server thread/DEBUG]: #7 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/EventListener(201): aieuo\ip\EventListener->onEvent(object pocketmine\event\player\PlayerInteractEvent, string[19] PlayerInteractEvent)
[18:03:50] [Server thread/DEBUG]: #8 src/pocketmine/plugin/MethodEventExecutor(38): aieuo\ip\EventListener->interact(object pocketmine\event\player\PlayerInteractEvent)
[18:03:50] [Server thread/DEBUG]: #9 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(object aieuo\ip\EventListener, object pocketmine\event\player\PlayerInteractEvent)
[18:03:50] [Server thread/DEBUG]: #10 src/pocketmine/event/Event(95): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerInteractEvent)
[18:03:50] [Server thread/DEBUG]: #11 src/pocketmine/level/Level(1919): pocketmine\event\Event->call()
[18:03:50] [Server thread/DEBUG]: #12 src/pocketmine/Player(2443): pocketmine\level\Level->useItemOn(object pocketmine\math\Vector3, object pocketmine\item\Item, integer 1, object pocketmine\math\Vector3, object pocketmine\Player, boolean 1)
[18:03:50] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(151): pocketmine\Player->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[18:03:50] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(178): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[18:03:50] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(111): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[18:03:50] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket)
[18:03:50] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(111): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[18:03:50] [Server thread/DEBUG]: #18 src/pocketmine/Player(3158): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[18:03:50] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[18:03:50] [Server thread/DEBUG]: #20 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 113.147.152.36 56300, object raklib\protocol\EncapsulatedPacket, integer 0)
[18:03:50] [Server thread/DEBUG]: #21 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[18:03:50] [Server thread/DEBUG]: #22 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[18:03:50] [Server thread/DEBUG]: #23 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[18:03:50] [Server thread/DEBUG]: #24 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[18:03:50] [Server thread/DEBUG]: #25 src/pocketmine/Server(2346): pocketmine\snooze\SleeperHandler->sleepUntil(double 1578733430.1546)
[18:03:50] [Server thread/DEBUG]: #26 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
[18:03:50] [Server thread/DEBUG]: #27 src/pocketmine/Server(1785): pocketmine\Server->start()
[18:03:50] [Server thread/DEBUG]: #28 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[18] /minecraft/server/, string[26] /minecraft/server/plugins/)
[18:03:50] [Server thread/DEBUG]: #29 src/pocketmine/PocketMine(295): pocketmine\server()
[18:03:50] [Server thread/DEBUG]: #30 (1): require(string[64] phar:///minecraft/server/pmmp.phar/src/pocketmine/PocketMine.php)
[18:03:50] [Server thread/INFO]: 〔DRFM〕»»ありゃ、、権限者が準備をやめて抜けちゃったよ!?呼び戻さないの?
[18:03:50] [Server thread/INFO]: [PlayerMessageCustom] tetokaru158がサーバーから退出しました
[18:03:50] [Server thread/INFO]: tetokaru158がサーバーから退出しました
[18:03:50] [Server thread/INFO]: tetokaru158[/113.147.152.36:56300] が Internal server error によってログアウトされました
[不具合その2 (イベントの)ブロックをタップした時特定のアイテムを持っていたらコンソールからコマンドを実行でエラー]
Code:
[18:01:14] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\command\ConsoleCommandSender::getPlayer()" (EXCEPTION) in "plugins/SProtector.phar/src/SProtector/main" at line 135
エラーを見る限り多分SProtector.pharのエラーだと思います。
そのプラグインは何処かからダウンロード出来たりしますか...?
 

aieuo

Well-known member
1月 27, 2018
223
155
43
このmcbefourmからdownloadしたものです
そのプラグインはコンソールからの実行に対応してないみたいですね...
プレイヤーから実行するかプラグイン作成者様に対応お願いしてみてください

一応 main.phpの
PHP:
$sender->getPlayer()->sendMessage

PHP:
$sender->sendMessage
に変更すると動くと思います
 

yuiful

New member
12 月 1, 2019
17
1
3
条件があったときの編集のところに
「手に持っているアイテムの名前を変更する」って言う項目を追加して欲しいです
 

yuiful

New member
12 月 1, 2019
17
1
3
コマンド追加で空欄をコマンドに使ってしまったとき(例:rn 10)そのコマンドは実行できないのでそのコマンドを消そうとするとエラーが出ます
修正お願いします
 

aieuo

Well-known member
1月 27, 2018
223
155
43
条件があったときの編集のところに
「手に持っているアイテムの名前を変更する」って言う項目を追加して欲しいです
ご提案ありがとうございます。次回のアップデートで追加します。

IF設定でできるのでは?
面倒ですが
アイテムを追加する場所は指定できなかった気がします...

コマンド追加で空欄をコマンドに使ってしまったとき(例:rn 10)そのコマンドは実行できないのでそのコマンドを消そうとするとエラーが出ます
修正お願いします
報告ありがとうございます。修正します
 

POKO

Active member
8月 12, 2019
21
25
3
アイテムをインベントリに追加するifで追加するアイテムにエンチャントをつけた状態で出来るようにして欲しいです。
(2つめは出来れば)追加するアイテムに説明をつけられるようにして欲しいです。(カーソルを合わせるとアイテムの名前の下に出てくる紫の文字)
 

yuiful

New member
12 月 1, 2019
17
1
3
もし変数を「乱数」にしたならチャットを送るで{乱数}言う変数を使うと生成した乱数が表示されます
 
いいね数: aieuo