Genbucket

dogface321

SpigotVIP
SpigotVIP
Member
How do i add the GenBucket to the shop gui like what are the ids of each bucket cant seem to find them anywhere
 

XDhunterXD

Administrator
MC Models
SpigotVIP
Supporter
Member
Gen buckets have their own shop function, try to use commands within the shopGUI, that might work.

What I’m trying to say is, make two commands within the shopGUI,
1: give x1 gen Bucket.
1: Remove 2000$ from balance.


Only way I can think of this working because the gen bucket plugin doesn’t have an ID, as IDS are only Minecraft resources, the ID would be a normal lava or water bucket.
 

Ragnar Lothbrok

Senior Administrator
Staff
Administrator
MC Models
SpigotVIP
Supporter
Member
Try this. Let me know if it works so I can lock this thread.
Add me on Discord, if you need more detailed help, so we can easily communicate.
Ragnar Lothbrok#1948

Code:
genbuckets:
    name: "Bucket Shop"
    items:
      1:
        type: command
        item:
          material: WATER_BUCKET
          quantity: 1
          damage: 0
          name: 'Gen Bucket'
        commands:
          - "genbucket give %PLAYER% Cobblestone 1"
        buyPrice: 25
        slot: 1
 
BlackSpigot General Chat
Rules Help Users
    I @ iRawstep: Does anyone know if I can change my username?
    Top