DaPigGuy / PiggyShopUI

An easy to use shop UI plugin for PocketMine-MP
Apache License 2.0
15 stars 18 forks source link

new config - also bug... #30

Closed jaylac2000 closed 4 years ago

jaylac2000 commented 4 years ago

Please make sure your issue complies with these guidelines:

Description

add it so you can add stuff to the config both from a file editor and in game

Extra Information

when i make a mistake i cant remove it from the shop but instead i need to start over by deleting old config... its really glitchy

jaylac2000 commented 4 years ago

if i try to edit my mistake...

[21:32:32] [Server thread/INFO]: Enabling PiggyShopUI v2.1.1 [21:32:32] [Server thread/CRITICAL]: ErrorException: "yaml_parse(): parsing error encountered during parsing: did not find expected key (line 8, column 7), context while parsing a block mapping (line 6, column 5)" (EXCEPTION) in "src/pocketmine/utils/Config" at line 189

[21:32:32] [Server thread/CRITICAL]: #1 src/pocketmine/utils/Config(189): yaml_parse(string[9637] ---.Blocks:. name: Blocks. items: []. subcategories:. - name: Wood. items) [21:32:32] [Server thread/CRITICAL]: #2 src/pocketmine/utils/Config(122): pocketmine\utils\Config->load(string[49] /home/container/plugin_data/PiggyShopUI/shops.yml, integer -1, array[0]) [21:32:32] [Server thread/CRITICAL]: #3 plugins/PiggyShopUI.phar/src/DaPigGuy/PiggyShopUI/PiggyShopUI(60): pocketmine\utils\Config->__construct(string[49] /home/container/plugin_data/PiggyShopUI/shops.yml) [21:32:32] [Server thread/CRITICAL]: #4 src/pocketmine/plugin/PluginBase(116): DaPigGuy\PiggyShopUI\PiggyShopUI->onEnable() [21:32:32] [Server thread/CRITICAL]: #5 src/pocketmine/plugin/PluginManager(552): pocketmine\plugin\PluginBase->setEnabled(boolean 1) [21:32:32] [Server thread/CRITICAL]: #6 src/pocketmine/Server(1787): pocketmine\plugin\PluginManager->enablePlugin(object DaPigGuy\PiggyShopUI\PiggyShopUI) [21:32:32] [Server thread/CRITICAL]: #7 src/pocketmine/Server(1773): pocketmine\Server->enablePlugin(object DaPigGuy\PiggyShopUI\PiggyShopUI) [21:32:32] [Server thread/CRITICAL]: #8 src/pocketmine/Server(1586): pocketmine\Server->enablePlugins(integer 1) [21:32:32] [Server thread/CRITICAL]: #9 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/) [21:32:32] [Server thread/CRITICAL]: #10 src/pocketmine/PocketMine(304): pocketmine\server()

[21:32:32] [Server thread/INFO]: Disabling PiggyShopUI v2.1.1

jaylac2000 commented 4 years ago

wont fix a bug...?

Aericio commented 4 years ago

It works as intended. If you can't edit the config file properly then it's not our problem.

jaylac2000 commented 4 years ago

it doesnt... i deleted a category i made and tried to re-make it and it says a category already has that name

jaylac2000 commented 4 years ago

i can provide a video