SHOPGUI+ Help with purchasing Spawners

Status
This thread has been locked.

iCahillMC25

Feedback score
0
Posts
13
Reactions
3
Resources
0
I have got ShopGUI+ with SilkSpawners, I just would like to know how to make it purchasble for them to buy them. My current code, and current output:


spawners:
name: "&4&lArmor (page %page%)"
fillItem:
material: BLACK_STAINED_GLASS_PANE
name: " "
items:
1:
type: item
item:
material: MOB_SPAWNER
mob: PIG
name: "&dPIG"
quantity: 1
buyPrice: 40
sellPrice: 8
slot: 10

http://prntscr.com/whxbgx
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

JadeStudios

Jade Studios is here!
Premium
Feedback score
8
Posts
252
Reactions
62
Resources
0
I have got ShopGUI+ with SilkSpawners, I just would like to know how to make it purchasble for them to buy them. My current code, and current output:


spawners:
name: "&4&lArmor (page %page%)"
fillItem:
material: BLACK_STAINED_GLASS_PANE
name: " "
items:
1:
type: item
item:
material: MOB_SPAWNER
mob: PIG
name: "&dPIG"
quantity: 1
buyPrice: 40
sellPrice: 8
slot: 10

http://prntscr.com/whxbgx


3:
type: item
item:
material: SPAWNER
mob: SHEEP
name: "&bSheep Spawner"
quantity: 1
buyPrice: 100000
sellPrice: -1
slot: 11
 

Innings

Reputable Seller
Supreme
Feedback score
28
Posts
879
Reactions
267
Resources
0
If you are using silkspawners I always just have it set as a command they are buying, so upon purchase console executes /ss give (name) pig 1
 

iCahillMC25

Feedback score
0
Posts
13
Reactions
3
Resources
0
If you are using silkspawners I always just have it set as a command they are buying, so upon purchase console executes /ss give (name) pig 1
How do I do this?[DOUBLEPOST=1609985769][/DOUBLEPOST]
3:
type: item
item:
material: SPAWNER
mob: SHEEP
name: "&bSheep Spawner"
quantity: 1
buyPrice: 100000
sellPrice: -1
slot: 11
Did not work, sadly.
What are the indents?
http://prntscr.com/whxpov > Error I get
 
Last edited:

Innings

Reputable Seller
Supreme
Feedback score
28
Posts
879
Reactions
267
Resources
0
How do I do this?[DOUBLEPOST=1609985769][/DOUBLEPOST]
Did not work, sadly.
What are the indents?
http://prntscr.com/whxpov > Error I get
833155002d57085bac28b8b7bfd602b5.png
 

Spaget

Configurator
Supreme
Feedback score
9
Posts
39
Reactions
21
Resources
0
Hello Cahill.

Here is the way I recommend doing it. :)


spawners:
name: "Spawners - Page %page%"
fillItem:
material: STAINED_GLASS_PANE
damage: 0
name: " "
buttons:
goBack:
slot: 49
previousPage:
slot: 48
nextPage:
slot: 50
items:
1:
type: item
item:
material: MOB_SPAWNER
mob: PIG
name: "&fPig Spawner"
quantity: 1
buyPrice: 500
sellPrice: -1
slot: 10


Please let me know if you have any questions or if this doesn't work. You can directly contact me @ Spaget#7078.
 

iCahillMC25

Feedback score
0
Posts
13
Reactions
3
Resources
0
Hello Cahill.

Here is the way I recommend doing it. :)


spawners:
name: "Spawners - Page %page%"
fillItem:
material: STAINED_GLASS_PANE
damage: 0
name: " "
buttons:
goBack:
slot: 49
previousPage:
slot: 48
nextPage:
slot: 50
items:
1:
type: item
item:
material: MOB_SPAWNER
mob: PIG
name: "&fPig Spawner"
quantity: 1
buyPrice: 500
sellPrice: -1
slot: 10


Please let me know if you have any questions or if this doesn't work. You can directly contact me @ Spaget#7078.

http://prntscr.com/whyg1b > I added the code and this is what I get.[DOUBLEPOST=1609988833][/DOUBLEPOST]The furthest I have gotten is having it display in the shop but when I press confirm it does nothing... the shop doesn't close, no message. Nothing.
 
Last edited:

Spaget

Configurator
Supreme
Feedback score
9
Posts
39
Reactions
21
Resources
0
What version is your server?
http://prntscr.com/whyg1b > I added the code and this is what I get.[DOUBLEPOST=1609988833][/DOUBLEPOST]The furthest I have gotten is having it display in the shop but when I press confirm it does nothing... the shop doesn't close, no message. Nothing.

Also please send me your spawners.yml
 

iCahillMC25

Feedback score
0
Posts
13
Reactions
3
Resources
0
My server is 1.16.4.


spawners:
name: "Spawners - Page %page%"
fillItem:
material: STAINED_GLASS_PANE
damage: 0
name: " "
buttons:
goBack:
slot: 49
previousPage:
slot: 48
nextPage:
slot: 50
items:
1:
type: item
item:
material: SPAWNER
mob: PIG
name: "&fPig Spawner"
quantity: 1
buyPrice: 500
sellPrice: -1
slot: 10
 

Zed.X

Premium
Feedback score
5
Posts
224
Reactions
25
Resources
0
My server is 1.16.4.


spawners:
name: "Spawners - Page %page%"
fillItem:
material: STAINED_GLASS_PANE
damage: 0
name: " "
buttons:
goBack:
slot: 49
previousPage:
slot: 48
nextPage:
slot: 50
items:
1:
type: item
item:
material: SPAWNER
mob: PIG
name: "&fPig Spawner"
quantity: 1
buyPrice: 500
sellPrice: -1
slot: 10
if you are still looking for help message me on discord [ AodX#7679 ]
 

Rahul.

human
Premium
Feedback score
15
Posts
982
Reactions
275
Resources
2
Code:
  items:
    1:
      type: item
      item:
        material: MOB_SPAWNER
        mob: COW
        name: "&c&nCow Spawner"
        quantity: 1
      buyPrice: 100000
      sellPrice: -1
      slot: 11
 
Status
This thread has been locked.
Top