poggit-orphanage / WorldProtect

Griefer protection plugin
GNU General Public License v2.0
11 stars 20 forks source link

Crash when starting the server #34

Closed TheMicCraft closed 1 year ago

TheMicCraft commented 1 year ago

[Server thread/CRITICAL]: InvalidArgumentException: "Cannot use non-existing permission "wp.motd"" (EXCEPTION) in "pmsrc/src/command/Command" at line 99 --- Stack trace ---

0 plugins/WorldProtect.phar/src/aliuly/worldprotect/common/BasicCli(75): pocketmine\command\Command->setPermission(string[7] wp.motd)

1 plugins/WorldProtect.phar/src/aliuly/worldprotect/WpMotdMgr(78): aliuly\worldprotect\common\BasicCli->enableCmd(string[4] motd, array[3])

2 plugins/WorldProtect.phar/src/aliuly/worldprotect/common/BasicPlugin(70): aliuly\worldprotect\WpMotdMgr->__construct(object aliuly\worldprotect\Main#22555, array[4])

3 plugins/WorldProtect.phar/src/aliuly/worldprotect/Main(62): aliuly\worldprotect\common\BasicPlugin->modConfig(string[19] aliuly\worldprotect, array[11], array[3], string[17] /%s [world] %s %s)

4 pmsrc/src/plugin/PluginBase(118): aliuly\worldprotect\Main->onEnable()

5 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)

6 pmsrc/src/Server(1409): pocketmine\plugin\PluginManager->enablePlugin(object aliuly\worldprotect\Main#22555)

7 pmsrc/src/Server(1011): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#21918)

8 pmsrc/src/PocketMine(339): pocketmine\Server->__construct(object BaseClassLoader#5, object pocketmine\utils\MainLogger#4, string[16] /home/container/, string[24] /home/container/plugins/)

9 pmsrc/src/PocketMine(362): pocketmine\server()

10 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

--- End of exception information ---

Plugin version: 3.0.0 Pocketmine: 4.13.0