hopicrafti
Пользователь
- Сообщения
- 3
сделал меню, в котором выдается предмет с атрибутами через give, а менюшка не работает
ошибка которая выдается
ошибка которая выдается
Код:
[00:21:07 WARN]: [DeluxeMenus] Detected invalid configuration in file: shop_crystal.yml
[00:21:07 WARN]: org.bukkit.configuration.InvalidConfigurationException: while parsing a block collection
[00:21:07 WARN]: in 'string', line 25, column 7:
[00:21:07 WARN]: - '[console] points take %player ...
[00:21:07 WARN]: ^
[00:21:07 WARN]: expected <block end>, but found '['
[00:21:07 WARN]: in 'string', line 26, column 80:
[00:21:07 WARN]: ... netherite_sword{display:{Name:'[{"text":"Великий меч выкованный ...
[00:21:07 WARN]: ^
[00:21:07 WARN]:
[00:21:07 WARN]: at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:59)
[00:21:07 WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160)
[00:21:07 WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128)
[00:21:07 WARN]: at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.checkConfig(DeluxeMenusConfig.java:181)
[00:21:07 WARN]: at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.loadGUIMenus(DeluxeMenusConfig.java:254)
[00:21:07 WARN]: at com.extendedclip.deluxemenus.DeluxeMenusCommands.onCommand(DeluxeMenusCommands.java:53)
[00:21:07 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[00:21:07 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:172)
[00:21:07 WARN]: at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:826)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2315)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:2130)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:2083)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:49)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:7)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:55)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1339)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1332)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1308)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1152)
[00:21:07 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:293)
[00:21:07 WARN]: at java.base/java.lang.Thread.run(Thread.java:831)
[00:21:07 WARN]: Caused by: while parsing a block collection
[00:21:07 WARN]: in 'string', line 25, column 7:
[00:21:07 WARN]: - '[console] points take %player ...
[00:21:07 WARN]: ^
[00:21:07 WARN]: expected <block end>, but found '['
[00:21:07 WARN]: in 'string', line 26, column 80:
[00:21:07 WARN]: ... netherite_sword{display:{Name:'[{"text":"Великий меч выкованный ...
[00:21:07 WARN]: ^
[00:21:07 WARN]:
[00:21:07 WARN]: at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:514)
[00:21:07 WARN]: at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
[00:21:07 WARN]: at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:208)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:257)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:248)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:236)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:162)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:257)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:248)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:236)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:162)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:257)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:248)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:236)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:162)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:95)
[00:21:07 WARN]: at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:119)
[00:21:07 WARN]: at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:150)
[00:21:07 WARN]: at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:490)
[00:21:07 WARN]: at org.yaml.snakeyaml.Yaml.load(Yaml.java:416)
[00:21:07 WARN]: at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57)
[00:21:07 WARN]: ... 25 more
[00:21:07 WARN]: [DeluxeMenus] Menu: shop_crystal in file: shop_crystal.yml not loaded.