Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #shopping skript - bezerktwerk
- command /shop [<text>]:
- permission: skript.op
- trigger:
- if arg 1 is not set:
- SEND "&lTo use: /shop <enable/DISABLE>" to the player
- if arg 1 is "enable":
- broadcast &b&lShopping now enabled!
- if arg 1 is "DISABLE":
- broadcast &b&lShopping now disabled!
- on rightclick:
- block is a sign
- line 1 of sign is "[SHOP]"
- player has 9 gold ingots
- remove 9 gold ingots from player
- give player 1 diamond
- message &a&l&o"You bought a Diamond!"
- on rightclick:
- block is a sign
- line 1 of sign is "[SHOP]"
- player has 1 diamond
- remove 1 diamond from player
- give player 9 gold ingots
- message &b&l&o"You bought 9 Gold!"
- on rightclick:
- block is a sign
- line 1 of sign is "[SHOP]"
- player has 1 diamond
- remove 1 diamond from player
- give player 1 Head
- message &5&l&o"You bought a player head!"
- on rightclick:
- block is a sign
- line 1 of sign is "[SHOP]"
- player has 5 diamonds
- remove 3 diamonds from player
- give player 5 384
- message &6&l&o"You bought 64 enchant bottles!"
- on rightclick:
- block is a sign
- line 1 of sign is "[SHOP]"
- player has 9 diamonds
- remove 9 diamonds from player
- give player 12 Bookshelf
- message &2&l&o"You bought 12 Bookshelfs!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement