Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &f[&2Tycoon&f] &8>>
- version: 1.0
- command /tycoon [<text>] [<text>]:
- trigger:
- if player has permission "Tycoon.*":
- if arg 1 is "help":
- send "&f--------------[&2Tycoon&f]--------------"
- send "&a/Tycoon help &8>> &2Krijg de help pagina"
- send "&a/Tycoon shop create &8>> &2Maak een shop"
- send "&a/Tycoon shop &8>> &2Ga naar het shop gui"
- send "&f--------------[&2Tycoon&f]--------------"
- if arg 1 is "shop":
- if arg 2 is "create":
- send "{@prefix} &2Succesvol een shop item gegeven."
- give player a book named "&6Create Shop" with lore "&5Klik om een shop te maken - Tycoon"
- #send "{@prefix} &aSuccesvol de shop gemaakt!"
- #spawn Llama at player
- #set {_Llama} to last spawned Llama
- #set name of last spawned Llama to "&6Tycoon shop"
- #add "{Age:1,NoAI:1,Silent:1b,Invulnerable:1}" to nbt tag of {_Llama}
- else if arg 2 is set:
- send "{@prefix} &4Dit command is niet goed uitgevoerd, doe &c/tycoon stop create&4."
- else:
- send "{@prefix} &4Doe &c/tycoon help &4voor meer info."
- else if arg 1 is "help":
- send "&f--------------[&2Tycoon&f]--------------"
- send "&a/Tycoon help &8>> &2Krijg de help pagina"
- send "&a/Tycoon shop &8>> &2Ga naar het shop gui"
- send "&f--------------[&2Tycoon&f]--------------"
- else if arg 1 is "shop":
- send "{@prefix} &aShop geoopent."
- on rightclick:
- if player is holding a book named "&6Create Shop" with lore "&5Klik om een shop te maken - Tycoon":
- send "{@prefix} &aSuccesvol de shop gemaakt!"
- spawn Llama at location of "%x-coordinate of targeted block%%y-coordinate of targeted block+1%%z-coordinate of targeted block%"
- set {_Llama} to last spawned Llama
- set name of last spawned Llama to "&6Tycoon shop"
- add "{Age:1,NoAI:1,Silent:1b,Invulnerable:1}" to nbt tag of {_Llama}
- add "%world% - %x-coordinate of targeted block%%y-coordinate of targeted block+1%%z-coordinate of targeted block%" to {Tycoon::shopLocations::*}
- send "%{Tycoon::shopLocations::*}%"
Add Comment
Please, Sign In to add comment