Ошибка в плагине CrazyCrates

Terror2020

Пользователь
Плагин
CrazyCrates
Ядро сервера
Spigot
Версия сервера
1.12.2
Код:
[21:13:07] [Craft Scheduler Thread - 3/WARN]: [CrazyCrates] Plugin CrazyCrates v1.7.4.4 generated an exception while executing task 145
java.lang.NullPointerException: Nodes must be provided.
    at org.yaml.snakeyaml.nodes.NodeTuple.<init>(NodeTuple.java:28) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.representer.BaseRepresenter.representMapping(BaseRepresenter.java:163) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.representer.SafeRepresenter$RepresentMap.representData(SafeRepresenter.java:314) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepresenter.java:94) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.representer.BaseRepresenter.represent(BaseRepresenter.java:64) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:306) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:270) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.Yaml.dump(Yaml.java:245) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConfiguration.java:38) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:68) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at me.badbones69.crazycrates.controlers.FileManager.saveFile(FileManager.java:193) ~[?:?]
    at me.badbones69.crazycrates.controlers.FileManager$Files.saveFile(FileManager.java:365) ~[?:?]
    at me.badbones69.crazycrates.cratetypes.QuadCrate$8.run(QuadCrate.java:537) ~[?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [server.jar:git-Spigot-dcd1643-e60fc34]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
[21:13:07] [Craft Scheduler Thread - 11/WARN]: [CrazyCrates] Plugin CrazyCrates v1.7.4.4 generated an exception while executing task 170
java.lang.NullPointerException: null
    at org.yaml.snakeyaml.emitter.Emitter.expectNode(Emitter.java:402) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.emitter.Emitter.access$1600(Emitter.java:62) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.emitter.Emitter$ExpectBlockMappingSimpleValue.expect(Emitter.java:644) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.emitter.Emitter.emit(Emitter.java:218) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:169) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:193) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:194) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:194) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.serializer.Serializer.serialize(Serializer.java:111) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:307) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:270) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.Yaml.dump(Yaml.java:245) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConfiguration.java:38) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:68) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at me.badbones69.crazycrates.controlers.FileManager.saveFile(FileManager.java:193) ~[?:?]
    at me.badbones69.crazycrates.controlers.FileManager$Files.saveFile(FileManager.java:365) ~[?:?]
    at me.badbones69.crazycrates.cratetypes.QuadCrate$8.run(QuadCrate.java:537) ~[?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [server.jar:git-Spigot-dcd1643-e60fc34]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
[21:13:07] [Craft Scheduler Thread - 9/WARN]: [CrazyCrates] Plugin CrazyCrates v1.7.4.4 generated an exception while executing task 159
java.util.ConcurrentModificationException: null
    at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:719) ~[?:1.8.0_212]
    at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:752) ~[?:1.8.0_212]
    at java.util.LinkedHashMap$LinkedEntryIterator.next(LinkedHashMap.java:750) ~[?:1.8.0_212]
    at org.bukkit.configuration.MemorySection.mapChildrenValues(MemorySection.java:744) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.configuration.MemorySection.getValues(MemorySection.java:101) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.configuration.file.YamlRepresenter$RepresentConfigurationSection.representData(YamlRepresenter.java:23) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepresenter.java:94) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.representer.BaseRepresenter.representMapping(BaseRepresenter.java:156) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.representer.SafeRepresenter$RepresentMap.representData(SafeRepresenter.java:314) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.configuration.file.YamlRepresenter$RepresentConfigurationSection.representData(YamlRepresenter.java:23) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepresenter.java:94) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.representer.BaseRepresenter.representMapping(BaseRepresenter.java:156) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.representer.SafeRepresenter$RepresentMap.representData(SafeRepresenter.java:314) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepresenter.java:94) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.representer.BaseRepresenter.represent(BaseRepresenter.java:64) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:306) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:270) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.yaml.snakeyaml.Yaml.dump(Yaml.java:245) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConfiguration.java:38) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:68) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at me.badbones69.crazycrates.controlers.FileManager.saveFile(FileManager.java:193) ~[?:?]
    at me.badbones69.crazycrates.controlers.FileManager$Files.saveFile(FileManager.java:365) ~[?:?]
    at me.badbones69.crazycrates.cratetypes.QuadCrate$8.run(QuadCrate.java:537) ~[?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[server.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [server.jar:git-Spigot-dcd1643-e60fc34]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
 

Terror2020

Пользователь
BuseSo,
Код:
/#List of all the enchantments: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
Settings:
  Prefix: '&7'
  InventoryName: '            &8◆  &c&k;&4&k;&r &c&nКЕЙСЫ&r &4&k;&c&k;&r  &8◆'
  InventorySize: 36
  KnockBack: false
  Update-Checker: false
  Show-Preview: true #Toggle this on and off if you want to show the preview for the crates when left clicked.
  Physical-Accepts-Virtual-Keys: true #If physical crates can accept virtual keys.
  Virtual-Accepts-Physical-Keys: true #If virtual crates can accept physical keys.
  QuadCrate:
    Timer: 300
  DisabledWorlds:
    - 'world_nether'
  Filler: #This allows you to quickly fill the GUI with one item.
    Toggle: false #If it fills the GUI with an item.
    Item: '160:15' #The item you wish to use.
    Name: ' ' #The name of the item.
    Lore: {} #The lore of the item.
  GUI-Customizer: #Place extra items in the GUI. If you wish to not use this, remove all items and set it to GUI-Customizer: {}
    - 'Slot:1, Item:160:15, Name: '
    - 'Slot:2, Item:160:15, Name: '
    - 'Slot:3, Item:160:15, Name: '
    - 'Slot:4, Item:160:15, Name: '
    - 'Slot:5, Item:160:15, Name: '
    - 'Slot:6, Item:160:15, Name: '
    - 'Slot:7, Item:160:15, Name: '
    - 'Slot:8, Item:160:15, Name: '
    - 'Slot:9, Item:160:15, Name: '
    - 'Slot:10, Item:160:15, Name: '
    - 'Slot:18, Item:160:15, Name: '
    - 'Slot:19, Item:160:15, Name: '
    - 'Slot:27, Item:160:15, Name: '
    - 'Slot:28, Item:160:15, Name: '
    - 'Slot:29, Item:160:15, Name: '
    - 'Slot:30, Item:160:15, Name: '
    - 'Slot:31, Item:160:15, Name: '
    - 'Slot:32, Item:160:15, Name: '
    - 'Slot:33, Item:160:15, Name: '
    - 'Slot:34, Item:160:15, Name: '
    - 'Slot:35, Item:160:15, Name: '
    - 'Slot:36, Item:160:15, Name: '
а что тут можно удалить?
 

The_stas

Администратор
Модератор
Пользователь
Вот это например

YAML:
  Preview:
    Buttons:
      Menu:
        Item: 'GRAY_DYE'
        Name: '&c&lEXIT MENU &7(Клик)'
        Lore:
          - '&7Вернуться в главное меню.'
      Next:
        Item: 'PAPER'
        Name: '&6&lСЛЕДУЮЩАЯ СТРАНИЦА &7(Клик)'
        Lore:
          - '&7Страница %page%'
      Back:
        Item: 'PAPER'
        Name: '&6&lПРЕДЫДУЩАЯ СТРАНИЦА &7(Клик)'
        Lore:
          - '&7Страница %page%'
 

Terror2020

Пользователь
The_stas, это в конце влепить?
Авто объединение сообщений:

The_stas, я сейчас поставил дефолтные кейсы, там такого нету
 
Последнее редактирование:

The_stas

Администратор
Модератор
Пользователь
Значит в кейсах накосячил. По одному закидывай и команда /cc reload
 

Комнаты в чате

Верх Низ