[不具合その1 (event_cause)を使用するとエラー]
[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 (イベントの)ブロックをタップした時特定のアイテムを持っていたらコンソールからコマンドを実行でエラー]
[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)
[不具合その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 によってログアウトされました
エラーを見る限り多分SProtector.pharのエラーだと思います。[不具合その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
このmcbefourmからdownloadしたものですエラーを見る限り多分SProtector.pharのエラーだと思います。
そのプラグインは何処かからダウンロード出来たりしますか...?
そのプラグインはコンソールからの実行に対応してないみたいですね...このmcbefourmからdownloadしたものです
$sender->getPlayer()->sendMessage
$sender->sendMessage
IF設定でできるのでは?条件があったときの編集のところに
「手に持っているアイテムの名前を変更する」って言う項目を追加して欲しいです
ご提案ありがとうございます。次回のアップデートで追加します。条件があったときの編集のところに
「手に持っているアイテムの名前を変更する」って言う項目を追加して欲しいです
アイテムを追加する場所は指定できなかった気がします...IF設定でできるのでは?
面倒ですが
報告ありがとうございます。修正しますコマンド追加で空欄をコマンドに使ってしまったとき(例:rn 10)そのコマンドは実行できないのでそのコマンドを消そうとするとエラーが出ます
修正お願いします
一番下にあるやつじゃダメなんですかね?質問なのですが、
乱数を生成した後、その乱数を表示する。
もしくはその乱数を変数にするのは無理ですかね?
それを表示する方法あります?一番下にあるやつじゃダメなんですかね?
min~max からの乱数を生成して変数に保存するやつです。
こうなりますもし変数を「乱数」にしたならチャットを送るで{乱数}言う変数を使うと生成した乱数が表示されます
ご提案ありがとうございます。検討します。アイテムをインベントリに追加するifで追加するアイテムにエンチャントをつけた状態で出来るようにして欲しいです。
(2つめは出来れば)追加するアイテムに説明をつけられるようにして欲しいです。(カーソルを合わせるとアイテムの名前の下に出てくる紫の文字)