Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /block <text>:
- permission: tps.block
- usage: /block <block/*> or /bl <block/*>
- aliases: /bl
- trigger:
- arg is "*":
- send "<gray>Due to spam filters, this will take approximatly 30 seconds for this to execute."
- player has 9 emeralds:
- execute player command "/bl e"
- wait 3 seconds
- player has 4 337:
- execute player command "/bl c"
- wait 3 seconds
- player has 4 snowballs:
- execute player command "/bl s"
- wait 3 seconds
- player has 4 quartz:
- execute player command "/bl q"
- wait 3 seconds
- player has 9 iron ingots:
- execute player command "/bl i"
- wait 3 seconds
- player has 9 diamonds:
- execute player command "/bl d"
- wait 3 seconds
- player has 9 redstone:
- execute player command "/bl r"
- wait 3 seconds
- player has 9 263:
- execute player command "/bl cl"
- wait 3 seconds
- player has 9 lapis:
- execute player command "/bl l"
- wait 3 seconds
- player has 4 glowstone dust:
- execute player command "/bl gs"
- wait 3 seconds
- player has 4 gold ingots:
- execute player command "/bl g"
- wait 3 seconds
- wait 3 seconds
- arg is "emerald" or "e":
- player does not have 9 emeralds:
- send "<red>You need more materials!"
- stop trigger
- loop 1000 times:
- player has 9 emeralds:
- remove 9 emeralds from player
- give player 1 emerald block
- set {_temp} to {_temp}+1
- set {_temp2} to {_temp}*9
- send "<gray>You traded <green>%{_temp2}% emeralds <gray>for <green>%{_temp}% emerald <gray>blocks!"
- arg is "iron" or "i":
- player does not have 9 iron ingots:
- send "<red>You need more materials!"
- stop trigger
- loop 1000 times:
- player has 9 iron ingots:
- remove 9 iron ingots from player
- give player 1 iron block
- set {_temp} to {_temp}+1
- set {_temp2} to {_temp}*9
- send "<gray>You traded %{_temp2}% iron ingots for %{_temp}% iron blocks!"
- arg is "diamond" or "d":
- player does not have 9 diamonds:
- send "<red>You need more materials!"
- stop trigger
- loop 1000 times:
- player has 9 diamonds:
- remove 9 diamonds from player
- give player 1 diamond block
- set {_temp} to {_temp}+1
- set {_temp2} to {_temp}*9
- send "<gray>You traded <aqua>%{_temp2}% diamonds <gray>for <aqua>%{_temp}% diamond <gray>blocks!"
- arg is "redstone" or "r":
- player does not have 9 redstone:
- send "<red>You need more materials!"
- stop trigger
- loop 1000 times:
- player has 9 redstone:
- remove 9 redstone from player
- give player 1 redstone block
- set {_temp} to {_temp}+1
- set {_temp2} to {_temp}*9
- send "<gray>You traded <light red>%{_temp2}% redstone <gray>for <light red>%{_temp}% redstone <gray>blocks!"
- arg is "lapis" or "l":
- player does not have 9 lapis:
- send "<red>You need more materials!"
- stop trigger
- loop 1000 times:
- player has 9 lapis:
- remove 9 lapis from player
- give player 1 lapis block
- set {_temp} to {_temp}+1
- set {_temp2} to {_temp}*9
- send "<gray>You traded <blue>%{_temp2}% lapis <gray>for <blue>%{_temp}% lapis <gray>blocks!"
- arg is "clay" or "c":
- player does not have 4 337:
- send "<red>You need more materials!"
- stop trigger
- loop 1000 times:
- player has 4 337:
- remove 4 337 from player
- give player 1 clay block
- set {_temp} to {_temp}+1
- set {_temp2} to {_temp}*4
- send "<gray>You traded %{_temp2}% clay balls for %{_temp}% clay blocks!"
- arg is "snow" or "s":
- player does not have 4 snowballs:
- send "<red>You need more materials!"
- stop trigger
- loop 1000 times:
- player has 4 snowballs:
- remove 4 snowballs from player
- give player 1 snow block
- set {_temp} to {_temp}+1
- set {_temp2} to {_temp}*4
- send "<gray>You traded <white>%{_temp2}% snowballs <gray>for <white>%{_temp}% snow <gray>blocks!"
- arg is "coal" or "cl":
- player does not have 9 263:
- send "<red>You need more materials!"
- stop trigger
- loop 1000 times:
- player has 9 263:
- remove 9 263 from player
- give player 1 coal block
- set {_temp} to {_temp}+1
- set {_temp2} to {_temp}*9
- send "<gray>You traded <black>%{_temp2}% coal <gray>for <blacK>%{_temp}% coal <gray>blocks!"
- arg is "gold" or "g":
- player does not have 9 gold ingots:
- send "<red>You need more materials!"
- stop trigger
- loop 1000 times:
- player has 9 gold ingots:
- remove 9 gold ingots from player
- give player 1 gold block
- set {_temp} to {_temp}+1
- set {_temp2} to {_temp}*9
- send "<gray>You traded <gold>%{_temp2}% gold ingots <gray>for <gold>%{_temp}% gold <gray>blocks!"
- arg is "glowstone" or "gs":
- player does not have 4 glowstone dust:
- send "<red>You need more materials!"
- stop trigger
- loop 1000 times:
- player has 4 glowstone dust:
- remove 4 glowstone dust from player
- give player 1 gold block
- set {_temp} to {_temp}+1
- set {_temp2} to {_temp}*4
- send "<gray>You traded <gold>%{_temp2}% glowstone <gray>for <gold>%{_temp}% glowstone <gray>blocks!"
- arg is "quartz" or "q":
- player does not have 4 406:
- send "<red>You need more materials!"
- stop trigger
- loop 1000 times:
- player has 4 406:
- remove 4 406 from player
- give player 1 quartz block
- set {_temp} to {_temp}+1
- set {_temp2} to {_temp}*4
- send "<gray>You traded <white>%{_temp2}% quartz <gray>for <white>%{_temp}% quartz <gray>blocks!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement