Open iZeaoGamer opened 5 years ago
This data can be autogenerated by running the warpreport command from your server console.
warpreport
(Explain your problem here) Okay, so whenever I use /addwarp, it comes up with an error. Here's the errors log: iWin10PlayzMC> /addwarp spawn 02.09 17:19:33 [Server] Server thread/CRITICAL Unhandled exception executing command 'addwarp spawn' in addwarp: Argument 1 passed to pocketmine\permission\PermissionManager::getPermission() must be of the type string, integer given, called in phar:///custom-php7.2.phar/src/pocketmine/permission/PermissibleBase.php on line 187 02.09 17:19:33 [Server] Server thread/CRITICAL TypeError: "Argument 1 passed to pocketmine\permission\PermissionManager::getPermission() must be of the type string, integer given, called in phar:///custom-php7.2.phar/src/pocketmine/permission/PermissibleBase.php on line 187" (EXCEPTION) in "src/pocketmine/permission/PermissionManager" at line 58 02.09 17:19:33 [Server] Server thread/DEBUG #0 src/pocketmine/permission/PermissibleBase(187): pocketmine\permission\PermissionManager->getPermission(integer 8) 02.09 17:19:33 [Server] Server thread/DEBUG #1 src/pocketmine/permission/PermissibleBase(161): pocketmine\permission\PermissibleBase->calculateChildPermissions(array Array(), boolean , pocketmine\permission\PermissionAttachment object) 02.09 17:19:33 [Server] Server thread/DEBUG #2 src/pocketmine/Player(654): pocketmine\permission\PermissibleBase->recalculatePermissions() 02.09 17:19:33 [Server] Server thread/DEBUG #3 src/pocketmine/permission/PermissionManager(135): pocketmine\Player->recalculatePermissions() 02.09 17:19:33 [Server] Server thread/DEBUG #4 src/pocketmine/permission/PermissionManager(120): pocketmine\permission\PermissionManager->dirtyPermissibles(boolean 1) 02.09 17:19:33 [Server] Server thread/DEBUG #5 src/pocketmine/permission/PermissionManager(70): pocketmine\permission\PermissionManager->calculatePermissionDefault(pocketmine\permission\Permission object) 02.09 17:19:33 [Server] Server thread/DEBUG #6 src/pocketmine/plugin/PluginManager(421): pocketmine\permission\PermissionManager->addPermission(pocketmine\permission\Permission object) 02.09 17:19:33 [Server] Server thread/DEBUG #7 SimpleWarp_4.0.1.phar/src/falkirks/simplewarp/permission/SimpleWarpPermissions(28): pocketmine\plugin\PluginManager->addPermission(pocketmine\permission\Permission object) 02.09 17:19:33 [Server] Server thread/DEBUG #8 SimpleWarp_4.0.1.phar/src/falkirks/simplewarp/Warp(31): falkirks\simplewarp\permission\SimpleWarpPermissions::setupPermission(falkirks\simplewarp\Warp object) 02.09 17:19:33 [Server] Server thread/DEBUG #9 SimpleWarp_4.0.1.phar/src/falkirks/simplewarp/command/AddWarpCommand(101): falkirks\simplewarp\Warp->__construct(falkirks\simplewarp\WarpManager object, string spawn, falkirks\simplewarp\Destination object) 02.09 17:19:33 [Server] Server thread/DEBUG #10 src/pocketmine/command/SimpleCommandMap(258): falkirks\simplewarp\command\AddWarpCommand->execute(pocketmine\Player object, string addwarp, array Array()) 02.09 17:19:33 [Server] Server thread/DEBUG #11 src/pocketmine/Server(1955): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string addwarp spawn) 02.09 17:19:33 [Server] Server thread/DEBUG #12 src/pocketmine/Player(2191): pocketmine\Server->dispatchCommand(pocketmine\Player object, string addwarp spawn) 02.09 17:19:33 [Server] Server thread/DEBUG #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(113): pocketmine\Player->chat(string ./addwarp spawn) 02.09 17:19:33 [Server] Server thread/DEBUG #14 src/pocketmine/network/mcpe/protocol/TextPacket(128): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleText(pocketmine\network\mcpe\protocol\TextPacket object) 02.09 17:19:33 [Server] Server thread/DEBUG #15 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\TextPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 02.09 17:19:33 [Server] Server thread/DEBUG #16 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\TextPacket object) 02.09 17:19:33 [Server] Server thread/DEBUG #17 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 02.09 17:19:33 [Server] Server thread/DEBUG #18 src/pocketmine/Player(3056): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 02.09 17:19:33 [Server] Server thread/DEBUG #19 src/pocketmine/network/mcpe/RakLibInterface(162): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 02.09 17:19:33 [Server] Server thread/DEBUG #20 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 82.38.148.87 56062, raklib\protocol\EncapsulatedPacket object, integer 0) 02.09 17:19:33 [Server] Server thread/DEBUG #21 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket() 02.09 17:19:33 [Server] Server thread/DEBUG #22 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
SERVER VERSION: 3.2.0 02.09 17:22:53 [Server] Server thread/INFO API: 3.2.0 02.09 17:22:53 [Server] Server thread/INFO MCPE VERSION: v1.6.0 02.09 17:22:53 [Server] Server thread/INFO SOFTWARE: PocketMine-MP 02.09 17:22:53 [Server] Server thread/INFO SimpleWarp Version: 4.0.1 02.09 17:22:53 [Server] Server thread/INFO PLUGINS: superBAR,AutoRestarter,PvPLevels,SuperVanish,Functions,AWorldBorder,EconomyAPI,MultiWorld,Bounty,Wild,Slapper,PocketVote,DevTools,Festival,TopVoter,WorldProtect,CustomAlerts,AutoXP,VMMPE-Action,SocialSpy,Broadcaster,MysteryBox,FormAPI,CustomDeaths,AutoClickerProtection,NameTag,AutoInventory,MSpawns,ClearLaggPE,PlayerVaults,PurePerms,ChatScrambler,AutoClearLagg,BossBar,AllAPILoader,BlockSniper,SimpleWarp,Sell,WolfGangShopUI,EssentialsPE,InventoryMonitor,AliasReborn,MoneyPouch,StaffChat,Repair,MagicWE2,KitUI,JoinCommands,BanItem,BankNotes,CommandBlocker,VMCore,CombatLogger,GappleCooldown,ItemID,AFantasyStopTransfer,VotePoints,MOTDShuffle,PureChat,TeaSpoon,FactionsPE 02.09 17:22:53 [Server] Server thread/INFO storage-mode: 1 02.09 17:22:53 [Server] Server thread/INFO essentials-support: false 02.09 17:22:53 [Server] Server thread/INFO [] storage-mode: [storage-mode from config.yml] essentials-support: [essentials-support from config.yml]
COPY your warps.yml here
+1, using it without permission makes the same happen.
This data can be autogenerated by running the
warpreport
command from your server console.(Explain your problem here) Okay, so whenever I use /addwarp, it comes up with an error. Here's the errors log: iWin10PlayzMC> /addwarp spawn 02.09 17:19:33 [Server] Server thread/CRITICAL Unhandled exception executing command 'addwarp spawn' in addwarp: Argument 1 passed to pocketmine\permission\PermissionManager::getPermission() must be of the type string, integer given, called in phar:///custom-php7.2.phar/src/pocketmine/permission/PermissibleBase.php on line 187 02.09 17:19:33 [Server] Server thread/CRITICAL TypeError: "Argument 1 passed to pocketmine\permission\PermissionManager::getPermission() must be of the type string, integer given, called in phar:///custom-php7.2.phar/src/pocketmine/permission/PermissibleBase.php on line 187" (EXCEPTION) in "src/pocketmine/permission/PermissionManager" at line 58 02.09 17:19:33 [Server] Server thread/DEBUG #0 src/pocketmine/permission/PermissibleBase(187): pocketmine\permission\PermissionManager->getPermission(integer 8) 02.09 17:19:33 [Server] Server thread/DEBUG #1 src/pocketmine/permission/PermissibleBase(161): pocketmine\permission\PermissibleBase->calculateChildPermissions(array Array(), boolean , pocketmine\permission\PermissionAttachment object) 02.09 17:19:33 [Server] Server thread/DEBUG #2 src/pocketmine/Player(654): pocketmine\permission\PermissibleBase->recalculatePermissions() 02.09 17:19:33 [Server] Server thread/DEBUG #3 src/pocketmine/permission/PermissionManager(135): pocketmine\Player->recalculatePermissions() 02.09 17:19:33 [Server] Server thread/DEBUG #4 src/pocketmine/permission/PermissionManager(120): pocketmine\permission\PermissionManager->dirtyPermissibles(boolean 1) 02.09 17:19:33 [Server] Server thread/DEBUG #5 src/pocketmine/permission/PermissionManager(70): pocketmine\permission\PermissionManager->calculatePermissionDefault(pocketmine\permission\Permission object) 02.09 17:19:33 [Server] Server thread/DEBUG #6 src/pocketmine/plugin/PluginManager(421): pocketmine\permission\PermissionManager->addPermission(pocketmine\permission\Permission object) 02.09 17:19:33 [Server] Server thread/DEBUG #7 SimpleWarp_4.0.1.phar/src/falkirks/simplewarp/permission/SimpleWarpPermissions(28): pocketmine\plugin\PluginManager->addPermission(pocketmine\permission\Permission object) 02.09 17:19:33 [Server] Server thread/DEBUG #8 SimpleWarp_4.0.1.phar/src/falkirks/simplewarp/Warp(31): falkirks\simplewarp\permission\SimpleWarpPermissions::setupPermission(falkirks\simplewarp\Warp object) 02.09 17:19:33 [Server] Server thread/DEBUG #9 SimpleWarp_4.0.1.phar/src/falkirks/simplewarp/command/AddWarpCommand(101): falkirks\simplewarp\Warp->__construct(falkirks\simplewarp\WarpManager object, string spawn, falkirks\simplewarp\Destination object) 02.09 17:19:33 [Server] Server thread/DEBUG #10 src/pocketmine/command/SimpleCommandMap(258): falkirks\simplewarp\command\AddWarpCommand->execute(pocketmine\Player object, string addwarp, array Array()) 02.09 17:19:33 [Server] Server thread/DEBUG #11 src/pocketmine/Server(1955): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string addwarp spawn) 02.09 17:19:33 [Server] Server thread/DEBUG #12 src/pocketmine/Player(2191): pocketmine\Server->dispatchCommand(pocketmine\Player object, string addwarp spawn) 02.09 17:19:33 [Server] Server thread/DEBUG #13 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(113): pocketmine\Player->chat(string ./addwarp spawn) 02.09 17:19:33 [Server] Server thread/DEBUG #14 src/pocketmine/network/mcpe/protocol/TextPacket(128): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleText(pocketmine\network\mcpe\protocol\TextPacket object) 02.09 17:19:33 [Server] Server thread/DEBUG #15 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\TextPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 02.09 17:19:33 [Server] Server thread/DEBUG #16 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\TextPacket object) 02.09 17:19:33 [Server] Server thread/DEBUG #17 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 02.09 17:19:33 [Server] Server thread/DEBUG #18 src/pocketmine/Player(3056): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 02.09 17:19:33 [Server] Server thread/DEBUG #19 src/pocketmine/network/mcpe/RakLibInterface(162): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 02.09 17:19:33 [Server] Server thread/DEBUG #20 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 82.38.148.87 56062, raklib\protocol\EncapsulatedPacket object, integer 0) 02.09 17:19:33 [Server] Server thread/DEBUG #21 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket() 02.09 17:19:33 [Server] Server thread/DEBUG #22 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()