Advertisement
Blue_future

CoinAPI

Sep 24th, 2016
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.74 KB | None | 0 0
  1. summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:fill ~2 ~-3 ~-1 ~10 ~-1 ~1 gold_block 0 hollow},{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-1 ~10 ~-2 ~1 stained_glass 4 0 gold_block},{id:MinecartCommandBlock,Command:"/tellraw @p [\"\",{\"text\":\"Mega Command Box's \",\"color\":\"gold\",\"bold\":true},{\"text\":\"CoinAPI\",\"color\":\"yellow\",\"bold\":true},{\"text\":\" By Blue_future\",\"color\":\"aqua\",\"bold\":true}]"},{id:MinecartCommandBlock,Command:setblock ~1 ~-3 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"Mega Command\\\",\\\"color\\\":\\\"yellow\\\",\\\"bold\\\":true}",Text2:"{\\\"text\\\":\\\"Box's CoinAPI\\\",\\\"color\\\":\\\"yellow\\\",\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"By Blue_future\\\",\\\"color\\\":\\\"aqua\\\",\\\"bold\\\":true}",Text4:"{\\\"text\\\":\\\"\\\"}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"\\\"}",Text2:"{\\\"text\\\":\\\"Remove API\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-1 ~-1 ~9 ~1 ~1 air\\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @p ~ ~ ~ summon Item ~ ~ ~ {Motion:[0:-6.707476742565841E-22d,1:-0.0d,2:4.988588496038516E-22d],Health:5s,Invulnerable:0b,Air:300s,OnGround:1b,Dimension:0,PortalCooldown:0,Rotation:[0:59.717113f,1:0.0f],FallDistance:0.0f,Item:{id:\\\\\\\"minecraft:chest\\\\\\\",Count:1b,tag:{BlockEntityTag:{Items:[0:{Slot:0b,id:\\\\\\\"minecraft:chain_command_block\\\\\\\",Count:1b,tag:{RepairCost:0,BlockEntityTag:{conditionMet:0b,auto:1b,CustomName:\\\\\\\"@\\\\\\\",powered:0b,Command:\\\\\\\"/scoreboard players add <Player> Coin <Amount> [DataTag]\\\\\\\",id:\\\\\\\"Control\\\\\\\",SuccessCount:0,TrackOutput:1b},display:{Lore:[0:\\\\\\\"(+NBT)\\\\\\\"],Name:\\\\\\\"Add Coins\\\\\\\"}},Damage:0s},1:{Slot:1b,id:\\\\\\\"minecraft:chain_command_block\\\\\\\",Count:1b,tag:{RepairCost:0,BlockEntityTag:{conditionMet:0b,auto:1b,CustomName:\\\\\\\"@\\\\\\\",powered:0b,Command:\\\\\\\"/scoreboard players remove <Player> Coin <Amount> [DataTag]\\\\\\\",id:\\\\\\\"Control\\\\\\\",SuccessCount:0,TrackOutput:1b},display:{Lore:[0:\\\\\\\"(+NBT)\\\\\\\"],Name:\\\\\\\"Remove Coins\\\\\\\"}},Damage:0s},2:{Slot:2b,id:\\\\\\\"minecraft:chain_command_block\\\\\\\",Count:1b,tag:{RepairCost:0,BlockEntityTag:{conditionMet:0b,auto:1b,CustomName:\\\\\\\"@\\\\\\\",powered:0b,Command:\\\\\\\"/scoreboard players set <Player> Coin <Amount> [DataTag]\\\\\\\",id:\\\\\\\"Control\\\\\\\",SuccessCount:0,TrackOutput:1b},display:{Lore:[0:\\\\\\\"(+NBT)\\\\\\\"],Name:\\\\\\\"Set Coins\\\\\\\"}},Damage:0s},3:{Slot:3b,id:\\\\\\\"minecraft:chain_command_block\\\\\\\",Count:1b,tag:{RepairCost:0,BlockEntityTag:{conditionMet:0b,auto:1b,CustomName:\\\\\\\"@\\\\\\\",powered:0b,Command:\\\\\\\"/scoreboard players test <Player> Coin <MinAmount> [MaxAmount]\\\\\\\",id:\\\\\\\"Control\\\\\\\",SuccessCount:0,TrackOutput:1b},display:{Lore:[0:\\\\\\\"(+NBT)\\\\\\\"],Name:\\\\\\\"Test Coins\\\\\\\"}},Damage:0s},4:{Slot:4b,id:\\\\\\\"minecraft:chain_command_block\\\\\\\",Count:1b,tag:{RepairCost:0,BlockEntityTag:{conditionMet:0b,auto:1b,CustomName:\\\\\\\"@\\\\\\\",powered:0b,Command:\\\\\\\"@p[score_Coin_min=<Amount>,score_Coins=<Amount>]\\\\\\\",id:\\\\\\\"Control\\\\\\\",SuccessCount:0,TrackOutput:1b},display:{Lore:[0:\\\\\\\"(+NBT)\\\\\\\"],Name:\\\\\\\"Coins Of Executor\\\\\\\"}},Damage:0s}],id:\\\\\\\"Chest\\\\\\\",Lock:\\\\\\\"\\\\\\\"},display:{Lore:[0:\\\\\\\"(+NBT)\\\\\\\"]}},Damage:0s},Pos:[0:-1031.3405524545615d,1:1.0d,2:757.8460621503654d],PickupDelay:0s,Fire:-1s,Age:94s}\\\"}}",Text2:"{\\\"text\\\":\\\"Get Chest\\\",\\\"color\\\":\\\"green\\\",\\\"italic\\\":true,\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"\\\"}",Text4:"{\\\"text\\\":\\\"\\\"}"}},{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~ ~9 ~-2 ~ chain_command_block 5},{id:MinecartCommandBlock,Command:setblock ~9 ~-2 ~ chain_command_block 1},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~ chain_command_block 13},{id:MinecartCommandBlock,Command:fill ~4 ~-2 ~ ~5 ~-2 ~ chain_command_block 13},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ repeating_command_block 5},{id:MinecartCommandBlock,Command:blockdata ~9 ~-2 ~ {auto:1,Command:scoreboard players tag @e[type=Item] add ShowMoney {Item:{id:minecraft:gold_nugget}}}},{id:MinecartCommandBlock,Command:blockdata ~8 ~-2 ~ {auto:1,Command:scoreboard players tag @a[score_Coin_min=0] add Value}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~ {auto:1,Command:scoreboard players set @a[tag=!Value] Coin 0}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~ {auto:1,Command:scoreboard objectives add Coin dummy}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~ {auto:1,Command:kill @e[tag=ShowMoney]}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~ {auto:1,Command:execute @e[type=Item,tag=ShowMoney] ~ ~ ~ give @p minecraft:gold_nugget}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~ {auto:1,Command:"execute @e[type=Item,tag=ShowMoney] ~ ~ ~ tellraw @p [\\\"\\\",{\\\"text\\\":\\\"You Have $\\\",\\\"color\\\":\\\"green\\\"},{\\\"score\\\":{\\\"name\\\":\\\"@p\\\",\\\"objective\\\":\\\"Coin\\\"},\\\"color\\\":\\\"green\\\"}] "}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 0 {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement