Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on enable:
- set {cw::title} to "&8[&eCraftWars&8]&7" #Default: "&8[&eCraftWars&8]&7"
- command /craftwars [<text>] [<text>] [<text>]:
- aliases: cw
- trigger:
- if player has permission "craftwars.*":
- if arg 1 is "help":
- if arg 2 is not set:
- execute player command "/cw help 1"
- stop
- if arg 2 is "1":
- send "&8________[&eCraftWars&8]________"
- json("%player%", "&8/craftwars help||ttp:&9Krijg de help pagina||cmd:/cw help")
- json("%player%", "&8/craftwars shop||ttp:&9Ga naar de shop||cmd:/cw shop")
- send "&8________[&ePag: 1/1&8]________"
- stop
- if arg 1 is "shop":
- openShop(player, "engineer", "main")
- stop
- else:
- send "%{cw::title}% Dit is geen geldig argument, doe /craftwars help."
- stop
- #else
- #Machine:
- every 1 tick:
- loop all players:
- if loop-player is holding a book named "&3Dirt Machine" with lore "&8Plaats deze om een dirt machine te maken.":
- set {_fblock} to location of targeted block of loop-player
- #set {_fblock.x} to targeted block of loop-player's x-coordinate+1
- #set {_fblock.x} to stone
- stop
- on rightclick:
Advertisement
Add Comment
Please, Sign In to add comment