• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Minecraft 1.16.220 Update + Bug/Crash Fixes
    Added MCPE 1.16.220 version and fixed crashes for multiple plugins. You can view the full changelist here.
  • Forum Updates - 4/11/2021
    Various changes have been made to the forums and a few categories. You can view the full changelist here.

KitShop GUI

Warning!
Hello , there have been no replies in this thread for more than 30 days.
Please make sure you have a valid reason before you reply to this thread or you may face moderation action.
#1
Credits to XXWme for the code
i just edited it to make a KitShop GUI

Feel free to edit it!

cmd create kitshop Buy a Kit!​
cmd add kitshop %gui%[\"type\"] = \"form\"
cmd add kitshop %gui%[\"title\"] = \"§0§lKIT SHOP\"
cmd add kitshop %gui%[\"content\"] = \"Click a button to buy a kit!\"
cmd add kitshop %b0%[\"text\"] = \"§l§1MIDAS §a400\"
cmd add kitshop %b1%[\"text\"] = \"§l§aFIGHTER §a1000\"
cmd add kitshop %b2%[\"text\"] = \"§l§bBEAST §a2000\"
cmd add kitshop %bs%[] = %b0%
cmd add kitshop %bs%[] = %b1%
cmd add kitshop %bs%[] = %b2%
cmd add kitshop %gui%[\"buttons\"] = %bs%
cmd add kitshop %res% = dialog(%p%, %gui%)
cmd add kitshop if %res% = 0 then goto 40
cmd add kitshop if %res% = 1 then goto 50
cmd add kitshop if %res% = 1 then goto 60
cmd add kitshop exit
cmd insert kitshop 40 %mybal% = playerbalance(%p%)
cmd add kitshop if %mybal% > 399 then goto 44
cmd add kitshop message %p% §cNot Enough Money To Buy A Kit!
cmd add kitshop exit
cmd add kitshop ascon /takemoney %p% 400
cmd add kitshop ascon /kitgive Midas %p%
cmd add kitshop message %p% §aPurchase successful!
cmd add kitshop exit
cmd insert kitshop 50 %mybal% = playerbalance(%p%)
cmd add kitshop if %mybal% > 999 then goto 54
cmd add kitshop message %p% §cNot enough money to buy a Kit!
cmd add kitshop exit
cmd add kitshop ascon /takemoney %p% 1000
cmd add kitshop ascon /kitgive Fighter %p%
cmd add kitshop message %p% §aPurchase successful!
cmd add kitshop exit
cmd insert kitshop 60 %mybal% = playerbalance(%p%)
cmd add kitshop if %mybal% > 1999 then goto 64
cmd add kitshop message %p% §cNot enough money to buy a Kit!
cmd add kitshop exit
cmd add kitshop ascon /takemoney %p% 2000
cmd add kitshop ascon /kitgive Beast %p%
cmd add kitshop message %p% §aPurchase successful!
cmd add kitshop exit

Forgot to Mention
: Economy

Plugins You Need
MadCommand
Kits
 

XXWme

Tree Puncher
#2
Aye in ur kitshop u put cmd add kitshop if %res% = 1 then goto 60 instead of 2
XD i made the same mistake.