Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /blackmarket:
- aliases: /bm
- trigger:
- open chest with 6 rows named "&3&lBLACKMARKET" to player
- loop integers from 0 to 64:
- make gui slot loop-integer of player with black stained glass pane named "&7" to run:
- close player's inventory
- make gui slot 4 of player with obsidian named "&b&lMINERALS"
- make gui slot 10 of player with 64 coal item named "&7&lCOAL" with lore "&3Cost: &b5,000" to run:
- if player's balance >= 5000:
- if player has enough space for coal:
- give player 64 coal item
- remove 5000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 11 of player with 64 iron ingot named "&7&lIRON" with lore "&3Cost: &b10,000" to run:
- if player's balance >= 10000:
- if player has enough space for iron ingot:
- give player 64 iron ingot
- remove 10000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 12 of player with 64 diamond named "&b&lDIAMOND" with lore "&3Cost: &b20,000" to run:
- if player's balance >= 20000:
- if player has enough space for diamond:
- give player 64 diamond
- remove 20000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 13 of player with 64 emerald named "&a&lEMERALD" with lore "&3Cost: &b50,000" to run:
- if player's balance >= 50000:
- if player has enough space for emerald:
- give player 64 emerald
- remove 50000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 14 of player with 64 lapis lazuli named "&9&lLAPIS" with lore "&3Cost: &b75,000" to run:
- if player's balance >= 75000:
- if player has enough space for lapis lazuli:
- give player 64 lapis lazuli
- remove 75000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 15 of player with 64 redstone dust named "&c&lREDSTONE" with lore "&3Cost: &b80,000" to run:
- if player's balance >= 80000:
- if player has enough space for redstone dust:
- give player 64 redstone dust
- remove 80000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 16 of player with 64 obsidian named "&8&lOBSIDIAN" with lore "&3Cost: &b100,000" to run:
- if player's balance >= 100000:
- if player has enough space for obsidian:
- give player 64 obsidian
- remove 100000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 22 of player with gray stained glass pane named "&b&lCOMING SOON" to run:
- close player's inventory
- make gui slot 40 of player with gray stained glass pane named "&b&lCOMING SOON" to run:
- close player's inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement