ShopGUIPlus Spawners help

Status
This thread has been locked.

Asodey

This title is for sale, dm me
Premium
Feedback score
75
Posts
1,530
Reactions
645
Resources
6
this is my spawners section in the shop:
NOTE THAT I AM USING SILKSPAWNERS WHICH IS ENABLED AND WORKS PROPERLY.
Code:
  test:
    name: "&8Spawners"
    size: 36
    buttons:
      goBack:
        slot: 31
    items:
      1:
        type: item
        item:
          spawner: true
          mob: ZOMBIE
          name: "&cZombie &fSpawner"
          quantity: 1
        buyPrice: 50000
        sellPrice: -1
        slot: 0
      2:
        type: item
        item:
          spawner: true
          mob: SPIDER
          name: "&cSpider &fSpawner"
          quantity: 1
        buyPrice: 75000
        sellPrice: -1
        slot: 1
      3:
        type: item
        item:
          spawner: true
          mob: SKELETON
          name: "&cSkeleton &fspawner"
          quantity: 1
        buyPrice: 100000
        sellPrice: -1
        slot: 2
      4:
        type: item
        item:
          spawner: true
          mob: BLAZE
          name: "&cBlaze &fspawner"
          quantity: 1
        buyPrice: 600000
        sellPrice: -1
        slot: 3
      5:
        type: item
        item:
          spawner: true
          mob: CREEPER
          name: "&cCreeper &fspawner"
          quantity: 1
        buyPrice: 1000000
        sellPrice: -1
        slot: 4
      6:
        type: item
        item:
          spawner: true
          mob: VillagerGolem
          name: "&cIron Golem &fspawner"
          quantity: 1
        buyPrice: 1000000
        sellPrice: -1
        slot: 5
      7:
        type: item
        item:
          spawner: true
          mob: ENDERMAN
          name: "&cEnderman &fspawner"
          quantity: 1
        buyPrice: 2500000
        sellPrice: -1
        slot: 6
      8:
        type: item
        item:
          spawner: true
          mob: WITCH
          name: "&cWitch &fspawner"
          quantity: 1
        buyPrice: 3000000
        sellPrice: -1
        slot: 7
      9:
        type: item
        item:
          spawner: true
          mob: PIGZOMBIE
          name: "&cZombie Pigman &fspawner"
          quantity: 1
        buyPrice: 5000000
        sellPrice: -1
        slot: 8

the error code I am getting:
Code:
> [01:03:03 INFO]: Brank issued server command: /shop reload
> [01:03:03 INFO]: [ShopGUIPlus] No external spawner plugins registered, using built-in spawners support!
> [01:03:03 INFO]: [ShopGUIPlus] Loaded 11 main menu items!
> [01:03:04 WARN]: [ShopGUIPlus] Error occurred when loading test > 1 (shops.yml), item not loaded
> [01:03:04 WARN]: [ShopGUIPlus] Error occurred when loading test > 2 (shops.yml), item not loaded
> [01:03:04 WARN]: [ShopGUIPlus] Error occurred when loading test > 3 (shops.yml), item not loaded
> [01:03:04 WARN]: [ShopGUIPlus] Error occurred when loading test > 4 (shops.yml), item not loaded
> [01:03:04 WARN]: [ShopGUIPlus] Error occurred when loading test > 5 (shops.yml), item not loaded
> [01:03:04 WARN]: [ShopGUIPlus] Error occurred when loading test > 6 (shops.yml), item not loaded
> [01:03:04 WARN]: [ShopGUIPlus] Error occurred when loading test > 7 (shops.yml), item not loaded
> [01:03:04 WARN]: [ShopGUIPlus] Error occurred when loading test > 8 (shops.yml), item not loaded
> [01:03:04 WARN]: [ShopGUIPlus] Error occurred when loading test > 9 (shops.yml), item not loaded
> [01:03:04 INFO]: [ShopGUIPlus] Loaded 11 shops with total of 232 items!
> [01:03:10 INFO]: Brank issued server command: /shop
> [01:03:11 WARN]: [ShopGUIPlus] Task #554 for ShopGUIPlus v1.20.6 generated an exception
java.lang.NullPointerException
at org.bukkit.craftbukkit.v1_8_R3.entity.CraftHumanEntity.openInventory(CraftHumanEntity.java:176) ~[server.jar:git-TacoSpigot-04511af6]
at net.brcdev.shopgui.util.InventoryUtils.lambda$openInventory$1(InventoryUtils.java:56) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:63) ~[server.jar:git-TacoSpigot-04511af6]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:371) [server.jar:git-TacoSpigot-04511af6]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:818) [server.jar:git-TacoSpigot-04511af6]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:818) [server.jar:git-TacoSpigot-04511af6]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:748) [server.jar:git-TacoSpigot-04511af6]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:649) [server.jar:git-TacoSpigot-04511af6]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

any thoughts?
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Asodey

This title is for sale, dm me
Premium
Feedback score
75
Posts
1,530
Reactions
645
Resources
6
Remove the -1 in the sell price section and leave it blank. That might fix it :)
I will try this once I am on my pc, will update you![DOUBLEPOST=1571649353][/DOUBLEPOST]
Remove the -1 in the sell price section and leave it blank. That might fix it :)
Done, did not work, same error. Any other thoughts?
 
Last edited:

huntingzap

Join SMP - cubecadia.net
Premium
Feedback score
-1
Posts
16
Reactions
7
Resources
0
This is what my config looks like. I'm also using an older version of shopgui. I'm using 1.18.5 of shopgui.
Maybe this might help. Not sure. Hope you find a solution D:
Code:
      2:
        type: item
        item:
          mob: Chicken
          name: "&bChicken &7Spawner"
          spawner: true
          quantity: 1
        buyPrice: 50000
        sellPrice:
        slot: 2
      3:
        type: item
        item:
          mob: Pig
          name: "&bPig &7Spawner"
          spawner: true
          quantity: 1
        buyPrice: 75000
        sellPrice:
        slot: 3

It could possibly be the order you have the config also. Try to make it look like mine
 
Last edited:
Status
This thread has been locked.
Top