Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write custom language, plugin is not working #6

Open
pavl21 opened this issue Jul 12, 2020 · 1 comment
Open

Write custom language, plugin is not working #6

pavl21 opened this issue Jul 12, 2020 · 1 comment

Comments

@pavl21
Copy link

pavl21 commented Jul 12, 2020

2020-07-12 [14:58:34] [Server thread/CRITICAL]: ErrorException: "yaml_parse(): scanning error encountered during parsing: mapping values are not allowed in this context (line 12, column 23)" (EXCEPTION) in "src/pocketmine/utils/Config" at line 189
2020-07-12 [14:58:34] [Server thread/DEBUG]: #0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[124] yaml_parse(): scanning error encountered during parsing: mapping values are not , string[61] phar:///root/Altay/Altay.phar/src/pocketmine/utils/Config.php, integer 189, array[4])
2020-07-12 [14:58:34] [Server thread/DEBUG]: #1 src/pocketmine/utils/Config(189): yaml_parse(string[6782] ---.reset: true.notfound:. plugin: ..cThis plugin will not work, Please install)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #2 src/pocketmine/utils/Config(122): pocketmine\utils\Config->load(string[51] /root/Altay/plugins/MailPlugin/language/english.yml, integer 2, array[0])
2020-07-12 [14:58:34] [Server thread/DEBUG]: #3 plugins/MailPlugin (3).phar/src/hmmhmmmm/mail/data/Language(233): pocketmine\utils\Config->__construct(string[51] /root/Altay/plugins/MailPlugin/language/english.yml, integer 2, array[0])
2020-07-12 [14:58:34] [Server thread/DEBUG]: #4 plugins/MailPlugin (3).phar/src/hmmhmmmm/mail/Mail(64): hmmhmmmm\mail\data\Language->__construct(object hmmhmmmm\mail\Mail, string[7] english)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginBase(116): hmmhmmmm\mail\Mail->onEnable()
2020-07-12 [14:58:34] [Server thread/DEBUG]: #6 src/pocketmine/plugin/PluginManager(552): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #7 src/pocketmine/Server(1787): pocketmine\plugin\PluginManager->enablePlugin(object hmmhmmmm\mail\Mail)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #8 src/pocketmine/Server(1773): pocketmine\Server->enablePlugin(object hmmhmmmm\mail\Mail)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #9 src/pocketmine/Server(1856): pocketmine\Server->enablePlugins(integer 1)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #10 src/pocketmine/command/defaults/ReloadCommand(49): pocketmine\Server->reload()
2020-07-12 [14:58:34] [Server thread/DEBUG]: #11 src/pocketmine/command/SimpleCommandMap(248): pocketmine\command\defaults\ReloadCommand->execute(object pocketmine\Player, string[6] reload, array[0])
2020-07-12 [14:58:34] [Server thread/DEBUG]: #12 src/pocketmine/Server(1811): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[6] reload)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #13 src/pocketmine/Player(2310): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[6] reload)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(244): pocketmine\Player->chat(string[7] /reload)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #17 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #19 src/pocketmine/Player(3247): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #20 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #21 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 90.187.246.5 53058, object raklib\protocol\EncapsulatedPacket, integer 0)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #22 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
2020-07-12 [14:58:34] [Server thread/DEBUG]: #23 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
2020-07-12 [14:58:34] [Server thread/DEBUG]: #24 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
2020-07-12 [14:58:34] [Server thread/DEBUG]: #25 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
2020-07-12 [14:58:34] [Server thread/DEBUG]: #26 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1594558710.852)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #27 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
2020-07-12 [14:58:34] [Server thread/DEBUG]: #28 src/pocketmine/Server(1588): pocketmine\Server->start()
2020-07-12 [14:58:34] [Server thread/DEBUG]: #29 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[12] /root/Altay/, string[20] /root/Altay/plugins/)
2020-07-12 [14:58:34] [Server thread/DEBUG]: #30 src/pocketmine/PocketMine(304): pocketmine\server()
2020-07-12 [14:58:34] [Server thread/DEBUG]: #31 (11): require(string[59] phar:///root/Altay/Altay.phar/src/pocketmine/PocketMine.php)

@Adam1609
Copy link

Try putting it on both "" symbol, this will work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants