Вопрос DeluxeMenus плагин сломался, перестал работать, не могу найти причину

Ядро
Paper

makarono4ek

Пользователь
Сообщения
5
Плагин
DeluxeMenus
Ядро сервера
  1. Paper
Версия сервера
  1. 1.19
Память сервера ОЗУ
5Gb
Ссылка
https://www.spigotmc.org/resources/deluxemenus.11734/
Вот код ошибки:
[09:20:39 INFO]: [DeluxeMenus] Enabling DeluxeMenus v1.13.3-Release
[09:20:39 INFO]: [DeluxeMenus] Hooked into PlaceholderAPI!
[09:20:39 WARN]: [DeluxeMenus] Detected invalid configuration in file: shop.yml
[09:20:39 WARN]: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
[09:20:39 WARN]: in 'string', line 13, column 3:
[09:20:39 WARN]: 'buffs':
[09:20:39 WARN]: ^
[09:20:39 WARN]: expected <block end>, but found '<block mapping start>'
[09:20:39 WARN]: in 'string', line 82, column 4:
[09:20:39 WARN]: 'transport':
[09:20:39 WARN]: ^
[09:20:39 WARN]:
[09:20:39 WARN]: at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:59)
[09:20:39 WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160)
[09:20:39 WARN]: at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128)
[09:20:39 WARN]: at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.checkConfig(DeluxeMenusConfig.java:189)
[09:20:39 WARN]: at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.loadMenuFromFile(DeluxeMenusConfig.java:270)
[09:20:39 WARN]: at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.loadGUIMenus(DeluxeMenusConfig.java:227)
[09:20:39 WARN]: at com.extendedclip.deluxemenus.DeluxeMenus.onEnable(DeluxeMenus.java:75)
[09:20:39 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
[09:20:39 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370)
[09:20:39 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500)
[09:20:39 WARN]: at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518)
[09:20:39 WARN]: at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432)
[09:20:39 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:599)
[09:20:39 WARN]: at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:298)
[09:20:39 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074)
[09:20:39 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291)
[09:20:39 WARN]: at java.base/java.lang.Thread.run(Thread.java:831)
[09:20:39 WARN]: Caused by: while parsing a block mapping
[09:20:39 WARN]: in 'string', line 13, column 3:
[09:20:39 WARN]: 'buffs':
[09:20:39 WARN]: ^
[09:20:39 WARN]: expected <block end>, but found '<block mapping start>'
[09:20:39 WARN]: in 'string', line 82, column 4:
[09:20:39 WARN]: 'transport':
[09:20:39 WARN]: ^
[09:20:39 WARN]:
[09:20:39 WARN]: at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570)
[09:20:39 WARN]: at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
[09:20:39 WARN]: at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
[09:20:39 WARN]: at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:235)
[09:20:39 WARN]: at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:162)
[09:20:39 WARN]: at org.yaml.snakeyaml.composer.Composer.composeValueNode(Composer.java:257)
[09:20:39 WARN]: at org.yaml.snakeyaml.composer.Composer.composeMappingChildren(Composer.java:248)
[09:20:39 WARN]: at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:236)
[09:20:39 WARN]: at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:162)
[09:20:39 WARN]: at org.yaml.snakeyaml.composer.Composer.getNode(Composer.java:95)
[09:20:39 WARN]: at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:119)
[09:20:39 WARN]: at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:150)
[09:20:39 WARN]: at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:490)
[09:20:39 WARN]: at org.yaml.snakeyaml.Yaml.load(Yaml.java:416)
[09:20:39 WARN]: at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57)
[09:20:39 WARN]: ... 16 more
[09:20:39 WARN]: [DeluxeMenus] Menu: shop in file: shop.yml not loaded.
[09:20:39 ERROR]: Error occurred while enabling DeluxeMenus v1.13.3-Release (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "org.bukkit.configuration.file.FileConfiguration.getKeys(boolean)" because "cfg" is null
at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.loadMenuFromFile(DeluxeMenusConfig.java:277) ~[?:?]
at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.loadGUIMenus(DeluxeMenusConfig.java:227) ~[?:?]
at com.extendedclip.deluxemenus.DeluxeMenus.onEnable(DeluxeMenus.java:75) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:599) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-794]
at java.lang.Thread.run(Thread.java:831) [?:?]
[09:20:39 INFO]: [DeluxeMenus] Disabling DeluxeMenus v1.13.3-Release
[09:20:39 ERROR]: Error occurred while disabling DeluxeMenus v1.13.3-Release (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "java.util.Map.clear()" because "this.itemHooks" is null
at com.extendedclip.deluxemenus.DeluxeMenus.onDisable(DeluxeMenus.java:183) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:405) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:533) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:599) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-794]
at java.lang.Thread.run(Thread.java:831) [?:?]
 
Сразу же еще вопросик подскочил, хочу что бы в магазине можно было купить транспорт ( из плагина Vehicles) но как мне его туда поместить если это кастомный предмет, как вариант можно сделать что бы при нажатии тебя просто перекидывало в carshop, который был уже в плагине Vehicles. но там надо написать то, чего я не знаю
left_click_commands:
- '[sound] BLOCK_LEVER_CLICK'
- '[????] carshop'
 
Назад
Сверху Снизу