Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Logo: &e[&6TeamTC&e]
- command /shop:
- trigger:
- open chest with 3 rows named " &e[&6TeamTC&e] &aShop" to player
- wait 1 tick
- format slot 0 of player with diamond named "&bDiamonds" with lore "&aClick to view options." to close then run "sudo %player% redirect 1"
- format slot 1 of player with emerald named "&bEmeralds" with lore "&aClick to view options." to close then run "sudo %player% redirect 2"
- format slot 2 of player with gold ingot named "&bGold Ingots" with lore "&aClick to view options." to close then run "sudo %player% redirect 3"
- format slot 3 of player with iron ingot named "&bIron Ingots" with lore "&aClick to view options." to close then run "sudo %player% redirect 4"
- format slot 4 of player with lapis named "&bLapis Lazuli" with lore "&aClick to view options." to close then run "sudo %player% redirect 5"
- format slot 5 of player with nether quartz item named "&bNether Quartz" with lore "&aClick to view options." to close then run "sudo %player% redirect 6"
- format slot 6 of player with redstone named "&bRedstone" with lore "&aClick to view options." to close then run "sudo %player% redirect 7"
- format slot 7 of player with coal item named "&bCoal" with lore "&aClick to view options." to close then run "sudo %player% redirect 8"
- format slot 8 of player with ghast tear named "&bGhast Tears" with lore "&aClick to view options." to close then run "sudo %player% redirect 9"
- format slot 9 of player with gunpowder named "&bGunpowder" with lore "&aClick to view options." to close then run "sudo %player% redirect 10"
- format slot 10 of player with glowstone dust named "&bGlowstone Dust" with lore "&aClick to view options." to close then run "sudo %player% redirect 11"
- format slot 11 of player with slimeball named "&bSlimeballs" with lore "&aClick to view options." to close then run "sudo %player% redirect 12"
- format slot 12 of player with clay ball named "&bClay Balls" with lore "&aClick to view options." to close then run "sudo %player% redirect 13"
- format slot 13 of player with saddle named "&bSaddles" with lore "&aClick to view options." to close then run "sudo %player% redirect 14"
- format slot 14 of player with iron horse armor named "&bIron Horse Armor" with lore "&aClick to view options." to close then run "sudo %player% redirect 15"
- format slot 15 of player with gold horse armor named "&bGold Horse Armor" with lore "&aClick to view options." to close then run "sudo %player% redirect 16"
- format slot 16 of player with diamond horse armor named "&bDiamond Horse Armor" with lore "&aClick to view options." to close then run "sudo %player% redirect 17"
- format slot 26 of player with chest named "&bDonation Ranks" with lore "&aClick to view packages." to close then run "sudo %player% donate"
- format slot 17 of player with snowball of unbreaking 10 named "&bRandom Items(s)" with lore "&cNot Added yet.||&cNot added yet.||&cNot added yet." to close then run "sudo %player% oftherandom"
- command /redirect <text>:
- trigger:
- wait 1 tick
- if argument 1 is "1":
- open chest with 3 rows named "&aDiamonds" to player
- wait 1 tick
- format slot 2 of player with 4 diamonds named "&a4 diamonds" with lore "&2Purchase||&a$2,000" to close then run "sudo %player% purchase 1"
- format slot 5 of player with 8 diamonds named "&a8 diamonds" with lore "&2Purchase||&a$4,000" to close then run "sudo %player% purchase 2"
- format slot 20 of player with 12 diamonds named "&a12 diamonds" with lore "&2Purchase||&a$6,000" to close then run "sudo %player% purchase 3"
- format slot 23 of player with 16 diamonds named "&a16 diamonds" with lore "&2Purchase||&a$8,000" to close then run "sudo %player% purchase 4"
- format slot 3 of player with 4 diamonds named "&c4 diamonds" with lore "&3Sell||&b$1,000" to close then run "sudo %player% sell 1"
- format slot 6 of player with 8 diamonds named "&c8 diamonds" with lore "&3Sell||&b$2,000" to close then run "sudo %player% sell 2"
- format slot 21 of player with 12 diamonds named "&c12 diamonds" with lore "&3Sell||&b$3,000" to close then run "sudo %player% sell 3"
- format slot 24 of player with 16 diamonds named "&c16 diamonds" with lore "&3Sell||&b$4,000" to close then run "sudo %player% sell 4"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "2":
- open chest with 3 rows named "&aEmeralds" to player
- wait 1 tick
- format slot 2 of player with 4 emeralds named "&a4 emeralds" with lore "&2Purchase||&a$600" to close then run "sudo %player% purchase 5"
- format slot 5 of player with 8 emeralds named "&a8 emeralds" with lore "&2Purchase||&a$1,200" to close then run "sudo %player% purchase 6"
- format slot 20 of player with 12 emeralds named "&a12 emeralds" with lore "&2Purchase||&a$1,800" to close then run "sudo %player% purchase 7"
- format slot 23 of player with 16 emeralds named "&a16 emeralds" with lore "&2Purchase||&a$2,400" to close then run "sudo %player% purchase 8"
- format slot 3 of player with 4 emeralds named "&c4 emeralds" with lore "&3Sell||&b$200" to close then run "sudo %player% sell 5"
- format slot 6 of player with 8 emeralds named "&c8 emeralds" with lore "&3Sell||&b$400" to close then run "sudo %player% sell 6"
- format slot 21 of player with 12 emeralds named "&c12 emeralds" with lore "&3Sell||&b$600" to close then run "sudo %player% sell 7"
- format slot 24 of player with 16 emeralds named "&c16 emeralds" with lore "&3Sell||&b$800" to close then run "sudo %player% sell 8"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "3":
- open chest with 3 rows named "&aGold Ingots" to player
- wait 1 tick
- format slot 2 of player with 16 gold ingots named "&a16 Gold Ingots" with lore "&2Purchase||&a$800" to close then run "sudo %player% purchase 9"
- format slot 5 of player with 32 gold ingots named "&a32 Gold Ingots" with lore "&2Purchase||&a$1,600" to close then run "sudo %player% purchase 10"
- format slot 20 of player with 48 gold ingots named "&a48 Gold Ingots" with lore "&2Purchase||&a$2,400" to close then run "sudo %player% purchase 11"
- format slot 23 of player with 64 gold ingots named "&a64 Gold Ingots" with lore "&2Purchase||&a$3,200" to close then run "sudo %player% purchase 12"
- format slot 3 of player with 16 gold ingots named "&c16 Gold Ingots" with lore "&3Sell||&b$300" to close then run "sudo %player% sell 9"
- format slot 6 of player with 32 gold ingots named "&c32 Gold Ingots" with lore "&3Sell||&b$600" to close then run "sudo %player% sell 10"
- format slot 21 of player with 48 gold ingots named "&c48 Gold Ingots" with lore "&3Sell||&b$900" to close then run "sudo %player% sell 11"
- format slot 24 of player with 64 gold ingots named "&c64 Gold Ingots" with lore "&3Sell||&b$1,200" to close then run "sudo %player% sell 12"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "4":
- open chest with 3 rows named "&aIron Ingots" to player
- wait 1 tick
- format slot 2 of player with 16 iron ingots named "&a16 Iron Ingots" with lore "&2Purchase||&a$400" to close then run "sudo %player% purchase 13"
- format slot 5 of player with 32 iron ingots named "&a32 Iron Ingots" with lore "&2Purchase||&a$800" to close then run "sudo %player% purchase 14"
- format slot 20 of player with 48 iron ingots named "&a48 Iron Ingots" with lore "&2Purchase||&a$1,200" to close then run "sudo %player% purchase 15"
- format slot 23 of player with 64 iron ingots named "&a64 Iron Ingots" with lore "&2Purchase||&a$1,600" to close then run "sudo %player% purchase 16"
- format slot 3 of player with 16 iron ingots named "&c16 Iron Ingots" with lore "&3Sell||&b$150" to close then run "sudo %player% sell 13"
- format slot 6 of player with 32 iron ingots named "&c32 Iron Ingots" with lore "&3Sell||&b$300" to close then run "sudo %player% sell 14"
- format slot 21 of player with 48 iron ingots named "&c48 Iron Ingots" with lore "&3Sell||&b$450" to close then run "sudo %player% sell 15"
- format slot 24 of player with 64 iron ingots named "&c64 Iron Ingots" with lore "&3Sell||&b$600" to close then run "sudo %player% sell 16"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "5":
- open chest with 3 rows named "&aLapis Lazuli" to player
- wait 1 tick
- format slot 2 of player with 16 lapis named "&a16 Lapis Lazuli" with lore "&2Purchase||&a$100" to close then run "sudo %player% purchase 17"
- format slot 5 of player with 32 lapis named "&a32 Lapis Lazuli" with lore "&2Purchase||&a$200" to close then run "sudo %player% purchase 18"
- format slot 20 of player with 48 lapis named "&a48 Lapis Lazuli" with lore "&2Purchase||&a$300" to close then run "sudo %player% purchase 19"
- format slot 23 of player with 64 lapis named "&a64 Lapis Lazuli" with lore "&2Purchase||&a$400" to close then run "sudo %player% purchase 20"
- format slot 3 of player with 16 lapis named "&c16 Lapis Lazuli" with lore "&3Sell||&b$50" to close then run "sudo %player% sell 17"
- format slot 6 of player with 32 lapis named "&c32 Lapis Lazuli" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 18"
- format slot 21 of player with 48 lapis named "&c48 Lapis Lazuli" with lore "&3Sell||&b$150" to close then run "sudo %player% sell 19"
- format slot 24 of player with 64 lapis named "&c64 Lapis Lazuli" with lore "&3Sell||&b$200" to close then run "sudo %player% sell 20"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "6":
- open chest with 3 rows named "&aNether Quartz" to player
- wait 1 tick
- format slot 2 of player with 16 nether quartz item named "&a16 Nether Quartz" with lore "&2Purchase||&a$150" to close then run "sudo %player% purchase 21"
- format slot 5 of player with 32 nether quartz item named "&a32 Nether Quartz" with lore "&2Purchase||&a$300" to close then run "sudo %player% purchase 22"
- format slot 20 of player with 48 nether quartz item named "&a48 Nether Quartz" with lore "&2Purchase||&a$450" to close then run "sudo %player% purchase 23"
- format slot 23 of player with 64 nether quartz item named "&a64 Nether Quartz" with lore "&2Purchase||&a$600" to close then run "sudo %player% purchase 24"
- format slot 3 of player with 16 nether quartz item named "&c16 Nether Quartz" with lore "&3Sell||&b$75" to close then run "sudo %player% sell 21"
- format slot 6 of player with 32 nether quartz item named "&c32 Nether Quartz" with lore "&3Sell||&b$150" to close then run "sudo %player% sell 22"
- format slot 21 of player with 48 nether quartz item named "&c48 Nether Quartz" with lore "&3Sell||&b$225" to close then run "sudo %player% sell 23"
- format slot 24 of player with 64 nether quartz item named "&c64 Nether Quartz" with lore "&3Sell||&b$300" to close then run "sudo %player% sell 24"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "7":
- open chest with 3 rows named "&aRedstone" to player
- wait 1 tick
- format slot 2 of player with 16 redstone named "&a16 Redstone" with lore "&2Purchase||&a$50" to close then run "sudo %player% purchase 25"
- format slot 5 of player with 32 redstone named "&a32 Redstone" with lore "&2Purchase||&a$100" to close then run "sudo %player% purchase 26"
- format slot 20 of player with 48 redstone named "&a48 Redstone" with lore "&2Purchase||&a$150" to close then run "sudo %player% purchase 27"
- format slot 23 of player with 64 redstone named "&a64 Redstone" with lore "&2Purchase||&a$200" to close then run "sudo %player% purchase 28"
- format slot 3 of player with 16 redstone named "&c16 Redstone" with lore "&3Sell||&b$25" to close then run "sudo %player% sell 25"
- format slot 6 of player with 32 redstone named "&c32 Redstone" with lore "&3Sell||&b$50" to close then run "sudo %player% sell 26"
- format slot 21 of player with 48 redstone named "&c48 Redstone" with lore "&3Sell||&b$75" to close then run "sudo %player% sell 27"
- format slot 24 of player with 64 redstone named "&c64 Redstone" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 28"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "8":
- open chest with 3 rows named "&aCoal" to player
- wait 1 tick
- format slot 2 of player with 16 coal item named "&a16 Coal" with lore "&2Purchase||&a$50" to close then run "sudo %player% purchase 29"
- format slot 5 of player with 32 coal item named "&a32 Coal" with lore "&2Purchase||&a$100" to close then run "sudo %player% purchase 30"
- format slot 20 of player with 48 coal item named "&a48 Coal" with lore "&2Purchase||&a$150" to close then run "sudo %player% purchase 31"
- format slot 23 of player with 64 coal item named "&a64 Coal" with lore "&2Purchase||&a$200" to close then run "sudo %player% purchase 32"
- format slot 3 of player with 16 coal item named "&c16 Coal" with lore "&3Sell||&b$15" to close then run "sudo %player% sell 29"
- format slot 6 of player with 32 coal item named "&c32 Coal" with lore "&3Sell||&b$30" to close then run "sudo %player% sell 30"
- format slot 21 of player with 48 coal item named "&c48 Coal" with lore "&3Sell||&b$45" to close then run "sudo %player% sell 31"
- format slot 24 of player with 64 coal item named "&c64 Coal" with lore "&3Sell||&b$60" to close then run "sudo %player% sell 32"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "9":
- open chest with 3 rows named "&aGhast Tears" to player
- wait 1 tick
- format slot 2 of player with 3 ghast tears named "&a3 Ghast Tear" with lore "&2Purchase||&a$450" to close then run "sudo %player% purchase 33"
- format slot 5 of player with 6 ghast tears named "&a6 Ghast Tear" with lore "&2Purchase||&a$900" to close then run "sudo %player% purchase 34"
- format slot 20 of player with 9 ghast tears named "&a9 Ghast Tear" with lore "&2Purchase||&a$1,350" to close then run "sudo %player% purchase 35"
- format slot 23 of player with 12 ghast tears named "&a12 Ghast Tear" with lore "&2Purchase||&a$1,800" to close then run "sudo %player% purchase 36"
- format slot 3 of player with 3 ghast tears named "&c3 Ghast Tear" with lore "&3Sell||&b$300" to close then run "sudo %player% sell 33"
- format slot 6 of player with 6 ghast tears named "&c6 Ghast Tear" with lore "&3Sell||&b$600" to close then run "sudo %player% sell 34"
- format slot 21 of player with 9 ghast tears named "&c9 Ghast Tear" with lore "&3Sell||&b$900" to close then run "sudo %player% sell 35"
- format slot 24 of player with 12 ghast tears named "&c12 Ghast Tear" with lore "&3Sell||&b$1,200" to close then run "sudo %player% sell 36"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "10":
- open chest with 3 rows named "&aRedstone" to player
- wait 1 tick
- format slot 2 of player with 16 gunpowder named "&a16 Gunpowder" with lore "&2Purchase||&a$50" to close then run "sudo %player% purchase 37"
- format slot 5 of player with 32 gunpowder named "&a32 Gunpowder" with lore "&2Purchase||&a$100" to close then run "sudo %player% purchase 38"
- format slot 20 of player with 48 gunpowder named "&a48 Gunpowder" with lore "&2Purchase||&a$150" to close then run "sudo %player% purchase 39"
- format slot 23 of player with 64 gunpowder named "&a64 Runpowder" with lore "&2Purchase||&a$200" to close then run "sudo %player% purchase 40"
- format slot 3 of player with 16 gunpowder named "&c16 Gunpowder" with lore "&3Sell||&b$25" to close then run "sudo %player% sell 37"
- format slot 6 of player with 32 gunpowder named "&c32 Gunpowder" with lore "&3Sell||&b$50" to close then run "sudo %player% sell 38"
- format slot 21 of player with 48 gunpowder named "&c48 Gunpower" with lore "&3Sell||&b$75" to close then run "sudo %player% sell 39"
- format slot 24 of player with 64 gunpowder named "&c64 Gunpowder" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 40"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "11":
- open chest with 3 rows named "&aGlowstone Dust" to player
- wait 1 tick
- format slot 2 of player with 16 glowstone dust named "&a16 Glowstone Dust" with lore "&2Purchase||&a$80" to close then run "sudo %player% purchase 41"
- format slot 5 of player with 32 glowstone dust named "&a32 Glowstone Dust" with lore "&2Purchase||&a$160" to close then run "sudo %player% purchase 42"
- format slot 20 of player with 48 glowstone dust named "&a48 Glowstone Dust" with lore "&2Purchase||&a$240" to close then run "sudo %player% purchase 43"
- format slot 23 of player with 64 glowstone dust named "&a64 Glowstone Dust" with lore "&2Purchase||&a$320" to close then run "sudo %player% purchase 44"
- format slot 3 of player with 16 glowstone dust named "&c16 Glowstone Dust" with lore "&3Sell||&b$40" to close then run "sudo %player% sell 41"
- format slot 6 of player with 32 glowstone dust named "&c32 Glowstone Dust" with lore "&3Sell||&b$80" to close then run "sudo %player% sell 42"
- format slot 21 of player with 48 glowstone dust named "&c48 Glowstone Dust" with lore "&3Sell||&b$120" to close then run "sudo %player% sell 43"
- format slot 24 of player with 64 glowstone dust named "&c64 Glowstone Dust" with lore "&3Sell||&b$160" to close then run "sudo %player% sell 44"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "12":
- open chest with 3 rows named "&aSlimeballs" to player
- wait 1 tick
- format slot 2 of player with 16 slimeballs named "&a16 Slimeball" with lore "&2Purchase||&a$100" to close then run "sudo %player% purchase 45"
- format slot 5 of player with 32 slimeballs named "&a32 Slimeball" with lore "&2Purchase||&a$200" to close then run "sudo %player% purchase 46"
- format slot 20 of player with 48 slimeballs named "&a48 Slimeball" with lore "&2Purchase||&a$300" to close then run "sudo %player% purchase 47"
- format slot 23 of player with 64 slimeballs named "&a64 Slimeball" with lore "&2Purchase||&a$400" to close then run "sudo %player% purchase 48"
- format slot 3 of player with 16 slimeballs named "&c16 Slimeball" with lore "&3Sell||&b$50" to close then run "sudo %player% sell 45"
- format slot 6 of player with 32 slimeballs named "&c32 Slimeball" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 46"
- format slot 21 of player with 48 slimeballs named "&c48 Slimeball" with lore "&3Sell||&b$150" to close then run "sudo %player% sell 47"
- format slot 24 of player with 64 slimeballs named "&c64 Slimeball" with lore "&3Sell||&b$200" to close then run "sudo %player% sell 48"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "13":
- open chest with 3 rows named "&aClay" to player
- wait 1 tick
- format slot 2 of player with 16 clay balls named "&a16 Clay Ball" with lore "&2Purchase||&a$50" to close then run "sudo %player% purchase 49"
- format slot 5 of player with 32 clay balls named "&a32 Clay Ball" with lore "&2Purchase||&a$100" to close then run "sudo %player% purchase 50"
- format slot 20 of player with 48 clay balls named "&a48 Clay Ball" with lore "&2Purchase||&a$150" to close then run "sudo %player% purchase 51"
- format slot 23 of player with 64 clay balls named "&a64 Clay Ball" with lore "&2Purchase||&a$200" to close then run "sudo %player% purchase 52"
- format slot 3 of player with 16 clay balls named "&c16 Clay Ball" with lore "&3Sell||&b$25" to close then run "sudo %player% sell 49"
- format slot 6 of player with 32 clay balls named "&c32 Clay Ball" with lore "&3Sell||&b$50" to close then run "sudo %player% sell 50"
- format slot 21 of player with 48 clay balls named "&c48 Clay Ball" with lore "&3Sell||&b$75" to close then run "sudo %player% sell 51"
- format slot 24 of player with 64 clay balls named "&c64 Clay Ball" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 52"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "14":
- wait 1 tick
- open chest with 3 rows named "&aSaddles" to player
- wait 1 tick
- format slot 2 of player with 1 saddle named "&a1 Saddle" with lore "&2Purchase||&a$500" to close then run "sudo %player% purchase 53"
- format slot 5 of player with 2 saddles named "&a2 Saddles" with lore "&2Purchase||&a$1,000" to close then run "sudo %player% purchase 54"
- format slot 20 of player with 3 saddles named "&a3 Saddles" with lore "&2Purchase||&a$1,500" to close then run "sudo %player% purchase 55"
- format slot 23 of player with 4 saddles named "&a4 Saddles" with lore "&2Purchase||&a$2,000" to close then run "sudo %player% purchase 56"
- format slot 3 of player with 1 saddles named "&c1 Saddles" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 53"
- format slot 6 of player with 2 saddles named "&c2 Saddles" with lore "&3Sell||&b$200" to close then run "sudo %player% sell 54"
- format slot 21 of player with 3 saddles named "&c3 Saddles" with lore "&3Sell||&b$300" to close then run "sudo %player% sell 55"
- format slot 24 of player with 4 saddles named "&c4 Saddles" with lore "&3Sell||&b$400" to close then run "sudo %player% sell 56"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "15":
- open chest with 3 rows named "&aIron Horse Armor" to player
- wait 1 tick
- format slot 2 of player with 1 iron horse armor named "&a1 Iron Horse Armor" with lore "&2Purchase||&a$300" to close then run "sudo %player% purchase 57"
- format slot 5 of player with 2 iron horse armor named "&a2 Iron Horse Armor" with lore "&2Purchase||&a$600" to close then run "sudo %player% purchase 58"
- format slot 20 of player with 3 iron horse armor named "&a3 Iron Horse Armor" with lore "&2Purchase||&a$900" to close then run "sudo %player% purchase 59"
- format slot 23 of player with 4 iron horse armor named "&a4 Iron Horse Armor" with lore "&2Purchase||&a$1,200" to close then run "sudo %player% purchase 60"
- format slot 3 of player with 1 iron horse armor named "&c1 Iron Horse Armor" with lore "&3Sell||&b$50" to close then run "sudo %player% sell 57"
- format slot 6 of player with 2 iron horse armor named "&c2 Iron Horse Armor" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 58"
- format slot 21 of player with 3 iron horse armor named "&c3 Iron Horse Armor" with lore "&3Sell||&b$150" to close then run "sudo %player% sell 59"
- format slot 24 of player with 4 iron horse armor named "&c4 Iron Horse Armor" with lore "&3Sell||&b$200" to close then run "sudo %player% sell 60"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "16":
- open chest with 3 rows named "&aGold Horse Armor" to player
- wait 1 tick
- format slot 2 of player with 1 gold horse armor named "&a1 Gold Horse Armor" with lore "&2Purchase||&a$500" to close then run "sudo %player% purchase 61"
- format slot 5 of player with 2 gold horse armor named "&a2 Gold Horse Armor" with lore "&2Purchase||&a$1,000" to close then run "sudo %player% purchase 62"
- format slot 20 of player with 3 gold horse armor named "&a3 Gold Horse Armor" with lore "&2Purchase||&a$1,500" to close then run "sudo %player% purchase 63"
- format slot 23 of player with 4 gold horse armor named "&a4 Gold Horse Armor" with lore "&2Purchase||&a$2,000" to close then run "sudo %player% purchase 64"
- format slot 3 of player with 1 gold horse armor named "&c1 Gold Horse Armor" with lore "&3Sell||&b$80" to close then run "sudo %player% sell 61"
- format slot 6 of player with 2 gold horse armor named "&c2 Gold Horse Armor" with lore "&3Sell||&b$160" to close then run "sudo %player% sell 62"
- format slot 21 of player with 3 gold horse armor named "&c3 Gold Horse Armor" with lore "&3Sell||&b$240" to close then run "sudo %player% sell 63"
- format slot 24 of player with 4 gold horse armor named "&c4 Gold Horse Armor" with lore "&3Sell||&b$320" to close then run "sudo %player% sell 64"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- if argument 1 is "17":
- open chest with 3 rows named "&aIron Horse Armor" to player
- wait 1 tick
- format slot 2 of player with 1 diamond horse armor named "&a1 Diamond Horse Armor" with lore "&2Purchase||&a$1,000" to close then run "sudo %player% purchase 65"
- format slot 5 of player with 2 diamond horse armor named "&a2 Diamond Horse Armor" with lore "&2Purchase||&a$2,000" to close then run "sudo %player% purchase 66"
- format slot 20 of player with 3 diamond horse armor named "&a3 Diamond Horse Armor" with lore "&2Purchase||&a$3,000" to close then run "sudo %player% purchase 67"
- format slot 23 of player with 4 diamond horse armor named "&a4 Diamond Horse Armor" with lore "&2Purchase||&a$4,000" to close then run "sudo %player% purchase 68"
- format slot 3 of player with 1 diamond horse armor named "&c1 Diamond Horse Armor" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 65"
- format slot 6 of player with 2 diamond horse armor named "&c2 Diamond Horse Armor" with lore "&3Sell||&b$200" to close then run "sudo %player% sell 66"
- format slot 21 of player with 3 diamond horse armor named "&c3 Diamond Horse Armor" with lore "&3Sell||&b$300" to close then run "sudo %player% sell 67"
- format slot 24 of player with 4 diamond horse armor named "&c4 Diamond Horse Armor" with lore "&3Sell||&b$400" to close then run "sudo %player% sell 68"
- format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
- command /purchase <text>:
- trigger:
- wait 1 tick
- if argument 1 is "1":
- if balance of player is less than 2000:
- send "&cYou do not have enough money to purchase 4 diamonds!"
- make the player execute command "redirect 1"
- stop
- else:
- if player cannot hold 4 diamonds:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 4 diamonds to the player
- send "&aSuccessfully purchased 4 diamonds!"
- remove 2000 from the player's balance
- make the player execute command "redirect 1"
- if argument 1 is "2":
- if balance of player is less than 4000:
- send "&cYou do not have enough money to purchase 8 diamonds!"
- make the player execute command "redirect 1"
- stop
- else:
- if player cannot hold 8 diamonds:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 8 diamonds to the player
- send "&aSuccessfully purchased 8 diamonds!"
- remove 4000 from the player's balance
- make the player execute command "redirect 1"
- if argument 1 is "3":
- if balance of player is less than 6000:
- send "&cYou do not have enough money to purchase 12 diamonds!"
- make the player execute command "redirect 1"
- stop
- else:
- if player cannot hold 12 diamonds:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 12 diamonds to the player
- send "&aSuccessfully purchased 12 diamonds!"
- remove 6000 from the player's balance
- make the player execute command "redirect 1"
- if argument 1 is "4":
- if balance of player is less than 8000:
- send "&cYou do not have enough money to purchase 16 diamonds!"
- make the player execute command "redirect 1"
- stop
- else:
- if player cannot hold 16 diamonds:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 16 diamonds to the player
- send "&aSuccessfully purchased 16 diamonds!"
- remove 8000 from the player's balance
- make the player execute command "redirect 1"
- if argument 1 is "5":
- if balance of player is less than 600:
- send "&cYou do not have enough money to purchase 4 emeralds!"
- make the player execute command "redirect 2"
- stop
- else:
- if player cannot hold 4 emeralds:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 4 emeralds to the player
- send "&aSuccessfully purchased 4 emeralds!"
- remove 600 from the player's balance
- make the player execute command "redirect 2"
- if argument 1 is "6":
- if balance of player is less than 1200:
- send "&cYou do not have enough money to purchase 8 emeralds!"
- make the player execute command "redirect 2"
- stop
- else:
- if player cannot hold 8 emeralds:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 8 emeralds to the player
- send "&aSuccessfully purchased 8 emeralds!"
- remove 1200 from the player's balance
- make the player execute command "redirect 2"
- if argument 1 is "7":
- if balance of player is less than 1800:
- send "&cYou do not have enough money to purchase 12 emeralds!"
- make the player execute command "redirect 2"
- stop
- else:
- if player cannot hold 12 emeralds:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 12 emeralds to the player
- send "&aSuccessfully purchased 12 emeralds!"
- remove 1800 from the player's balance
- make the player execute command "redirect 2"
- if argument 1 is "8":
- if balance of player is less than 2400:
- send "&cYou do not have enough money to purchase 16 emeralds!"
- make the player execute command "redirect 2"
- stop
- else:
- if player cannot hold 16 emeralds:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 16 emeralds to the player
- send "&aSuccessfully purchased 16 emeralds!"
- remove 2400 from the player's balance
- make the player execute command "redirect 2"
- if argument 1 is "9":
- if balance of player is less than 800:
- send "&cYou do not have enough money to purchase 16 gold ingots!"
- make the player execute command "redirect 3"
- stop
- else:
- if player cannot hold 16 gold ingots:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 16 gold ingots to the player
- send "&aSuccessfully purchased 16 gold ingots!"
- remove 800 from the player's balance
- make the player execute command "redirect 3"
- if argument 1 is "10":
- if balance of player is less than 1600:
- send "&cYou do not have enough money to purchase 32 gold ingots!"
- make the player execute command "redirect 3"
- stop
- else:
- if player cannot hold 32 gold ingots:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 32 gold ingots to the player
- send "&aSuccessfully purchased 32 gold ingots!"
- remove 1600 from the player's balance
- make the player execute command "redirect 3"
- if argument 1 is "11":
- if balance of player is less than 2400:
- send "&cYou do not have enough money to purchase 48 gold ingots!"
- make the player execute command "redirect 3"
- stop
- else:
- if player cannot hold 48 gold ingots:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 48 gold ingots to the player
- send "&aSuccessfully purchased 48 gold ingots!"
- remove 2400 from the player's balance
- make the player execute command "redirect 3"
- if argument 1 is "12":
- if balance of player is less than 3200:
- send "&cYou do not have enough money to purchase 64 gold ingots!"
- make the player execute command "redirect 3"
- stop
- else:
- if player cannot hold 64 gold ingots:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 64 gold ingots to the player
- send "&aSuccessfully purchased 64 gold ingots!"
- remove 3200 from the player's balance
- make the player execute command "redirect 3"
- if argument 1 is "13":
- if balance of player is less than 400:
- send "&cYou do not have enough money to purchase 16 iron ingots!"
- make the player execute command "redirect 4"
- stop
- else:
- if player cannot hold 16 iron ingots:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 16 iron ingots to the player
- send "&aSuccessfully purchased 16 iron ingots!"
- remove 400 from the player's balance
- make the player execute command "redirect 4"
- if argument 1 is "14":
- if balance of player is less than 800:
- send "&cYou do not have enough money to purchase 32 iron ingots!"
- make the player execute command "redirect 4"
- stop
- else:
- if player cannot hold 32 iron ingots:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 32 iron ingots to the player
- send "&aSuccessfully purchased 32 iron ingots!"
- remove 800 from the player's balance
- make the player execute command "redirect 4"
- if argument 1 is "15":
- if balance of player is less than 1200:
- send "&cYou do not have enough money to purchase 48 iron ingots!"
- make the player execute command "redirect 4"
- stop
- else:
- if player cannot hold 48 iron ingots:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 48 iron ingots to the player
- send "&aSuccessfully purchased 48 iron ingots!"
- remove 1200 from the player's balance
- make the player execute command "redirect 4"
- if argument 1 is "16":
- if balance of player is less than 1600:
- send "&cYou do not have enough money to purchase 64 iron ingots!"
- make the player execute command "redirect 4"
- stop
- else:
- if player cannot hold 64 iron ingots:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 64 iron ingots to the player
- send "&aSuccessfully purchased 64 iron ingots!"
- remove 1600 from the player's balance
- make the player execute command "redirect 4"
- if argument 1 is "17":
- if balance of player is less than 100:
- send "&cYou do not have enough money to purchase 16 lapis lazuli!"
- make the player execute command "redirect 5"
- stop
- else:
- if player cannot hold 16 lapis:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 16 lapis to the player
- send "&aSuccessfully purchased 16 lapis lazuli!"
- remove 100 from the player's balance
- make the player execute command "redirect 5"
- if argument 1 is "18":
- if balance of player is less than 200:
- send "&cYou do not have enough money to purchase 32 lapis lazuli!"
- make the player execute command "redirect 5"
- stop
- else:
- if player cannot hold 32 lapis:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 32 lapis to the player
- send "&aSuccessfully purchased 32 lapis lazuli!"
- remove 200 from the player's balance
- make the player execute command "redirect 5"
- if argument 1 is "19":
- if balance of player is less than 300:
- send "&cYou do not have enough money to purchase 48 lapis lazuli!"
- make the player execute command "redirect 5"
- stop
- else:
- if player cannot hold 48 lapis:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 48 lapis to the player
- send "&aSuccessfully purchased 48 lapis lazuli!"
- remove 300 from the player's balance
- make the player execute command "redirect 5"
- if argument 1 is "20":
- if balance of player is less than 400:
- send "&cYou do not have enough money to purchase 64 lapis lazuli!"
- make the player execute command "redirect 5"
- stop
- else:
- if player cannot hold 64 lapis:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 64 lapis to the player
- send "&aSuccessfully purchased 64 lapis lazuli!"
- remove 400 from the player's balance
- make the player execute command "redirect 5"
- if argument 1 is "21":
- if balance of player is less than 150:
- send "&cYou do not enough enough money to purchase 16 nether quartz!"
- make the player execute command "redirect 6"
- stop
- else:
- if player cannot hold 16 nether quartz item:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 16 nether quartz item to the player
- send "&aSuccessfully purchased 16 nether quartz!"
- remove 150 from the player's balance
- make the player execute command "redirect 6"
- if argument 1 is "22":
- if balance of player is less than 300:
- send "&cYou do not enough enough money to purchase 32 nether quartz!"
- make the player execute command "redirect 6"
- stop
- else:
- if player cannot hold 32 nether quartz item:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 32 nether quartz item to the player
- send "&aSuccessfully purchased 32 nether quartz!"
- remove 300 from the player's balance
- make the player execute command "redirect 6"
- if argument 1 is "23":
- if balance of player is less than 450:
- send "&cYou do not enough enough money to purchase 48 nether quartz!"
- make the player execute command "redirect 6"
- stop
- else:
- if player cannot hold 48 nether quartz item:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 48 nether quartz item to the player
- send "&aSuccessfully purchased 48 nether quartz!"
- remove 450 from the player's balance
- make the player execute command "redirect 6"
- if argument 1 is "24":
- if balance of player is less than 600:
- send "&cYou do not enough enough money to purchase 64 nether quartz!"
- make the player execute command "redirect 6"
- stop
- else:
- if player cannot hold 64 nether quartz item:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 64 nether quartz item to the player
- send "&aSuccessfully purchased 64 nether quartz!"
- remove 600 from the player's balance
- make the player execute command "redirect 6"
- if argument 1 is "25":
- if balance of player is less than 50:
- send "&cYou do not have enough money to purchase 16 redstone!"
- make the player execute command "redirect 7"
- stop
- else:
- if player cannot hold 16 redstone:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 16 redstone to the player
- send "&aSuccessfully purchased 16 redstone!"
- remove 50 from the player's balance
- make the player execute command "redirect 7"
- if argument 1 is "26":
- if balance of player is less than 100:
- send "&cYou do not have enough money to purchase 32 redstone!"
- make the player execute command "redirect 7"
- stop
- else:
- if player cannot hold 32 redstone:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 32 redstone to the player
- send "&aSuccessfully purchased 32 redstone!"
- remove 100 from the player's balance
- make the player execute command "redirect 7"
- if argument 1 is "27":
- if balance of player is less than 150:
- send "&cYou do not have enough money to purchase 48 redstone!"
- make the player execute command "redirect 7"
- stop
- else:
- if player cannot hold 48 redstone:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 48 redstone to the player
- send "&aSuccessfully purchased 48 redstone!"
- remove 150 from the player's balance
- make the player execute command "redirect 7"
- if argument 1 is "28":
- if balance of player is less than 200:
- send "&cYou do not have enough money to purchase 64 redstone!"
- make the player execute command "redirect 7"
- stop
- else:
- if player cannot hold 64 redstone:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 64 redstone to the player
- send "&aSuccessfully purchased 64 redstone!"
- remove 200 from the player's balance
- make the player execute command "redirect 7"
- if argument 1 is "29":
- if balance of player is less than 50:
- send "&cYou do not have enough money to purchase 16 coal!"
- make the player execute command "redirect 8"
- stop
- else:
- if player cannot hold 16 coal item:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 16 coal item to the player
- send "&aSuccessfully purchased 16 coal!"
- remove 50 from the player's balance
- make the player execute command "redirect 8"
- if argument 1 is "30":
- if balance of player is less than 100:
- send "&cYou do not have enough money to purchase 32 coal!"
- make the player execute command "redirect 8"
- stop
- else:
- if player cannot hold 32 coal item:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 32 coal item to the player
- send "&aSuccessfully purchased 32 coal!"
- remove 100 from the player's balance
- make the player execute command "redirect 8"
- if argument 1 is "31":
- if balance of player is less than 150:
- send "&cYou do not have enough money to purchase 48 coal!"
- make the player execute command "redirect 8"
- stop
- else:
- if player cannot hold 48 coal item:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 48 coal item to the player
- send "&aSuccessfully purchased 48 coal!"
- remove 150 from the player's balance
- make the player execute command "redirect 8"
- if argument 1 is "32":
- if balance of player is less than 200:
- send "&cYou do not have enough money to purchase 64 coal!"
- make the player execute command "redirect 8"
- stop
- else:
- if player cannot hold 64 coal item:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 64 coal item to the player
- send "&aSuccessfully purchased 64 coal!"
- remove 200 from the player's balance
- make the player execute command "redirect 8"
- if argument 1 is "33":
- if balance of player is less than 450:
- send "&cYou do not have enough money to purchase 3 ghast tears!"
- make the player execute command "redirect 9"
- stop
- else:
- if player cannot hold 3 ghast tears:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 3 ghast tears to the player
- send "&aSuccessfully purchased 3 ghast tears!"
- remove 450 from the player's balance
- make the player execute command "redirect 9"
- if argument 1 is "34":
- if balance of player is less than 900:
- send "&cYou do not have enough money to purchase 6 ghast tears!"
- make the player execute command "redirect 9"
- stop
- else:
- if player cannot hold 6 ghast tears:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 6 ghast tears to the player
- send "&aSuccessfully purchased 6 ghast tears!"
- remove 900 from the player's balance
- make the player execute command "redirect 9"
- if argument 1 is "35":
- if balance of player is less than 1350:
- send "&cYou do not have enough money to purchase 9 ghast tears!"
- make the player execute command "redirect 9"
- stop
- else:
- if player cannot hold 9 ghast tears:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 9 ghast tears to the player
- send "&aSuccessfully purchased 9 ghast tears!"
- remove 1350 from the player's balance
- make the player execute command "redirect 9"
- if argument 1 is "36":
- if balance of player is less than 1800:
- send "&cYou do not have enough money to purchase 12 ghast tears!"
- make the player execute command "redirect 9"
- stop
- else:
- if player cannot hold 12 ghast tears:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 12 ghast tears to the player
- send "&aSuccessfully purchased 12 ghast tears!"
- remove 1800 from the player's balance
- make the player execute command "redirect 9"
- if argument 1 is "37":
- if balance of player is less than 50:
- send "&cYou do not have enough money to purchase 16 gunpowder!"
- make the player execute command "redirect 10"
- stop
- else:
- if player cannot hold 16 gunpowder:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 16 gunpowder to the player
- send "&aSuccessfully purchased 16 gunpowder!"
- remove 50 from the player's balance
- make the player execute command "redirect 10"
- if argument 1 is "38":
- if balance of player is less than 100:
- send "&cYou do not have enough money to purchase 32 gunpowder!"
- make the player execute command "redirect 10"
- stop
- else:
- if player cannot hold 32 gunpowder:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 32 gunpowder to the player
- send "&aSuccessfully purchased 32 gunpowder!"
- remove 100 from the player's balance
- make the player execute command "redirect 10"
- if argument 1 is "39":
- if balance of player is less than 150:
- send "&cYou do not have enough money to purchase 48 gunpowder!"
- make the player execute command "redirect 10"
- stop
- else:
- if player cannot hold 48 gunpowder:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 48 gunpowder to the player
- send "&aSuccessfully purchased 48 gunpowder!"
- remove 150 from the player's balance
- make the player execute command "redirect 10"
- if argument 1 is "40":
- if balance of player is less than 200:
- send "&cYou do not have enough money to purchase 64 gunpowder!"
- make the player execute command "redirect 10"
- stop
- else:
- if player cannot hold 64 gunpowder:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 64 gunpowder to the player
- send "&aSuccessfully purchased 64 gunpowder!"
- remove 200 from the player's balance
- make the player execute command "redirect 10"
- if argument 1 is "41":
- if balance of player is less than 80:
- send "&cYou do not have enough money to purchased 16 glowstone dust!"
- make the player execute command "redirect 11"
- stop
- else:
- if player cannot hold 16 glowstone dust:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 16 glowstone dust to the player
- send "&aSuccessfully purchased 16 glowstone dust!"
- remove 80 from the player's balance
- make the player execute command "redirect 11"
- if argument 1 is "42":
- if balance of player is less than 160:
- send "&cYou do not have enough money to purchased 32 glowstone dust!"
- make the player execute command "redirect 11"
- stop
- else:
- if player cannot hold 32 glowstone dust:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 32 glowstone dust to the player
- send "&aSuccessfully purchased 32 glowstone dust!"
- remove 160 from the player's balance
- make the player execute command "redirect 11"
- if argument 1 is "43":
- if balance of player is less than 240:
- send "&cYou do not have enough money to purchased 48 glowstone dust!"
- make the player execute command "redirect 11"
- stop
- else:
- if player cannot hold 48 glowstone dust:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 48 glowstone dust to the player
- send "&aSuccessfully purchased 48 glowstone dust!"
- remove 240 from the player's balance
- make the player execute command "redirect 11"
- if argument 1 is "44":
- if balance of player is less than 320:
- send "&cYou do not have enough money to purchased 64 glowstone dust!"
- make the player execute command "redirect 11"
- stop
- else:
- if player cannot hold 64 glowstone dust:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 64 glowstone dust to the player
- send "&aSuccessfully purchased 64 glowstone dust!"
- remove 320 from the player's balance
- make the player execute command "redirect 11"
- if argument 1 is "45":
- if balance of player is less than 100:
- send "&cyou do not have enough money to purchase 16 slimeballs!"
- make the player execute command "redirect 12"
- stop
- else:
- if player cannot hold 16 slimeballs:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 16 slimeballs to the player
- send "&aSuccessfully purchased 16 slimeballs!"
- remove 100 from the player's balance
- make the player execute command "redirect 12"
- if argument 1 is "46":
- if balance of player is less than 200:
- send "&cyou do not have enough money to purchase 32 slimeballs!"
- make the player execute command "redirect 12"
- stop
- else:
- if player cannot hold 32 slimeballs:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 32 slimeballs to the player
- send "&aSuccessfully purchased 32 slimeballs!"
- remove 200 from the player's balance
- make the player execute command "redirect 12"
- if argument 1 is "47":
- if balance of player is less than 300:
- send "&cyou do not have enough money to purchase 48 slimeballs!"
- make the player execute command "redirect 12"
- stop
- else:
- if player cannot hold 48 slimeballs:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 48 slimeballs to the player
- send "&aSuccessfully purchased 48 slimeballs!"
- remove 300 from the player's balance
- make the player execute command "redirect 12"
- if argument 1 is "48":
- if balance of player is less than 400:
- send "&cyou do not have enough money to purchase 64 slimeballs!"
- make the player execute command "redirect 12"
- stop
- else:
- if player cannot hold 64 slimeballs:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 64 slimeballs to the player
- send "&aSuccessfully purchased 64 slimeballs!"
- remove 400 from the player's balance
- make the player execute command "redirect 12"
- if argument 1 is "49":
- if balance of player is less than 50:
- send "&cYou do not have enough money to purchase 16 clay balls!"
- make the player execute command "redirect 13"
- stop
- else:
- if player cannot hold 16 clay balls:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 16 clay balls to the player
- send "&aSuccessfully purchases 16 clay balls!"
- remove 50 from the player's balance
- make the player execute command "redirect 13"
- if argument 1 is "50":
- if balance of player is less than 100:
- send "&cYou do not have enough money to purchase 32 clay balls!"
- make the player execute command "redirect 13"
- stop
- else:
- if player cannot hold 32 clay balls:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 32 clay balls to the player
- send "&aSuccessfully purchases 32 clay balls!"
- remove 100 from the player's balance
- make the player execute command "redirect 13"
- if argument 1 is "51":
- if balance of player is less than 150:
- send "&cYou do not have enough money to purchase 48 clay balls!"
- make the player execute command "redirect 13"
- stop
- else:
- if player cannot hold 48 clay balls:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 48 clay balls to the player
- send "&aSuccessfully purchases 48 clay balls!"
- remove 150 from the player's balance
- make the player execute command "redirect 13"
- if argument 1 is "52":
- if balance of player is less than 200:
- send "&cYou do not have enough money to purchase 64 clay balls!"
- make the player execute command "redirect 13"
- stop
- else:
- if player cannot hold 64 clay balls:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 64 clay balls to the player
- send "&aSuccessfully purchases 64 clay balls!"
- remove 200 from the player's balance
- make the player execute command "redirect 13"
- if argument 1 is "53":
- if balance of player is less than 500:
- send "&cYou do not have enough money to purchase a saddle!"
- make the player execute command "redirect 14"
- stop
- else:
- if player cannot hold 1 saddle:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 1 saddle to the player
- send "&aSuccessfully purchased a saddle!"
- remove 500 from the player's balance
- make the player execute command "redirect 14"
- if argument 1 is "54":
- if balance of player is less than 1000:
- send "&cYou do not have enough money to purchase 2 saddles!"
- make the player execute command "redirect 14"
- stop
- else:
- if player cannot hold 1 saddle:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- execute console command "give %player% saddle 2"
- send "&aSuccessfully purchased 2 saddles!"
- remove 1000 from the player's balance
- make the player execute command "redirect 14"
- if argument 1 is "55":
- if balance of player is less than 1500:
- send "&cYou do not have enough money to purchase 3 saddles!"
- make the player execute command "redirect 14"
- stop
- else:
- if player cannot hold 1 saddle:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- execute console command "give %player% saddle 3"
- send "&aSuccessfully purchased 3 saddles!"
- remove 1500 from the player's balance
- make the player execute command "redirect 14"
- if argument 1 is "56":
- if balance of player is less than 2000:
- send "&cYou do not have enough money to purchase 4 saddles!"
- make the player execute command "redirect 14"
- stop
- else:
- if player cannot hold 1 saddle:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- execute console command "give %player% saddle 4"
- send "&aSuccessfully purchased 4 saddles!"
- remove 2000 from the player's balance
- make the player execute command "redirect 14"
- if argument 1 is "57":
- if balance of player is less than 300:
- send "&cYou do not have enough money to purchase 1 iron horse armor!"
- make the player execute command "redirect 15"
- stop
- else:
- if player cannot hold 1 iron horse armor:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 1 iron horse armor to the player
- send "&aSuccessfully purchased 1 iron horse armor!"
- remove 300 from the player's balance
- make the player execute command "redirect 15"
- if argument 1 is "58":
- if balance of player is less than 600:
- send "&cYou do not have enough money to purchase 2 iron horse armor!"
- make the player execute command "redirect 15"
- stop
- else:
- if player cannot hold 1 iron horse armor:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- execute console command "give %player% 417 2"
- send "&aSuccessfully purchased 2 iron horse armor!"
- remove 600 from the player's balance
- make the player execute command "redirect 15"
- if argument 1 is "59":
- if balance of player is less than 900:
- send "&cYou do not have enough money to purchase 3 iron horse armor!"
- make the player execute command "redirect 15"
- stop
- else:
- if player cannot hold 1 iron horse armor:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- execute console command "give %player% 417 3"
- send "&aSuccessfully purchased 2 iron horse armor!"
- remove 900 from the player's balance
- make the player execute command "redirect 15"
- if argument 1 is "60":
- if balance of player is less than 1200:
- send "&cYou do not have enough money to purchase 4 iron horse armor!"
- make the player execute command "redirect 15"
- stop
- else:
- if player cannot hold 1 iron horse armor:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- execute console command "give %player% 417 4"
- send "&aSuccessfully purchased 2 iron horse armor!"
- remove 1200 from the player's balance
- make the player execute command "redirect 15"
- if argument 1 is "61":
- if balance of player is less than 500:
- send "&cYou do not have enough money to purchase 1 gold horse armor!"
- make the player execute command "redirect 16"
- stop
- else:
- if player cannot hold 1 gold horse armor:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 1 gold horse armor to the player
- send "&aSuccessfully purchased 1 gold horse armor!"
- remove 500 from the player's balance
- make the player execute command "redirect 16"
- if argument 1 is "62":
- if balance of player is less than 1000:
- send "&cYou do not have enough money to purchase 2 gold horse armor!"
- make the player execute command "redirect 16"
- stop
- else:
- if player cannot hold 1 gold horse armor:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- execute console command "give %player% 418 2"
- send "&aSuccessfully purchased 2 gold horse armor!"
- remove 1000 from the player's balance
- make the player execute command "redirect 16"
- if argument 1 is "63":
- if balance of player is less than 1500:
- send "&cYou do not have enough money to purchase 3 gold horse armor!"
- make the player execute command "redirect 16"
- stop
- else:
- if player cannot hold 1 gold horse armor:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- execute console command "give %player% 418 3"
- send "&aSuccessfully purchased 3 gold horse armor!"
- remove 1500 from the player's balance
- make the player execute command "redirect 16"
- if argument 1 is "64":
- if balance of player is less than 2000:
- send "&cYou do not have enough money to purchase 4 gold horse armor!"
- make the player execute command "redirect 16"
- stop
- else:
- if player cannot hold 1 gold horse armor:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- execute console command "give %player% 418 4"
- send "&aSuccessfully purchased 4 gold horse armor!"
- remove 2000 from the player's balance
- make the player execute command "redirect 16"
- if argument 1 is "65":
- if balance of player is less than 1000:
- send "&cYou do not have enough money to purchase 1 diamond horse armor!"
- make the player execute command "redirect 17"
- stop
- else:
- if player cannot hold 1 diamond horse armor:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- give 1 diamond horse armor to the player
- send "&aSuccessfully purchased 1 diamond horse armor!"
- remove 1000 from the player's balance
- make the player execute command "redirect 17"
- if argument 1 is "66":
- if balance of player is less than 2000:
- send "&cYou do not have enough money to purchase 2 diamond horse armor!"
- make the player execute command "redirect 17"
- stop
- else:
- if player cannot hold 1 diamond horse armor:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- execute console command "give %player% 419 2"
- send "&aSuccessfully purchased 2 diamond horse armor!"
- remove 2000 from the player's balance
- make the player execute command "redirect 17"
- if argument 1 is "67":
- if balance of player is less than 3000:
- send "&cYou do not have enough money to purchase 3 diamond horse armor!"
- make the player execute command "redirect 17"
- stop
- else:
- if player cannot hold 1 diamond horse armor:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- execute console command "give %player% 419 3"
- send "&aSuccessfully purchased 3 diamond horse armor!"
- remove 3000 from the player's balance
- make the player execute command "redirect 17"
- if argument 1 is "68":
- if balance of player is less than 4000:
- send "&cYou do not have enough money to purchase 4 diamond horse armor!"
- make the player execute command "redirect 17"
- stop
- else:
- if player cannot hold 1 diamond horse armor:
- send "&4Error: &cYou do not have enough inventory space for that."
- stop
- else:
- execute console command "give %player% 419 4"
- send "&aSuccessfully purchased 4 diamond horse armor!"
- remove 4000 from the player's balance
- make the player execute command "redirect 17"
- #==================================================================================================================
- #==================================================================================================================
- #==================================================================================================================
- #==================================================================================================================
- #==================================================================================================================
- command /sell <text>:
- trigger:
- if argument 1 is "1":
- if player does not have 4 diamonds:
- send "&cYou do not have enough diamonds to sell!"
- make the player execute command "redirect 1"
- stop
- else:
- remove 4 diamonds from the player
- send "&aSuccessfully sold 4 diamonds for &2$1,000"
- add 1000 to the player's balance
- make the player execute command "redirect 1"
- if argument 1 is "2":
- if player does not have 8 diamonds:
- send "&cYou do not have enough diamonds to sell!"
- make the player execute command "redirect 1"
- stop
- else:
- remove 8 diamonds from the player
- send "&aSuccessfully sold 8 diamonds for &2$2,000"
- add 2000 to the player's balance
- make the player execute command "redirect 1"
- if argument 1 is "3":
- if player does not have 12 diamonds:
- send "&cYou do not have enough diamonds to sell!"
- make the player execute command "redirect 1"
- stop
- else:
- remove 12 diamonds from the player
- send "&aSuccessfully sold 12 diamonds for &2$3,000"
- add 3000 to the player's balance
- make the player execute command "redirect 1"
- if argument 1 is "4":
- if player does not have 16 diamonds:
- send "&cYou do not have enough diamonds to sell!"
- make the player execute command "redirect 1"
- stop
- else:
- remove 16 diamonds from the player
- send "&aSuccessfully sold 16 diamonds for &2$4,000"
- add 4000 to the player's balance
- make the player execute command "redirect 1"
- if argument 1 is "5":
- if player does not have 4 emeralds:
- send "&cYou do not have enough emeralds to sell!"
- make the player execute command "redirect 2"
- stop
- else:
- remove 4 emeralds from the player
- send "&aSuccessfully sold 4 emeralds for &2$200"
- add 200 to the player's balance
- make the player execute command "redirect 2"
- if argument 1 is "6":
- if player does not have 8 emeralds:
- send "&cYou do not have enough emeralds to sell!"
- make the player execute command "redirect 2"
- stop
- else:
- remove 8 emeralds from the player
- send "&aSuccessfully sold 8 emeralds for &2$400"
- add 400 to the player's balance
- make the player execute command "redirect 2"
- if argument 1 is "7":
- if player does not have 12 emeralds:
- send "&cYou do not have enough emeralds to sell!"
- make the player execute command "redirect 2"
- stop
- else:
- remove 12 emeralds from the player
- send "&aSuccessfully sold 12 emeralds for &2$600"
- add 600 to the player's balance
- make the player execute command "redirect 2"
- if argument 1 is "8":
- if player does not have 16 emeralds:
- send "&cYou do not have enough emeralds to sell!"
- make the player execute command "redirect 2"
- stop
- else:
- remove 16 emeralds from the player
- send "&aSuccessfully sold 16 emeralds for &2$800"
- add 800 to the player's balance
- make the player execute command "redirect 2"
- if argument 1 is "9":
- if player does not have 16 gold ingots:
- send "&cYou do not have enough gold ingots to sell!"
- make the player execute command "redirect 3"
- stop
- else:
- remove 16 gold ingots from the player
- send "&aSuccessfully sold 16 gold ingots for &2$300"
- add 300 to the player's balance
- make the player execute command "redirect 3"
- if argument 1 is "10":
- if player does not have 32 gold ingots:
- send "&cYou do not have enough gold ingots to sell!"
- make the player execute command "redirect 3"
- stop
- else:
- remove 32 gold ingots from the player
- send "&aSuccessfully sold 32 gold ingots for &2$600"
- add 600 to the player's balance
- make the player execute command "redirect 3"
- if argument 1 is "11":
- if player does not have 48 gold ingots:
- send "&cYou do not have enough gold ingots to sell!"
- make the player execute command "redirect 3"
- stop
- else:
- remove 48 gold ingots from the player
- send "&aSuccessfully sold 48 gold ingots for &2$900"
- add 900 to the player's balance
- make the player execute command "redirect 3"
- if argument 1 is "12":
- if player does not have 64 gold ingots:
- send "&cYou do not have enough gold ingots to sell!"
- make the player execute command "redirect 3"
- stop
- else:
- remove 64 gold ingots from the player
- send "&aSuccessfully sold 64 gold ingots for &2$1,200"
- add 1200 to the player's balance
- make the player execute command "redirect 3"
- if argument 1 is "13":
- if player does not have 16 iron ingots:
- send "&cYou do not have enough iron ingots to sell!"
- make the player execute command "redirect 4"
- stop
- else:
- remove 16 iron ingots from the player
- send "&aSuccessfully sold 16 iron ingots for &2$150"
- add 150 to the player's balance
- make the player execute command "redirect 4"
- if argument 1 is "14":
- if player does not have 32 iron ingots:
- send "&cYou do not have enough iron ingots to sell!"
- make the player execute command "redirect 4"
- stop
- else:
- remove 32 iron ingots from the player
- send "&aSuccessfully sold 32 iron ingots for &2$300"
- add 300 to the player's balance
- make the player execute command "redirect 4"
- if argument 1 is "15":
- if player does not have 48 iron ingots:
- send "&cYou do not have enough iron ingots to sell!"
- make the player execute command "redirect 4"
- stop
- else:
- remove 48 iron ingots from the player
- send "&aSuccessfully sold 48 iron ingots for &2$450"
- add 450 to the player's balance
- make the player execute command "redirect 4"
- if argument 1 is "16":
- if player does not have 64 iron ingots:
- send "&cYou do not have enough iron ingots to sell!"
- make the player execute command "redirect 4"
- stop
- else:
- remove 64 iron ingots from the player
- send "&aSuccessfully sold 64 iron ingots for &2$600"
- add 600 to the player's balance
- make the player execute command "redirect 4"
- if argument 1 is "17":
- if player does not have 16 lapis:
- send "&cYou do not have enough lapis to sell!"
- make the player execute command "redirect 5"
- stop
- else:
- remove 16 lapis from the player
- send "&aSuccessfully sold 16 lapis for &2$50"
- add 50 to the player's balance
- make the player execute command "redirect 5"
- if argument 1 is "18":
- if player does not have 32 lapis:
- send "&cYou do not have enough lapis to sell!"
- make the player execute command "redirect 5"
- stop
- else:
- remove 32 lapis from the player
- send "&aSuccessfully sold 32 lapis for &2$100"
- add 100 to the player's balance
- make the player execute command "redirect 5"
- if argument 1 is "19":
- if player does not have 48 lapis:
- send "&cYou do not have enough lapis to sell!"
- make the player execute command "redirect 5"
- stop
- else:
- remove 48 lapis from the player
- send "&aSuccessfully sold 48 lapis for &2$150"
- add 150 to the player's balance
- make the player execute command "redirect 5"
- if argument 1 is "20":
- if player does not have 64 lapis:
- send "&cYou do not have enough lapis to sell!"
- make the player execute command "redirect 5"
- stop
- else:
- remove 64 lapis from the player
- send "&aSuccessfully sold 64 lapis for &2$200"
- add 200 to the player's balance
- make the player execute command "redirect 5"
- if argument 1 is "21":
- if player does not have 16 nether quartz item:
- send "&cYou do not have enough quartz to sell!"
- make the player execute command "redirect 6"
- stop
- else:
- remove 16 nether quartz item from the player
- send "&aSuccessfully sold 16 nether quartz for &2$75"
- add 75 to the player's balance
- make the player execute command "redirect 6"
- if argument 1 is "22":
- if player does not have 32 nether quartz item:
- send "&cYou do not have enough quartz to sell!"
- make the player execute command "redirect 6"
- stop
- else:
- remove 32 nether quartz item from the player
- send "&aSuccessfully sold 32 nether quartz for &2$150"
- add 150 to the player's balance
- make the player execute command "redirect 6"
- if argument 1 is "23":
- if player does not have 48 nether quartz item:
- send "&cYou do not have enough quartz to sell!"
- make the player execute command "redirect 6"
- stop
- else:
- remove 48 nether quartz item from the player
- send "&aSuccessfully sold 48 nether quartz for &2$225"
- add 225 to the player's balance
- make the player execute command "redirect 6"
- if argument 1 is "24":
- if player does not have 64 nether quartz item:
- send "&cYou do not have enough quartz to sell!"
- make the player execute command "redirect 6"
- stop
- else:
- remove 64 nether quartz item from the player
- send "&aSuccessfully sold 64 nether quartz for &2$300"
- add 300 to the player's balance
- make the player execute command "redirect 6"
- if argument 1 is "25":
- if player does not have 16 redstone:
- send "&cYou do not have enough redstone to sell!"
- make the player execute command "redirect 7"
- stop
- else:
- remove 16 redstone from the player
- send "&aSuccessfully sold 16 redstone for &2$25"
- add 25 to the player's balance
- make the player execute command "redirect 7"
- if argument 1 is "26":
- if player does not have 32 redstone:
- send "&cYou do not have enough redstone to sell!"
- make the player execute command "redirect 7"
- stop
- else:
- remove 32 redstone from the player
- send "&aSuccessfully sold 32 redstone for &2$50"
- add 50 to the player's balance
- make the player execute command "redirect 7"
- if argument 1 is "27":
- if player does not have 48 redstone:
- send "&cYou do not have enough redstone to sell!"
- make the player execute command "redirect 7"
- stop
- else:
- remove 48 redstone from the player
- send "&aSuccessfully sold 48 redstone for &2$75"
- add 75 to the player's balance
- make the player execute command "redirect 7"
- if argument 1 is "28":
- if player does not have 64 redstone:
- send "&cYou do not have enough redstone to sell!"
- make the player execute command "redirect 7"
- stop
- else:
- remove 64 redstone from the player
- send "&aSuccessfully sold 64 redstone for &2$100"
- add 100 to the player's balance
- make the player execute command "redirect 7"
- if argument 1 is "29":
- if player does not have 16 coal item:
- send "&cYou do not have enough coal to sell!"
- make the player execute command "redirect 8"
- stop
- else:
- remove 16 coal item from the player
- send "&aSuccessfully sold 16 coal for &2$15"
- add 15 to the player's balance
- make the player execute command "redirect 8"
- if argument 1 is "30":
- if player does not have 32 coal item:
- send "&cYou do not have enough coal to sell!"
- make the player execute command "redirect 8"
- stop
- else:
- remove 32 coal item from the player
- send "&aSuccessfully sold 32 coal for &2$30"
- add 30 to the player's balance
- make the player execute command "redirect 8"
- if argument 1 is "31":
- if player does not have 48 coal item:
- send "&cYou do not have enough coal to sell!"
- make the player execute command "redirect 8"
- stop
- else:
- remove 48 coal item from the player
- send "&aSuccessfully sold 48 coal for &2$45"
- add 45 to the player's balance
- make the player execute command "redirect 8"
- if argument 1 is "32":
- if player does not have 64 coal item:
- send "&cYou do not have enough coal to sell!"
- make the player execute command "redirect 8"
- stop
- else:
- remove 64 coal item from the player
- send "&aSuccessfully sold 64 coal for &2$60"
- add 60 to the player's balance
- make the player execute command "redirect 8"
- if argument 1 is "33":
- if player does not have 3 ghast tears:
- send "&cYou do not have enough ghast tears to sell!"
- make the player execute command "redirect 9"
- stop
- else:
- remove 3 ghast tears from the player
- send "&aSuccessfully sold 3 ghast tears for &2$300"
- add 300 to the player's balance
- make the player execute command "redirect 9"
- if argument 1 is "34":
- if player does not have 6 ghast tears:
- send "&cYou do not have enough ghast tears to sell!"
- make the player execute command "redirect 9"
- stop
- else:
- remove 6 ghast tears from the player
- send "&aSuccessfully sold 6 ghast tears for &2$600"
- add 600 to the player's balance
- make the player execute command "redirect 9"
- if argument 1 is "35":
- if player does not have 9 ghast tears:
- send "&cYou do not have enough ghast tears to sell!"
- make the player execute command "redirect 9"
- stop
- else:
- remove 9 ghast tears from the player
- send "&aSuccessfully sold 9 ghast tears for &2$900"
- add 900 to the player's balance
- make the player execute command "redirect 9"
- if argument 1 is "36":
- if player does not have 12 ghast tears:
- send "&cYou do not have enough ghast tears to sell!"
- make the player execute command "redirect 9"
- stop
- else:
- remove 12 ghast tears from the player
- send "&aSuccessfully sold 12 ghast tears for &2$1,200"
- add 1200 to the player's balance
- make the player execute command "redirect 9"
- if argument 1 is "37":
- if player does not have 16 gunpowder:
- send "&cYou do not have enough gunpowder to sell!"
- make the player execute command "redirect 10"
- stop
- else:
- remove 16 gunpowder from the player
- send "&aSuccessfully sold 16 gunpowder for &2$25"
- add 25 to the player's balance
- make the player execute command "redirect 10"
- if argument 1 is "38":
- if player does not have 32 gunpowder:
- send "&cYou do not have enough gunpowder to sell!"
- make the player execute command "redirect 10"
- stop
- else:
- remove 32 gunpowder from the player
- send "&aSuccessfully sold 32 gunpowder for &2$50"
- add 50 to the player's balance
- make the player execute command "redirect 10"
- if argument 1 is "39":
- if player does not have 48 gunpowder:
- send "&cYou do not have enough gunpowder to sell!"
- make the player execute command "redirect 10"
- stop
- else:
- remove 48 gunpowder from the player
- send "&aSuccessfully sold 48 gunpowder for &2$75"
- add 75 to the player's balance
- make the player execute command "redirect 10"
- if argument 1 is "40":
- if player does not have 64 gunpowder:
- send "&cYou do not have enough gunpowder to sell!"
- make the player execute command "redirect 10"
- stop
- else:
- remove 64 gunpowder from the player
- send "&aSuccessfully sold 64 gunpowder for &2$100"
- add 100 to the player's balance
- make the player execute command "redirect 10"
- if argument 1 is "41":
- if player does not have 16 glowstone dust:
- send "&cYou do not have enough glowstone dust to sell!"
- make the player execute command "redirect 11"
- stop
- else:
- remove 16 glowstone dust from the player
- send "&aSuccessfully sold 16 glowstone dust for &2$40"
- add 40 to the player's balance
- make the player execute command "redirect 11"
- if argument 1 is "42":
- if player does not have 32 glowstone dust:
- send "&cYou do not have enough glowstone dust to sell!"
- make the player execute command "redirect 11"
- stop
- else:
- remove 32 glowstone dust from the player
- send "&aSuccessfully sold 16 glowstone dust for &2$80"
- add 80 to the player's balance
- make the player execute command "redirect 11"
- if argument 1 is "43":
- if player does not have 48 glowstone dust:
- send "&cYou do not have enough glowstone dust to sell!"
- make the player execute command "redirect 11"
- stop
- else:
- remove 48 glowstone dust from the player
- send "&aSuccessfully sold 48 glowstone dust for &2$120"
- add 120 to the player's balance
- make the player execute command "redirect 11"
- if argument 1 is "44":
- if player does not have 64 glowstone dust:
- send "&cYou do not have enough glowstone dust to sell!"
- make the player execute command "redirect 11"
- stop
- else:
- remove 64 glowstone dust from the player
- send "&aSuccessfully sold 64 glowstone dust for &2$160"
- add 160 to the player's balance
- make the player execute command "redirect 11"
- if argument 1 is "45":
- if player does not have 16 slimeballs:
- send "&cYou do not have enough slimeballs to sell!"
- make the player execute command "redirect 12"
- stop
- else:
- remove 16 slimeballs from the player
- send "&aSuccessfully sold 16 slimeballs for &2$50"
- add 50 to the player's balance
- make the player execute command "redirect 12"
- if argument 1 is "46":
- if player does not have 32 slimeballs:
- send "&cYou do not have enough slimeballs to sell!"
- make the player execute command "redirect 12"
- stop
- else:
- remove 32 slimeballs from the player
- send "&aSuccessfully sold 32 slimeballs for &2$100"
- add 100 to the player's balance
- make the player execute command "redirect 12"
- if argument 1 is "47":
- if player does not have 48 slimeballs:
- send "&cYou do not have enough slimeballs to sell!"
- make the player execute command "redirect 12"
- stop
- else:
- remove 48 slimeballs from the player
- send "&aSuccessfully sold 48 slimeballs for &2$150"
- add 150 to the player's balance
- make the player execute command "redirect 12"
- if argument 1 is "48":
- if player does not have 64 slimeballs:
- send "&cYou do not have enough slimeballs to sell!"
- make the player execute command "redirect 12"
- stop
- else:
- remove 64 slimeballs from the player
- send "&aSuccessfully sold 64 slimeballs for &2$200"
- add 200 to the player's balance
- make the player execute command "redirect 12"
- if argument 1 is "49":
- if player does not have 16 clay balls:
- send "&cYou do not have enough clay balls to sell!"
- make the player execute command "redirect 13"
- stop
- else:
- remove 16 clay balls from the player
- send "&aSuccessfully sold 16 clay balls for &2$25"
- add 25 to the player's balance
- make the player execute command "redirect 13"
- if argument 1 is "50":
- if player does not have 32 clay balls:
- send "&cYou do not have enough clay balls to sell!"
- make the player execute command "redirect 13"
- stop
- else:
- remove 32 clay balls from the player
- send "&aSuccessfully sold 32 clay balls for &2$50"
- add 50 to the player's balance
- make the player execute command "redirect 13"
- if argument 1 is "51":
- if player does not have 48 clay balls:
- send "&cYou do not have enough clay balls to sell!"
- make the player execute command "redirect 13"
- stop
- else:
- remove 48 clay balls from the player
- send "&aSuccessfully sold 48 clay balls for &2$75"
- add 75 to the player's balance
- make the player execute command "redirect 13"
- if argument 1 is "52":
- if player does not have 64 clay balls:
- send "&cYou do not have enough clay balls to sell!"
- make the player execute command "redirect 13"
- stop
- else:
- remove 64 clay balls from the player
- send "&aSuccessfully sold 64 clay balls for &2$100"
- add 100 to the player's balance
- make the player execute command "redirect 13"
- if argument 1 is "53":
- if player does not have 1 saddle:
- send "&cYou do not have a saddle to sell!"
- make the player execute command "redirect 14"
- stop
- else:
- remove 1 saddle from the player
- send "&aSuccessfully sold 1 saddle for &2$100"
- add 100 to the player's balance
- make the player execute command "redirect 14"
- if argument 1 is "54":
- if player does not have 2 saddles:
- send "&cYou do not have enough saddles to sell!"
- make the player execute command "redirect 14"
- stop
- else:
- remove 2 saddle from the player
- send "&aSuccessfully sold 2 saddle for &2$200"
- add 200 to the player's balance
- make the player execute command "redirect 14"
- if argument 1 is "55":
- if player does not have 3 saddles:
- send "&cYou do not have enough saddles to sell!"
- make the player execute command "redirect 14"
- stop
- else:
- remove 3 saddles from the player
- send "&aSuccessfully sold 3 saddle for &2$300"
- add 300 to the player's balance
- make the player execute command "redirect 14"
- if argument 1 is "56":
- if player does not have 4 saddles:
- send "&cYou do not have enough saddles to sell!"
- make the player execute command "redirect 14"
- stop
- else:
- remove 4 saddles from the player
- send "&aSuccessfully sold 4 saddle for &2$400"
- add 400 to the player's balance
- make the player execute command "redirect 14"
- if argument 1 is "57":
- if player does not have 1 iron horse armor:
- send "&cYou do not have a iron horse armor to sell!"
- make the player execute command "redirect 15"
- stop
- else:
- remove 1 iron horse armor from the player
- send "&aSuccessfully sold 1 iron horse armor for &2$50"
- add 50 to the player's balance
- make the player execute command "redirect 15"
- if argument 1 is "58":
- if player does not have 2 iron horse armor:
- send "&cYou do not have enough iron horse armor to sell!"
- make the player execute command "redirect 15"
- stop
- else:
- remove 2 iron horse armor from the player
- send "&aSuccessfully sold 2 iron horse armor for &2$100"
- add 100 to the player's balance
- make the player execute command "redirect 15"
- if argument 1 is "59":
- if player does not have 3 iron horse armor:
- send "&cYou do not have enough iron horse armor to sell!"
- make the player execute command "redirect 15"
- stop
- else:
- remove 3 iron horse armor from the player
- send "&aSuccessfully sold 3 iron horse armor for &2$150"
- add 150 to the player's balance
- make the player execute command "redirect 15"
- if argument 1 is "60":
- if player does not have 4 iron horse armor:
- send "&cYou do not have enough iron horse armor to sell!"
- make the player execute command "redirect 15"
- stop
- else:
- remove 4 iron horse armor from the player
- send "&aSuccessfully sold 4 iron horse armor for &2$200"
- add 200 to the player's balance
- make the player execute command "redirect 15"
- if argument 1 is "61":
- if player does not have 1 gold horse armor:
- send "&cYou do not have a gold horse armor to sell!"
- make the player execute command "redirect 16"
- stop
- else:
- remove 1 gold horse armor from the player
- send "&aSuccessfully sold 1 gold horse armor for &2$80"
- add 80 to the player's balance
- make the player execute command "redirect 16"
- if argument 1 is "62":
- if player does not have 2 gold horse armor:
- send "&cYou do not have enough gold horse armor to sell!"
- make the player execute command "redirect 16"
- stop
- else:
- remove 2 gold horse armor from the player
- send "&aSuccessfully sold 2 gold horse armor for &2$160"
- add 160 to the player's balance
- make the player execute command "redirect 16"
- if argument 1 is "63":
- if player does not have 3 gold horse armor:
- send "&cYou do not have enough gold horse armor to sell!"
- make the player execute command "redirect 16"
- stop
- else:
- remove 3 gold horse armor from the player
- send "&aSuccessfully sold 3 gold horse armor for &2$240"
- add 240 to the player's balance
- make the player execute command "redirect 16"
- if argument 1 is "64":
- if player does not have 4 gold horse armor:
- send "&cYou do not have enough gold horse armor to sell!"
- make the player execute command "redirect 16"
- stop
- else:
- remove 4 gold horse armor from the player
- send "&aSuccessfully sold 4 gold horse armor for &2$320"
- add 320 to the player's balance
- make the player execute command "redirect 16"
- if argument 1 is "65":
- if player does not have 1 diamond horse armor:
- send "&cYou do not have a diamond horse armor to sell!"
- make the player execute command "redirect 17"
- stop
- else:
- remove 1 diamond horse armor from the player
- send "&aSuccessfully sold 1 gold horse armor for &2$100"
- add 100 to the player's balance
- make the player execute command "redirect 17"
- if argument 1 is "66":
- if player does not have 2 diamond horse armor:
- send "&cYou do not have enough diamond horse armor to sell!"
- make the player execute command "redirect 17"
- stop
- else:
- remove 2 diamond horse armor from the player
- send "&aSuccessfully sold 2 gold horse armor for &2$200"
- add 200 to the player's balance
- make the player execute command "redirect 17"
- if argument 1 is "67":
- if player does not have 3 diamond horse armor:
- send "&cYou do not have enough diamond horse armor to sell!"
- make the player execute command "redirect 17"
- stop
- else:
- remove 3 diamond horse armor from the player
- send "&aSuccessfully sold 3 gold horse armor for &2$300"
- add 300 to the player's balance
- make the player execute command "redirect 17"
- if argument 1 is "68":
- if player does not have 4 diamond horse armor:
- send "&cYou do not have enough diamond horse armor to sell!"
- make the player execute command "redirect 17"
- stop
- else:
- remove 4 diamond horse armor from the player
- send "&aSuccessfully sold 4 gold horse armor for &2$400"
- add 400 to the player's balance
- make the player execute command "redirect 17"
- command /sback:
- trigger:
- close the player's inventory
- wait a tick
- make the player execute command "shop"
- command /oftherandom:
- trigger:
- send "&bThis will allow you to gamble on items, you may get good items, or bad items, will also have a 24 hour cooldown"
- on command "/warp shop":
- cancel event
- send "&6=========================================="
- send " &eLooking for the shop? Try &a/shop"
- send "&6=========================================="
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement