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/*> or /block for help list
- aliases: /bl
- trigger:
- arg is not set:
- send "<gray>----<gold>Items <blue>-> <gold>Blocks<gray>----"
- send "<gray>Use /block to turn items into blocks without a workbench"
- send "<gray>/Block is compatible with the following blocks:"
- send "<gray>* <lime>: <gray>Uses all possibilities for blocks."
- send "<green>Emerald <lime>: <gray>9 Emerald <blue>-> <gray>1 Emerald Block"
- send "<aqua>Diamond <lime>: <gray>9 Diamond <blue>-> <gray>1 Diamond Block"
- send "<gold>Gold <lime>: <gray>9 Gold <blue>-> <gray>1 Gold Block"
- send "<white>Snow <lime>: <gray>4 Snowballs <blue>-> <gray>1 Snow Block"
- send "<gray>Clay <lime>: <gray>4 Clay Balls <blue>-> <gray>1 Clay Block"
- send "<light red>Redstone <lime>: <gray>9 Redstone <blue>-> <gray>1 Redstone Block"
- send "<gold>Glowstone <lime>: <gray>4 Glowstone Dust<blue>-> <gray>1 Glowstone Block"
- send "<light blue>Lapis <lime>: <gray>9 Lapis <blue>-> <gray>1 Lapis Block"
- send "<black>Coal <lime>: <gray>9 Coal <blue>-> <gray>1 Coal Block"
- send "<white>Quartz <lime>: <gray>4 Quartz <blue>-> <Gray>1 Quartz Block"
- send "<white>Iron <lime>: <gray>9 Iron Ingots <blue>-> <gray>1 Iron Block"
- send "<gray>/block is availible to <gold>Gold <gray>donors and above."
- 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 glowstone 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