Spigot GoldenCrates • Advanced custom crates! [1.15 - 1.17] 3.11.1

Advanced crates with custom GUIs, animations and effects!

  1. i jave still this problem :(
     
  2. Are you on 1.17 or 1.16.5 still?

    I assume because it's on java 16. Older Java versions will not work anymore. You'll need a few older updates before this latest version.
     
  3. Is there a way to place down a crate from this plugin to use as a preview in a specific area? i cant seem to get it to work that way and need a way for players to preview crates they dont have without a command
     
  4. You can do it with /crate editor
     
  5. It lets you do that in the editor?
     
  6. Yes
     
  7. Why does the plugin not work


    [03:47:07] [Server thread/ERROR]: Fatal error trying to convert NexEngine v2.0.7.4:su/nexmedia/engine/NexEngine.class
    java.lang.IllegalArgumentException: Unsupported class file major version 60
    at org.bukkit.craftbukkit.libs.org.objectweb.asm.ClassReader.<init>(ClassReader.java:196) ~[patched_1.15.2.jar:git-Paper-391]
    at org.bukkit.craftbukkit.libs.org.objectweb.asm.ClassReader.<init>(ClassReader.java:177) ~[patched_1.15.2.jar:git-Paper-391]
    at org.bukkit.craftbukkit.libs.org.objectweb.asm.ClassReader.<init>(ClassReader.java:163) ~[patched_1.15.2.jar:git-Paper-391]
    at org.bukkit.craftbukkit.v1_15_R1.util.Commodore.convert(Commodore.java:171) ~[patched_1.15.2.jar:git-Paper-391]
    at org.bukkit.craftbukkit.v1_15_R1.util.CraftMagicNumbers.processClass(CraftMagicNumbers.java:299) ~[patched_1.15.2.jar:git-Paper-391]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:144) ~[patched_1.15.2.jar:git-Paper-391]
    at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:216) ~[patched_1.15.2.jar:git-Paper-391]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:111) ~[patched_1.15.2.jar:git-Paper-391]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[patched_1.15.2.jar:git-Paper-391]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
    at java.lang.Class.forName0(Native Method) ~[?:?]
    at java.lang.Class.forName(Class.java:398) ~[?:?]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:68) ~[patched_1.15.2.jar:git-Paper-391]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:137) ~[patched_1.15.2.jar:git-Paper-391]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:397) ~[patched_1.15.2.jar:git-Paper-391]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:305) ~[patched_1.15.2.jar:git-Paper-391]
    at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:360) ~[patched_1.15.2.jar:git-Paper-391]
    at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:234) ~[patched_1.15.2.jar:git-Paper-391]
    at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:909) ~[patched_1.15.2.jar:git-Paper-391]
    at java.lang.Thread.run(Thread.java:829) [?:?]
     
  8. Why not read replies above
     
  9. Hello, I have recently updated the plugin from 1.16.2 to 1.16.5 version, after doing that, i updated the jar aswell, however crates can no longer be opened. So i thought maybe i need to update the config and such aswell, so i deleted all config filed so the plugin can generate a new set of files, and I am still unable to open any crates, any idea why?
     
  10. Is there a command to give a random crate key?
     
  11. No
     
  12. can you add it?
     
  13. Ok
     
  14. Is it possible to change the prefix colors in any way? And could there not be done so that it is not possible to see what enchants are on the key? Just to let the players only see that it's enchanted?
     
  15. /plugins/NexEngine/lang

    Code (YAML):
    item:
      material
    : TRIPWIRE_HOOK
      amount
    : 1
      durability
    : 0
      name
    : '&dMystery Crate Key'
      enchanted
    : false
      item-flags
    :
      - HIDE_ENCHANTS
      unbreakable
    : false
     
    • Friendly Friendly x 1
  16. How do i fix this error 02.07 15:35:20 [Server] INFO [19:35:20 WARN]: [GoldenCrates] Plugin GoldenCrates v3.11.0 generated an exception while executing task 730
    02.07 15:35:20 [Server] INFO java.lang.NullPointerException: Cannot invoke "org.bukkit.util.Vector.clone()" because "v" is null
    02.07 15:35:20 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$Eruption.doStep(CrateEffectModel.java:217) ~[?:?]
    02.07 15:35:20 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.lambda$1(CrateEffectModel.java:123) ~[?:?]
    02.07 15:35:20 [Server] INFO at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
    02.07 15:35:20 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.lambda$0(CrateEffectModel.java:122) ~[?:?]
    02.07 15:35:20 [Server] INFO at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
    02.07 15:35:20 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.run(CrateEffectModel.java:120) ~[?:?]
    02.07 15:35:20 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:20 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:20 [Server] INFO at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:20 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
    02.07 15:35:20 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
    02.07 15:35:20 [Server] INFO at java.lang.Thread.run(Thread.java:831) [?:?]
    02.07 15:35:20 [Server] INFO [19:35:20 WARN]: [GoldenCrates] Plugin GoldenCrates v3.11.0 generated an exception while executing task 730
    02.07 15:35:20 [Server] INFO java.lang.NullPointerException: Cannot invoke "org.bukkit.util.Vector.clone()" because "v" is null
    02.07 15:35:21 [Multicraft] Skipped 124 lines due to rate limit (30/s)
    02.07 15:35:21 [Server] INFO [19:35:21 WARN]: [GoldenCrates] Plugin GoldenCrates v3.11.0 generated an exception while executing task 730
    02.07 15:35:21 [Server] INFO java.lang.NullPointerException: Cannot invoke "org.bukkit.util.Vector.clone()" because "v" is null
    02.07 15:35:21 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$Eruption.doStep(CrateEffectModel.java:217) ~[?:?]
    02.07 15:35:21 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.lambda$1(CrateEffectModel.java:123) ~[?:?]
    02.07 15:35:21 [Server] INFO at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
    02.07 15:35:21 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.lambda$0(CrateEffectModel.java:122) ~[?:?]
    02.07 15:35:21 [Server] INFO at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
    02.07 15:35:21 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.run(CrateEffectModel.java:120) ~[?:?]
    02.07 15:35:21 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:21 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:21 [Server] INFO at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:21 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
    02.07 15:35:21 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
    02.07 15:35:21 [Server] INFO at java.lang.Thread.run(Thread.java:831) [?:?]
    02.07 15:35:21 [Server] INFO [19:35:21 WARN]: [GoldenCrates] Plugin GoldenCrates v3.11.0 generated an exception while executing task 730
    02.07 15:35:21 [Server] INFO java.lang.NullPointerException: Cannot invoke "org.bukkit.util.Vector.clone()" because "v" is null
    02.07 15:35:22 [Multicraft] Skipped 110 lines due to rate limit (30/s)
    02.07 15:35:22 [Server] INFO [19:35:22 WARN]: [GoldenCrates] Plugin GoldenCrates v3.11.0 generated an exception while executing task 730
    02.07 15:35:22 [Server] INFO java.lang.NullPointerException: Cannot invoke "org.bukkit.util.Vector.clone()" because "v" is null
    02.07 15:35:22 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$Eruption.doStep(CrateEffectModel.java:217) ~[?:?]
    02.07 15:35:22 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.lambda$1(CrateEffectModel.java:123) ~[?:?]
    02.07 15:35:22 [Server] INFO at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
    02.07 15:35:22 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.lambda$0(CrateEffectModel.java:122) ~[?:?]
    02.07 15:35:22 [Server] INFO at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
    02.07 15:35:22 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.run(CrateEffectModel.java:120) ~[?:?]
    02.07 15:35:22 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:22 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:22 [Server] INFO at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:22 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
    02.07 15:35:22 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
    02.07 15:35:22 [Server] INFO at java.lang.Thread.run(Thread.java:831) [?:?]
    02.07 15:35:22 [Server] INFO [19:35:22 WARN]: [GoldenCrates] Plugin GoldenCrates v3.11.0 generated an exception while executing task 730
    02.07 15:35:22 [Server] INFO java.lang.NullPointerException: Cannot invoke "org.bukkit.util.Vector.clone()" because "v" is null
    02.07 15:35:22 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$Eruption.doStep(CrateEffectModel.java:217) ~[?:?]
    02.07 15:35:22 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.lambda$1(CrateEffectModel.java:123) ~[?:?]
    02.07 15:35:22 [Server] INFO at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
    02.07 15:35:22 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.lambda$0(CrateEffectModel.java:122) ~[?:?]
    02.07 15:35:22 [Server] INFO at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
    02.07 15:35:22 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.run(CrateEffectModel.java:120) ~[?:?]
    02.07 15:35:22 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:22 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:22 [Server] INFO at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:22 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
    02.07 15:35:22 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
    02.07 15:35:22 [Server] INFO at java.lang.Thread.run(Thread.java:831) [?:?]
    02.07 15:35:22 [Server] INFO [19:35:22 WARN]: [GoldenCrates] Plugin GoldenCrates v3.11.0 generated an exception while executing task 730
    02.07 15:35:22 [Server] INFO java.lang.NullPointerException: Cannot invoke "org.bukkit.util.Vector.clone()" because "v" is null
    02.07 15:35:23 [Multicraft] Skipped 124 lines due to rate limit (30/s)
    02.07 15:35:23 [Server] INFO [19:35:23 WARN]: [GoldenCrates] Plugin GoldenCrates v3.11.0 generated an exception while executing task 730
    02.07 15:35:23 [Server] INFO java.lang.NullPointerException: Cannot invoke "org.bukkit.util.Vector.clone()" because "v" is null
    02.07 15:35:23 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$Eruption.doStep(CrateEffectModel.java:217) ~[?:?]
    02.07 15:35:23 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.lambda$1(CrateEffectModel.java:123) ~[?:?]
    02.07 15:35:23 [Server] INFO at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
    02.07 15:35:23 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.lambda$0(CrateEffectModel.java:122) ~[?:?]
    02.07 15:35:23 [Server] INFO at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
    02.07 15:35:23 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.run(CrateEffectModel.java:120) ~[?:?]
    02.07 15:35:23 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:23 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:23 [Server] INFO at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:23 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
    02.07 15:35:23 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
    02.07 15:35:23 [Server] INFO at java.lang.Thread.run(Thread.java:831) [?:?]
    02.07 15:35:23 [Server] INFO [19:35:23 WARN]: [GoldenCrates] Plugin GoldenCrates v3.11.0 generated an exception while executing task 730
    02.07 15:35:23 [Server] INFO java.lang.NullPointerException: Cannot invoke "org.bukkit.util.Vector.clone()" because "v" is null
    02.07 15:35:23 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$Eruption.doStep(CrateEffectModel.java:217) ~[?:?]
    02.07 15:35:23 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.lambda$1(CrateEffectModel.java:123) ~[?:?]
    02.07 15:35:23 [Server] INFO at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
    02.07 15:35:23 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.lambda$0(CrateEffectModel.java:122) ~[?:?]
    02.07 15:35:23 [Server] INFO at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
    02.07 15:35:23 [Server] INFO at su.nightexpress.goldencrates.manager.crate.CrateEffectModel$MyEffect.run(CrateEffectModel.java:120) ~[?:?]
    02.07 15:35:23 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:23 [Server] INFO at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:23 [Server] INFO at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.17.jar:git-Paper-66]
    02.07 15:35:23 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
    02.07 15:35:23 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
    02.07 15:35:23 [Server] INFO at java.lang.Thread.run(Thread.java:831) [?:?]
     
  17. Hey @NightExpress, i would like to add an sound when players try to open a crate but dont have a key. How could i add this?
     
  18. Will be fixed

    No way atm
     
  19. Crates are not loaded (crates location) on server startup (1.17 git-Paper-71) but when I type "/crates reload" then it loads properly. Idk if you give support on paper

    config:
    Code (Text):
    name: §7Normal crate
    permission-required: false
    template: wander
    preview: columns
    cooldown: 15
    attached-citizens: ''
    open-cost:
      vault: 0.0
      exp: 0
    block:
      locations:
      - 6.0,65.0,0.0,0.0,0.0,spawn
      pushback:
        enabled: true
      hologram:
        enabled: false
        text:
        - §c§lMYSTERY CRATE
        - §7Buy a key at §cwww.myserver.com§c
      effects:
        type: SIMPLE
        particle: SNOW_SHOVEL
    rewards:
      broadcast: false
      min: 1
      max: 3
      list:
        45eeb3e9-d632-4c8d-a68c-63dbd3d1e738:
          name: 'Reward #0'
          chance: 25.0
          cmds: []
          item: 1800020009km800edlkmspb3e9gmct1qchkn4t0a001n8ob71800ep39edo6oobp10008jj1dlig15br49ingt3ic4h3kmrr49h6ur3448t78sjlckm24qbkc5m6iop279j62r3jckm24tbechin4r39dpim88hqcpgmosr55gh76t3id5lmat38e9nnapr848t6cobcediio8jfc9j7asr3c5q6ap1279j62r3jckm24orfdhnn48hq49h6otb548m24t35f1q24eh2ddnn6rb9cdt6su90chkn4t12fleio8jkcls788hq48h7q0000400agrfeln78080
          preview: 1800020009km800edlkmspb3e9gmct1qchkn4t0a001n8ob71800ep39edo6oobp10008jj1dlig15br49ingt3ic4h3kmrr49h6ur3448t78sjlckm24qbkc5m6iop279j62r3jckm24tbechin4r39dpim88hqcpgmosr55gh76t3id5lmat38e9nnapr848t6cobcediio8jfc9j7asr3c5q6ap1279j62r3jckm24orfdhnn48hq49h6otb548m24t35f1q24eh2ddnn6rb9cdt6su90chkn4t12fleio8jkcls788hq48h7q0000400agrfeln78080
    #(there is more rewards)
    key:
      id: normal_key
    item:
      material: CHEST
      amount: 1
      durability: 0
      enchanted: false
      item-flags: []
      unbreakable: false
     
     
  20. provide startup log