• 7/29/17 5:59 am
- 1.2k views • 0 today
- save_alt 51 downloads
- Progress
- 100% complete
2
[Note]:
When using Schematic use the "Include Air" option.
When using Schematic use the "Include Air" option.
DOWNLOAD NOW AVAILABLE!
Video Makers Check Here
If you are interested in making a video on this feel free to, but be sure to include a link back to this post and don't claim that you made it. You are allowed to post Adfly links or another ad link BUT you may only have people travel through one link. Multiple links to get to this posts is not allowed. If you are someone who found a video on this and they failed to follow these extremely easy rules please private message me so I can handle it. Thank you.
Command List
Admin Panel & One Command Money System
/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 ~-1 ~-3 ~-2 ~1 ~-1 ~-4 concrete 15 hollow"},{id:commandblock_minecart,Command:"fill ~-1 ~-2 ~-2 ~1 ~-2 ~-4 black_glazed_terracotta 0 0 concrete"},{id:commandblock_minecart,Command:"scoreboard scoreboard objectives add Money dummy -=Cash=-"},{id:commandblock_minecart,Command:"scoreboard players set @a Money 100"},{id:commandblock_minecart,Command:"scoreboard objectives add StarterMoney dummy AwardedYet"},{id:commandblock_minecart,Command:"scoreboard players set @a StarterMoney 1"},{id:commandblock_minecart,Command:"tellraw @a \"\",{\"text\":\"Vanilla Money System Started.\",\"bold\":true}]"},{id:commandblock_minecart,Command:"tellraw @a [\"\",{\"text\":\"This System Was Created By: \",\"bold\":true},{\"text\":\"MajorDOT\",\"color\":\"dark_aqua\",\"bold\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"\",\"extra\":{\"text\":\"www.PlanetMinecraft.com/Member/MajorDOT \\nwww.YouTube.com/TheDawnOfTheCreeper\",\"color\":\"green\"}]}}},{\"text\":\".\",\"bold\":true,\"color\":\"none\"}]"},{id:commandblock_minecart,Command:"tellraw @a [\"\",{\"text\":\"Hover Over Name For More Information.\",\"bold\":true}]"},{id:commandblock_minecart,Command:"setblock ~ ~-3 ~-1 wall_sign 3 0 {Text1:\"{\\\"text\\\":\\\"Add 1000\\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players add @a Money 1000\\\"},\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"Money\\\",\\\"color\\\":\\\"dark_green\\\",\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"To All\\\",\\\"color\\\":\\\"dark_green\\\",\\\"bold\\\":true}\",Text4:\"{\\\"text\\\":\\\"Players\\\",\\\"color\\\":\\\"dark_green\\\",\\\"bold\\\":true}\"}"},{id:commandblock_minecart,Command:"setblock ~ ~-2 ~-1 wall_sign 3 0 {Text1:\"{\\\"text\\\":\\\"Add 1000\\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players add @p Money 1000\\\"},\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"Money\\\",\\\"color\\\":\\\"dark_green\\\",\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"To Closest\\\",\\\"color\\\":\\\"dark_green\\\",\\\"bold\\\":true}\",Text4:\"{\\\"text\\\":\\\"Player\\\",\\\"color\\\":\\\"dark_green\\\",\\\"bold\\\":true}\"}"},{id:commandblock_minecart,Command:"setblock ~ ~-1 ~-1 wall_sign 3 0 {Text1:\"{\\\"text\\\":\\\"[The Big Bad]\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}\",Text2:\"{\\\"text\\\":\\\"[Admin Panel]\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true}\",Text3:\"{\\\"text\\\":\\\"Click Sign To\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":true}\",Text4:\"{\\\"text\\\":\\\"Remove Machine\\\",\\\"color\\\":\\\"red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~-2 ~-2 ~-3 ~1 ~ ~-1 air\\\"},\\\"bold\\\":true}\"}"},{id:commandblock_minecart,Command:"summon armor_stand ~ ~-2 ~-3 {CustomName:TogAct,Marker:1,NoGravity:1,Invisible:1}"},{id:commandblock_minecart,Command:"scoreboard objectives add 7Amvoq_A dummy"},{id:commandblock_minecart,Command:"fill ~ ~-2 ~-3 ~ ~-2 ~-3 chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~ ~-2 ~-3 repeating_command_block 2"},{id:commandblock_minecart,Command:"blockdata ~ ~-2 ~-3 {auto:1,Command:\"Yo, Nice sneaking in here, but this is just to house the buttons. Peace!\"}"},{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]"}]}]}]}
Example Tellraw
/Tellraw @p ["",{"text":"This is an example text. It is Bold and has a Green Color.\n","color":"green","bold":true},{"text":"When you hover over this text it will display the text 'I like pie' but in all caps and gold!\n","hoverEvent":{"action":"show_text","value":{"text":"","extra":{"text":"I LIKE PIE","color":"gold"}]}},"color":"none","bold":false},{"text":"This text will open this webpage when clicked!","clickEvent":{"action":"open_url","value":"www.planetminecraft.com/project/vanilla-minecraft-sign-shops"},"color":"none"}]
(Note: \n is the Line Break for Tellraw)
(Note: \n is the Line Break for Tellraw)
Test If Player Has Money
Lets say you need to check if a player has 10 Money. The command for this will be:
/Testfor @p[score_Money_min=10]
When using the half slab system I use for Theft Prevention you will want to use this instead though:
/Testfor @p[y=~2,r=3,score_Money_min=10]
From what I have seen you should not "Need" to add the 1 block in the direction the player is in. It should work without it.
Finally lets say you want to change the item price simply change the 10 to whatever you want:
/Testfor @p[score_Money_min=100]
OR
/Testfor @p[y=~2,r=3,score_Money_min=100]
/Testfor @p[score_Money_min=10]
When using the half slab system I use for Theft Prevention you will want to use this instead though:
/Testfor @p[y=~2,r=3,score_Money_min=10]
From what I have seen you should not "Need" to add the 1 block in the direction the player is in. It should work without it.
Finally lets say you want to change the item price simply change the 10 to whatever you want:
/Testfor @p[score_Money_min=100]
OR
/Testfor @p[y=~2,r=3,score_Money_min=100]
Test If Player Has Item
To easily test if a player has an item without removing it you can use the following command:
/Clear @p Cobblestone 0 0
Use Condition setting on the command block to fire a command if they do have at least one of the stated item.
To test if they have an item while also removing it simply change it to this:
/Clear @p Cobblestone 0 1
WARNING: Don't take more than 1 item when using the shop because it will take anything up to that. For example the following code will take 1, 2, 3, blah blah all the way up to 16. Allowing players to abuse the system. Always make the Clear Command take 1 at a time!
/Clear @p Cobblestone 0 16
/Clear @p Cobblestone 0 0
Use Condition setting on the command block to fire a command if they do have at least one of the stated item.
To test if they have an item while also removing it simply change it to this:
/Clear @p Cobblestone 0 1
WARNING: Don't take more than 1 item when using the shop because it will take anything up to that. For example the following code will take 1, 2, 3, blah blah all the way up to 16. Allowing players to abuse the system. Always make the Clear Command take 1 at a time!
/Clear @p Cobblestone 0 16
How To Generate Commands Easily!
Signs That Do Commands
Tellraw Generator
Item Generators (And More)
More like this
3991175
2


Have something to say?