Minecraft Slot Machine Bukkit

SlotMachines is a configurable slot machine system for Sponge.

  1. Minecraft Slot Machine Bukkit Games

This video is on Minecraft Bukkit Plugin - AnCasino - Slot machine casino! Download: Thanks for watching, if thi. Casino Slots allows you to easily set up interactive and proper block-based slot machines anywhere in your world. Nearly every aspect of these slot machines can be customized to your needs, including block types, costs and prizes, winning chances and more.

Features

  • A fully configurable reel system.
  • Configurable reward output.
  • Configurable machine tiers.

Usage

Creating a Slot Machine

The following image shows a simple SlotMachine setup.

The base block, in this case iron, refers to the tier of the slot machine. The top left sign must be blank, and the top right sign must contain the price to use the machine on the first line.

Once this structure has been created, pressing the button will setup the machine. Further presses of the button will run it.

Players need the permission slots.create to create the machines.

Admin Machine

Minecraft

To create an admin Slot Machine, put ‘ADMIN’ on the second line of the left sign. These machines have unlimited money.

Players need the permission slots.create.admin to create these machines.

FAQ

Minecraft bukkit download

Slot Machines keep saying they’re out of money? How do I fill them up?

Slot machines use the balance of the person who created it. They must have atleast enough money for the maximum payout of the machine.

Minecraft Slot Machine Bukkit Games

Minecraft Slot Machine Bukkit
Dec 10th, 2016
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
  1. summon falling_block ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:falling_block,Block:redstone_block,Time:1,Passengers:[{id:falling_block,Block:activator_rail,Time:1,Passengers:[{id:commandblock_minecart,Command:gamerule commandBlockOutput false},{id:commandblock_minecart,Command:fill ~2 ~-3 ~-2 ~18 ~1 ~2 stained_hardened_clay 14 hollow},{id:commandblock_minecart,Command:fill ~2 ~-2 ~-2 ~18 ~ ~2 stained_glass 5 0 stained_hardened_clay},{id:commandblock_minecart,Command:/scoreboard objectives add MoveDown dummy},{id:commandblock_minecart,Command:/scoreboard objectives add random dummy},{id:commandblock_minecart,Command:/scoreboard objectives add stoptimer dummy},{id:commandblock_minecart,Command:/scoreboard objectives add Score dummy},{id:commandblock_minecart,Command:/scoreboard objectives add konst dummy},{id:commandblock_minecart,Command:setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:'{'text':'Slot Machine','color':'dark_blue','clickEvent':{'action':'run_command','value':'/tellraw @a [',{'text':'◜---------------◯----------------◝n┇ ','color':'green'},{'text':' '},{'text':'Slot Machine ','color':'yellow'},{'text':' '},{'text':' ┇n┇ ','color':'green'},{'text':' by '},{'text':' ┇n┇ ','color':'green'},{'text':' MT_Redstone ','color':'red'},{'text':' ┇n◯ ◯n┇ ','color':'green'},{'text':' ','color':'dark_red'},{'text':'Channel','color':'red','clickEvent':{'action':'open_url','value':'http://mtredstone.ml'},'hoverEvent':{'action':'show_text','value':[',{'text':'▶','color':'red'},{'text':'Click Here'},{'text':'▶','color':'red'}]}},{'text':' ','color':'red'},{'text':' ','color':'dark_red'},{'text':' ┇n┇ ','color':'green'},{'text':'Twitter ','color':'aqua','clickEvent':{'action':'open_url','value':'http://mtredstone.ml/twitter'},'hoverEvent':{'action':'show_text','value':[',{'text':'✈','color':'aqua'},{'text':'Click Here'},{'text':'✈','color':'aqua'}]}},{'text':' ','color':'aqua'},{'text':' ┇','color':'green'},{'text':'n'},{'text':'┇ ┇n◟----------------◯---------------◞','color':'green'},{'text':'n '}]'},'bold':true}',Text2:'{'text':'by ','color':'aqua','bold':true}',Text3:'{'text':'MT_Redstone','color':'dark_red','bold':true}',Text4:'{'text':'}'}},{id:commandblock_minecart,Command:setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:'{'text':'Click','color':'red'}',Text2:'{'text':'to','color':'red'}',Text3:'{'text':'Destroy','color':'red'}',Text4:'{'text':'the Machine','color':'red','clickEvent':{'action':'run_command','value':'fill ~ ~-2 ~-2 ~17 ~2 ~2 air'}}'}},{id:commandblock_minecart,Command:fill ~3 ~-2 ~-1 ~17 ~ ~1 chain_command_block 5},{id:commandblock_minecart,Command:setblock ~3 ~ ~ chain_command_block 3},{id:commandblock_minecart,Command:fill ~17 ~ ~ ~4 ~ ~ chain_command_block 4},{id:commandblock_minecart,Command:setblock ~17 ~ ~-1 chain_command_block 3},{id:commandblock_minecart,Command:setblock ~3 ~-1 ~-1 chain_command_block 1},{id:commandblock_minecart,Command:fill ~17 ~-1 ~-1 ~4 ~-1 ~-1 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~17 ~-1 ~ chain_command_block 2},{id:commandblock_minecart,Command:setblock ~3 ~-1 ~1 chain_command_block 2},{id:commandblock_minecart,Command:fill ~17 ~-1 ~1 ~4 ~-1 ~1 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~17 ~-2 ~1 chain_command_block 1},{id:commandblock_minecart,Command:setblock ~3 ~-2 ~ chain_command_block 3},{id:commandblock_minecart,Command:fill ~13 ~-2 ~ ~4 ~-2 ~ chain_command_block 4},{id:commandblock_minecart,Command:fill ~15 ~-2 ~ ~14 ~-2 ~ chain_command_block 12},{id:commandblock_minecart,Command:fill ~17 ~-2 ~ ~16 ~-2 ~ chain_command_block 4},{id:commandblock_minecart,Command:setblock ~17 ~-2 ~-1 chain_command_block 11},{id:commandblock_minecart,Command:fill ~14 ~-2 ~-1 ~16 ~-2 ~-1 chain_command_block 13},{id:commandblock_minecart,Command:fill ~11 ~-2 ~-1 ~12 ~-2 ~-1 chain_command_block 13},{id:commandblock_minecart,Command:fill ~8 ~-2 ~-1 ~9 ~-2 ~-1 chain_command_block 13},{id:commandblock_minecart,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5},{id:commandblock_minecart,Command:blockdata ~5 ~ ~1 {auto:1,Command:'/execute @e[tag=Slots,score_random_min=7,score_random=7] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'barrier',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~1 {auto:1,Command:'/execute @e[tag=Slots,score_random_min=6,score_random=6] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'lapis_block',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~1 {auto:1,Command:'/execute @e[tag=Slots,score_random_min=5,score_random=5] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'redstone_block',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~ {auto:1,Command:'/execute @e[tag=Slots,score_random_min=4,score_random=4] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'iron_block',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~ {auto:1,Command:'/execute @e[tag=Slots,score_random_min=3,score_random=3] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'gold_block',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~5 ~ ~ {auto:1,Command:'/execute @e[tag=Slots,score_random_min=2,score_random=2] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'emerald_block',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~6 ~ ~ {auto:1,Command:'/execute @e[tag=Slots,score_random_min=1,score_random=1] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'diamond_block',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~7 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 2}},{id:commandblock_minecart,Command:blockdata ~8 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 3}},{id:commandblock_minecart,Command:blockdata ~9 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 1}},{id:commandblock_minecart,Command:blockdata ~10 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 4}},{id:commandblock_minecart,Command:blockdata ~11 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 5}},{id:commandblock_minecart,Command:blockdata ~12 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 6}},{id:commandblock_minecart,Command:blockdata ~13 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 7}},{id:commandblock_minecart,Command:blockdata ~14 ~ ~ {auto:1,Command:kill @e[tag=Coins,score_Score=0]}},{id:commandblock_minecart,Command:blockdata ~15 ~ ~ {auto:1,Command:'execute @e[tag=Coins,score_Score_min=1] ~ ~ ~ /summon item ~ ~3 ~ {CustomName:'Coin',CustomNameVisible:1,Tags:['CI'],Item:{id:double_plant,Count:1b,tag:{HideFlags:63,display:{Name:'Coin',Lore:[Used in Slot Machines]}}},Motion:[0:0.0d,1:1.0d,2:-0.1d]}'}},{id:commandblock_minecart,Command:blockdata ~16 ~ ~ {auto:1,Command:/scoreboard players remove @e[tag=Coins,score_Score_min=1] Score 10}},{id:commandblock_minecart,Command:blockdata ~17 ~ ~ {auto:1,Command:'execute @e[tag=Coins] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:['Reset'],Invisible:1b,NoGravity:1b}'}},{id:commandblock_minecart,Command:blockdata ~17 ~ ~-1 {auto:1,Command:execute @e[tag=Coins] ~ ~ ~ fill ~-1 ~ ~ ~1 ~ ~ glass}},{id:commandblock_minecart,Command:blockdata ~16 ~ ~-1 {auto:1,Command:execute @e[tag=Coins] ~ ~ ~ scoreboard players reset @e[name=Machine] Score}},{id:commandblock_minecart,Command:blockdata ~15 ~ ~-1 {auto:1,Command:execute @e[tag=Coins] ~ ~ ~ /scoreboard players operation @e[c=1,tag=Coins] Score = @e[name=Machine,c=1,score_Score_min=1] Score}},{id:commandblock_minecart,Command:blockdata ~14 ~ ~-1 {auto:1,Command:'execute @e[name=Machine,score_Score_min=1,tag=Win] ~ ~ ~ /summon area_effect_cloud ~ ~ ~ {Tags:['Coins'],Particle:mobSpell,ReapplicationDelay:0,Radius:0f,RadiusPerTick:0f,WaitTime:100}'}},{id:commandblock_minecart,Command:blockdata ~13 ~ ~-1 {auto:1,Command:execute @e[name=Machine,score_Score_min=40,score_Score=40] ~ ~ ~ fill ~-1 ~ ~ ~1 ~ ~ glass}},{id:commandblock_minecart,Command:blockdata ~12 ~ ~-1 {auto:1,Command:execute @e[tag=IRL,score_stoptimer_min=1] ~ ~ ~-1 /spreadplayers ~ ~ 1 2 false @e[name=IRLI,tag=!OG]}},{id:commandblock_minecart,Command:blockdata ~11 ~ ~-1 {auto:1,Command:kill @e[tag=IRL,score_stoptimer=0]}},{id:commandblock_minecart,Command:blockdata ~10 ~ ~-1 {auto:1,Command:'execute @e[tag=IRL,score_stoptimer_min=1] ~ ~ ~ summon Item ~ ~2.5 ~ {Motion:[0.0,1.0,-0.15],Item:{id:'minecraft:iron_ingot',Count:1},CustomName:'IRLI',Passengers:[{id:'Item',Item:{id:'minecraft:redstone',Count:1b}},{id:'Item',Item:{id:'minecraft:dye',Damage:4s,Count:1b}}]}'}},{id:commandblock_minecart,Command:blockdata ~9 ~ ~-1 {auto:1,Command:execute @e[name=Machine,score_Score_min=40,score_Score=40] ~ ~ ~ scoreboard players set @e[tag=IRL,c=1] stoptimer 20}},{id:commandblock_minecart,Command:blockdata ~8 ~ ~-1 {auto:1,Command:'execute @e[name=Machine,score_Score_min=40,score_Score=40] ~ ~ ~ summon area_effect_cloud ~ ~ ~ {Tags:['IRL'],ReapplicationDelay:0,Radius:0f,RadiusPerTick:0f,WaitTime:100}'}},{id:commandblock_minecart,Command:blockdata ~7 ~ ~-1 {auto:1,Command:execute @e[name=Machine,score_Score_min=50,score_Score=50] ~ ~ ~ fill ~-1 ~ ~ ~1 ~ ~ glass}},{id:commandblock_minecart,Command:blockdata ~6 ~ ~-1 {auto:1,Command:execute @e[tag=GE,score_stoptimer_min=1] ~ ~ ~-1 /spreadplayers ~ ~ 1 2 false @e[name=GEI,tag=!OG]}},{id:commandblock_minecart,Command:blockdata ~5 ~ ~-1 {auto:1,Command:kill @e[tag=GE,score_stoptimer=0]}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~-1 {auto:1,Command:'execute @e[tag=GE,score_stoptimer_min=1] ~ ~ ~ summon Item ~ ~2.5 ~ {Motion:[0.0,1.0,-0.15],Item:{id:'minecraft:gold_ingot',Count:1},CustomName:'GEI',Passengers:[{id:'Item',Item:{id:'minecraft:emerald',Count:1b}}]}'}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~-1 {auto:1,Command:execute @e[name=Machine,score_Score_min=50,score_Score=50] ~ ~ ~ scoreboard players set @e[tag=GE,c=1] stoptimer 32}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~-1 {auto:1,Command:'execute @e[name=Machine,score_Score_min=50,score_Score=50] ~ ~ ~ summon area_effect_cloud ~ ~ ~ {Tags:['GE'],ReapplicationDelay:0,Radius:0f,RadiusPerTick:0f,WaitTime:100}'}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~-1 {auto:1,Command:/scoreboard players tag @e[tag=DiaI] add OG {OnGround:1b}}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~-1 {auto:1,Command:execute @e[tag=Dia,score_stoptimer_min=1] ~ ~ ~-1 /spreadplayers ~ ~ 1 2 false @e[name=DiaI,tag=!OG]}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~-1 {auto:1,Command:execute @e[name=Machine,score_Score_min=60,score_Score=60] ~ ~ ~ fill ~-1 ~ ~ ~1 ~ ~ glass}},{id:commandblock_minecart,Command:blockdata ~7 ~-1 ~-1 {auto:1,Command:kill @e[tag=Dia,score_stoptimer=0]}},{id:commandblock_minecart,Command:blockdata ~8 ~-1 ~-1 {auto:1,Command:/scoreboard players remove @e[score_stoptimer_min=1,tag=!Slots] stoptimer 1}},{id:commandblock_minecart,Command:blockdata ~9 ~-1 ~-1 {auto:1,Command:'execute @e[tag=Dia,score_stoptimer_min=1] ~ ~ ~ summon Item ~ ~2.5 ~ {Motion:[0.0,1.0,-0.15],Item:{id:'minecraft:diamond',Count:1},CustomName:'DiaI'}'}},{id:commandblock_minecart,Command:blockdata ~10 ~-1 ~-1 {auto:1,Command:execute @e[name=Machine,score_Score_min=60,score_Score=60] ~ ~ ~ scoreboard players set @e[tag=Dia,c=1] stoptimer 64}},{id:commandblock_minecart,Command:blockdata ~11 ~-1 ~-1 {auto:1,Command:'execute @e[name=Machine,score_Score_min=60,score_Score=60] ~ ~ ~ summon area_effect_cloud ~ ~ ~ {Tags:['Dia'],ReapplicationDelay:0,Radius:0f,RadiusPerTick:0f,WaitTime:100}'}},{id:commandblock_minecart,Command:blockdata ~12 ~-1 ~-1 {auto:1,Command:kill @e[tag=Reset]}},{id:commandblock_minecart,Command:blockdata ~13 ~-1 ~-1 {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ fill ~-2 ~1 ~ ~2 ~-1 ~ cobblestone_wall 0 replace air}},{id:commandblock_minecart,Command:blockdata ~14 ~-1 ~-1 {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ fill ~-2 ~2 ~ ~2 ~2 ~ stone_slab 3}},{id:commandblock_minecart,Command:blockdata ~15 ~-1 ~-1 {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ fill ~2 ~1 ~1 ~-2 ~-1 ~1 stained_hardened_clay 15 }},{id:commandblock_minecart,Command:blockdata ~16 ~-1 ~-1 {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ fill ~1 ~-1 ~ ~-1 ~-1 ~ stained_hardened_clay}},{id:commandblock_minecart,Command:blockdata ~17 ~-1 ~-1 {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ fill ~-1 ~1 ~ ~1 ~1 ~ stained_hardened_clay}},{id:commandblock_minecart,Command:blockdata ~17 ~-1 ~ {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ /setblock ~-1 ~-1 ~-1 hopper 3}},{id:commandblock_minecart,Command:blockdata ~16 ~-1 ~ {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ fill ~-1 ~ ~ ~1 ~ ~ glass}},{id:commandblock_minecart,Command:blockdata ~15 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~-1 ~ ~ {NoGravity:1b,Invisible:1b,Tags:['Test']}'}},{id:commandblock_minecart,Command:blockdata ~14 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~1 ~ ~ {NoGravity:1b,Invisible:1b,Tags:['Test']}'}},{id:commandblock_minecart,Command:blockdata ~13 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~-1 ~-2.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot3','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~12 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~-1 ~-1.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot3','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~11 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~-1 ~-.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot3','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~10 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~ ~-2.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot2','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~9 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~ ~-.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot2','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~8 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~1 ~-2.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot1','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~7 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~1 ~-1.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot1','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ summon armor_stand ~1 ~-0.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot1','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~ ~ ~ {NoGravity:1b,Invisible:1b,Tags:['Test']}'}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~ ~-1.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot2','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~ ~ ~ {CustomName:'Machine',NoGravity:1b,Invisible:1b}'}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~1 {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ kill @e[type=armor_stand,r=3,tag=!Reset]}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~1 {auto:1,Command:execute @e[tag=Win] ~ ~ ~ detect ~-1 ~ ~ lapis_block 0 execute @e[tag=Win] ~ ~ ~ detect ~ ~ ~ lapis_block 0 execute @e[tag=Win] ~ ~ ~ detect ~1 ~ ~ lapis_block 0 scoreboard players set @e[c=1,name=Machine] Score 40}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~1 {auto:1,Command:execute @e[tag=Win] ~ ~ ~ detect ~-1 ~ ~ redstone_block 0 execute @e[tag=Win] ~ ~ ~ detect ~ ~ ~ redstone_block 0 execute @e[tag=Win] ~ ~ ~ detect ~1 ~ ~ redstone_block 0 scoreboard players set @e[c=1,name=Machine] Score 40}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~1 {auto:1,Command:execute @e[tag=Win] ~ ~ ~ detect ~-1 ~ ~ iron_block 0 execute @e[tag=Win] ~ ~ ~ detect ~ ~ ~ iron_block 0 execute @e[tag=Win] ~ ~ ~ detect ~1 ~ ~ iron_block 0 scoreboard players set @e[c=1,name=Machine] Score 40}},{id:commandblock_minecart,Command:blockdata ~7 ~-1 ~1 {auto:1,Command:execute @e[tag=Win] ~ ~ ~ detect ~-1 ~ ~ emerald_block 0 execute @e[tag=Win] ~ ~ ~ detect ~ ~ ~ emerald_block 0 execute @e[tag=Win] ~ ~ ~ detect ~1 ~ ~ emerald_block 0 scoreboard players set @e[c=1,name=Machine] Score 50}},{id:commandblock_minecart,Command:blockdata ~8 ~-1 ~1 {auto:1,Command:execute @e[tag=Win] ~ ~ ~ detect ~-1 ~ ~ gold_block 0 execute @e[tag=Win] ~ ~ ~ detect ~ ~ ~ gold_block 0 execute @e[tag=Win] ~ ~ ~ detect ~1 ~ ~ gold_block 0 scoreboard players set @e[c=1,name=Machine] Score 50}},{id:commandblock_minecart,Command:blockdata ~9 ~-1 ~1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~-1 ~ ~ diamond_block 0 execute @e[name=Machine] ~ ~ ~ detect ~ ~ ~ diamond_block 0 execute @e[name=Machine] ~ ~ ~ detect ~1 ~ ~ diamond_block 0 scoreboard players set @e[c=1,name=Machine] Score 60}},{id:commandblock_minecart,Command:blockdata ~10 ~-1 ~1 {auto:1,Command:/scoreboard players operation @e[c=1,name=Machine] Score /= @e[c=1,name=Machine] konst}},{id:commandblock_minecart,Command:blockdata ~11 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ detect ~ ~ ~ lapis_block 0 scoreboard players add @e[c=1,name=Machine] Score 10}},{id:commandblock_minecart,Command:blockdata ~12 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ detect ~ ~ ~ redstone_block 0 scoreboard players add @e[c=1,name=Machine] Score 10}},{id:commandblock_minecart,Command:blockdata ~13 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ detect ~ ~ ~ iron_block 0 scoreboard players add @e[c=1,name=Machine] Score 10}},{id:commandblock_minecart,Command:blockdata ~14 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ detect ~ ~ ~ emerald_block 0 scoreboard players add @e[c=1,name=Machine] Score 20}},{id:commandblock_minecart,Command:blockdata ~15 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ detect ~ ~ ~ gold_block 0 scoreboard players add @e[c=1,name=Machine] Score 20}},{id:commandblock_minecart,Command:blockdata ~16 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ detect ~ ~ ~ diamond_block 0 scoreboard players add @e[c=1,name=Machine] Score 30}},{id:commandblock_minecart,Command:blockdata ~17 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ scoreboard players set @e[c=1,name=Machine] Score 0}},{id:commandblock_minecart,Command:blockdata ~17 ~-2 ~1 {auto:1,Command:execute @e[tag=Slot3,score_stoptimer=1,score_stoptimer_min=1] ~ ~ ~ scoreboard players tag @e[c=1,name=Machine] add Win}},{id:commandblock_minecart,Command:blockdata ~16 ~-2 ~1 {auto:1,Command:/scoreboard players remove @e[score_stoptimer_min=1] stoptimer 1}},{id:commandblock_minecart,Command:blockdata ~15 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=7,score_random_min=7] ~ ~ ~ setblock ~ ~1 ~ dirt}},{id:commandblock_minecart,Command:blockdata ~14 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=6,score_random_min=6] ~ ~ ~ setblock ~ ~1 ~ lapis_block}},{id:commandblock_minecart,Command:blockdata ~13 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=5,score_random_min=5] ~ ~ ~ setblock ~ ~1 ~ redstone_block}},{id:commandblock_minecart,Command:blockdata ~12 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=4,score_random_min=4] ~ ~ ~ setblock ~ ~1 ~ iron_block}},{id:commandblock_minecart,Command:blockdata ~11 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=3,score_random_min=3] ~ ~ ~ setblock ~ ~1 ~ gold_block}},{id:commandblock_minecart,Command:blockdata ~10 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=2,score_random_min=2] ~ ~ ~ setblock ~ ~1 ~ emerald_block}},{id:commandblock_minecart,Command:blockdata ~9 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=1,score_random_min=1] ~ ~ ~ setblock ~ ~1 ~ diamond_block}},{id:commandblock_minecart,Command:blockdata ~8 ~-2 ~1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~ ~-1 ~-1 stone_button 12 setblock ~ ~-1 ~-1 air}},{id:commandblock_minecart,Command:blockdata ~7 ~-2 ~1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~ ~-1 ~-1 stone_button 12 scoreboard players set @e[c=3,tag=Slot3] stoptimer 60}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~ ~-1 ~-1 stone_button 12 scoreboard players set @e[c=3,tag=Slot2] stoptimer 40}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~ ~-1 ~-1 stone_button 12 scoreboard players set @e[c=3,tag=Slot1] stoptimer 20}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~1 {auto:1,Command:/scoreboard players tag @e remove tp}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~1 {auto:1,Command:tp @e[tag=tp] ~ ~ ~-1}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~ {auto:1,Command:tp @e[tag=tp] ~ ~3 ~}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~ {auto:1,Command:tp @e[tag=tp] ~ ~ ~1}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~ {auto:1,Command:execute @e[tag=rotate,score_MoveDown=0] ~ ~ ~ detect ~ ~2 ~ glass 0 scoreboard players tag @e[c=1,tag=Slots] add tp}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~ {auto:1,Command:execute @e[tag=rotate,score_MoveDown=0] ~ ~ ~ detect ~ ~2 ~ glass 0 scoreboard players set @e[c=1,tag=rotate] random 0}},{id:commandblock_minecart,Command:blockdata ~7 ~-2 ~ {auto:1,Command:/scoreboard players remove @e[score_MoveDown_min=1] MoveDown 1}},{id:commandblock_minecart,Command:blockdata ~8 ~-2 ~ {auto:1,Command:tp @e[score_MoveDown_min=1] ~ ~-0.125 ~}},{id:commandblock_minecart,Command:blockdata ~9 ~-2 ~ {auto:1,Command:execute @e[tag=rotate,score_MoveDown=0] ~ ~ ~ detect ~ ~ ~ glass -1 scoreboard players set @e[c=1,tag=rotate] MoveDown 8}},{id:commandblock_minecart,Command:blockdata ~10 ~-2 ~ {auto:1,Command:execute @e[tag=rotate,score_MoveDown=0] ~ ~ ~ detect ~ ~-1 ~ glass -1 scoreboard players set @e[c=1,tag=rotate] MoveDown 8}},{id:commandblock_minecart,Command:blockdata ~11 ~-2 ~ {auto:1,Command:execute @e[tag=rotate] ~ ~ ~ detect ~ ~1 ~ glass -1 scoreboard players set @e[c=1,tag=rotate] MoveDown 8}},{id:commandblock_minecart,Command:blockdata ~12 ~-2 ~ {auto:1,Command:/scoreboard players set @e[c=1,name=Machine] konst2 10}},{id:commandblock_minecart,Command:blockdata ~13 ~-2 ~ {auto:1,Command:/scoreboard players set @e[c=1,name=Machine] konst 3}},{id:commandblock_minecart,Command:blockdata ~14 ~-2 ~ {auto:1,Command:execute @e[name=Machine] ~ ~ ~ kill @e[type=armor_stand,r=4]}},{id:commandblock_minecart,Command:blockdata ~15 ~-2 ~ {auto:1,Command:execute @e[name=Machine] ~ ~ ~ fill ~2 ~-1 ~1 ~-2 ~2 ~-1 air}},{id:commandblock_minecart,Command:blockdata ~16 ~-2 ~ {auto:1,Command:'execute @e[name=Machine] ~ ~ ~ testforblock ~-1 ~-1 ~-1 hopper 3 {Items:[0:{id:'minecraft:torch',Count:1b}],id:'minecraft:hopper'}'}},{id:commandblock_minecart,Command:blockdata ~17 ~-2 ~ {auto:1,Command:kill @e[tag=Reset1]}},{id:commandblock_minecart,Command:blockdata ~17 ~-2 ~-1 {auto:1,Command:execute @a ~ ~ ~ detect ~ ~-1 ~ chest -1 tp @p ~ ~ ~-1 0 0}},{id:commandblock_minecart,Command:blockdata ~16 ~-2 ~-1 {auto:1,Command:tp @e[tag=Reset] ~ ~ ~0.5 }},{id:commandblock_minecart,Command:blockdata ~15 ~-2 ~-1 {auto:1,Command:'execute @a ~ ~ ~ detect ~ ~-1 ~ chest -1 execute @e[tag=Reset1,c=1] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:['Reset']}'}},{id:commandblock_minecart,Command:blockdata ~14 ~-2 ~-1 {auto:1,Command:'execute @a ~ ~ ~ detect ~ ~-1 ~ chest -1 summon item_frame ~ ~ ~ {Tags:['Reset1']}'}},{id:commandblock_minecart,Command:blockdata ~13 ~-2 ~-1 {auto:1,Command:'execute @a ~ ~ ~ /testforblock ~ ~-1 ~ chest -1 {Items:[0:{Slot:0b,id:'minecraft:iron_ingot',Count:1b,Damage:0s},1:{Slot:1b,id:'minecraft:gold_ingot',Count:1b,Damage:0s},2:{Slot:7b,id:'minecraft:gold_ingot',Count:1b,Damage:0s},3:{Slot:8b,id:'minecraft:iron_ingot',Count:1b,Damage:0s},4:{Slot:9b,id:'minecraft:iron_ingot',Count:1b,Damage:0s},5:{Slot:10b,id:'minecraft:gold_ingot',Count:1b,Damage:0s},6:{Slot:13b,id:'minecraft:redstone_block',Count:1b,Damage:0s},7:{Slot:16b,id:'minecraft:gold_ingot',Count:1b,Damage:0s},8:{Slot:17b,id:'minecraft:iron_ingot',Count:1b,Damage:0s},9:{Slot:18b,id:'minecraft:iron_ingot',Count:1b,Damage:0s},10:{Slot:19b,id:'minecraft:gold_ingot',Count:1b,Damage:0s},11:{Slot:25b,id:'minecraft:gold_ingot',Count:1b,Damage:0s},12:{Slot:26b,id:'minecraft:iron_ingot',Count:1b,Damage:0s}]}'}},{id:commandblock_minecart,Command:blockdata ~12 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ setblock ~-1 ~-1 ~-1 air}},{id:commandblock_minecart,Command:blockdata ~11 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ setblock ~1 ~-1 ~-1 stone_button}},{id:commandblock_minecart,Command:blockdata ~10 ~-2 ~-1 {auto:1,Command:'execute @e[name=Machine] ~ ~ ~ testforblock ~-1 ~-1 ~-1 hopper 3 {Items:[0:{id:'minecraft:gold_nugget',Count:1b}],id:'minecraft:hopper'}'}},{id:commandblock_minecart,Command:blockdata ~9 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ setblock ~-1 ~-1 ~-1 air}},{id:commandblock_minecart,Command:blockdata ~8 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ setblock ~1 ~-1 ~-1 stone_button}},{id:commandblock_minecart,Command:blockdata ~7 ~-2 ~-1 {auto:1,Command:'execute @e[name=Machine] ~ ~ ~ testforblock ~-1 ~-1 ~-1 hopper 3 {Items:[0:{id:'minecraft:double_plant',Count:1b,tag:{HideFlags:63,display:{Lore:[0:'Used in Slot Machines'],Name:'Coin'}},Damage:0s}],id:'minecraft:hopper'}'}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~1 ~-1 ~-1 stone_button 12 setblock ~1 ~-1 ~-1 air}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~1 ~-1 ~-1 stone_button 12 setblock ~ ~-1 ~-1 stone_button 4}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~1 ~-1 ~-1 stone_button 12 scoreboard players set @e[c=9,tag=Slots] MoveDown 0}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~1 ~-1 ~-1 stone_button 12 scoreboard players tag @e[c=9,tag=Slots] add rotate}},{id:commandblock_minecart,Command:setblock ~ ~ ~1 command_block 0 0 {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~1 redstone_block},{id:commandblock_minecart,Command:kill @e[type=commandblock_minecart,r=1]}]}]}]}