SHOW:
|
|
- or go back to the newest paste.
| 1 | on right click on villager: | |
| 2 | cancel event | |
| 3 | execute console command "/sshop %player%" | |
| 4 | ||
| 5 | on right click on crafting table: | |
| 6 | cancel event | |
| 7 | execute console command "/sshop %player%" | |
| 8 | ||
| 9 | command /shop: | |
| 10 | trigger: | |
| 11 | if sender has permission "villager.instant": | |
| 12 | make console execute "/sshop %player%" | |
| 13 | else: | |
| 14 | - | send "&6Shop&8: &7Opening in 3 seconds!" |
| 14 | + | send "&8(&b&l!&8) &3Opening in &b3 &3seconds!" |
| 15 | wait 17 ticks | |
| 16 | - | send "&6Shop&8: &7Opening in 2 seconds!" |
| 16 | + | send "&8(&b&l!&8) &3Opening in &b2 &3seconds!" |
| 17 | wait 17 ticks | |
| 18 | - | send "&6Shop&8: &7Opening in 1 second!" |
| 18 | + | send "&8(&b&l!&8) &3Opening in &b1 &3second!" |
| 19 | wait 17 ticks | |
| 20 | make console execute "/sshop %player%" | |
| 21 | ||
| 22 | - | command /villager <text>: |
| 22 | + | |
| 23 | - | permission: villager.help |
| 23 | + | |
| 24 | - | permission message: &6Villager&8: &7You dont have access to this command! |
| 24 | + | |
| 25 | wait 1 tick | |
| 26 | - | if arg-1 is not set: |
| 26 | + | open chest with 3 rows named "&3Shop" to argument 1 |
| 27 | - | send "&6Villager&8: &7/villager (Create/Help)" |
| 27 | + | |
| 28 | - | stop |
| 28 | + | format slot 11 of argument 1 with sunflower named "&7* &6Token &7*" with lore "||&bClick to trade for tokens!||" to run "tokens %arg-1%" |
| 29 | - | if arg-1 is "help": |
| 29 | + | format slot 13 of argument 1 with wooden pickaxe named "&6Pickaxe" with lore "&bGet your pickaxe here!" to run "pickaxe %arg-1%" |
| 30 | - | send "&7&m-----------------------------------------------" |
| 30 | + | format slot 15 of argument 1 with barrier named "&cNot Here" with lore "||&cNOT HERE||" to close |
| 31 | - | send " &6Villager Help " |
| 31 | + | |
| 32 | - | send "&7&m-----------------------------------------------" |
| 32 | + | command /tokens <player>: |
| 33 | - | send "&6Permissions:" |
| 33 | + | |
| 34 | - | send " &7* &6villager.instant &7(Makes '/shop' instant)" |
| 34 | + | |
| 35 | - | send " &7* &6vilager.create &7(Allows '/villager create')" |
| 35 | + | |
| 36 | - | send " " |
| 36 | + | |
| 37 | - | stop |
| 37 | + | |
| 38 | - | if arg-1 is "create": |
| 38 | + | format slot 10 of argument 1 with sunflower named "&7* &61/2 Token &7*"||&715x Stone||" with lore "to run "tokenb %arg-1% stone" |
| 39 | - | make player execute "/execute @p ~ ~ ~ /summon villager ~ ~ ~ {NoAI:1,Invulnerable:1}"
|
| 39 | + | format slot 12 of argument 1 with 2 sunflowers named "&7* &6Token &7*" with lore "||&720x Coal||" to run "tokenb %arg-1% coal" |
| 40 | - | send "&6Shop&8: &7Create villager!" |
| 40 | + | format slot 14 of argument 1 with 3 sunflowers named "&7* &6Token &7*" with lore "||&73 1/2 Tokens||" to run "tokenb %arg-1% trade" |
| 41 | - | send "&7* &7Use a name tag to name him" |
| 41 | + | format slot 16 of argument 1 with book named "&bTransaction Payments" with lore "&7||Right Click||" to run "tokenm %arg-1%" |
| 42 | - | stop |
| 42 | + | |
| 43 | ||
| 44 | command /pickaxe <player>: | |
| 45 | permission: * | |
| 46 | trigger: | |
| 47 | wait 1 tick | |
| 48 | - | open chest with 3 rows named "&6Shop" to argument 1 |
| 48 | + | make console execute "/menu grab @p lvl1" |
| 49 | ||
| 50 | - | format slot 11 of argument 1 with iron chestplate named "&6Armor" with lore "&7The first tier of Armors" to run "armor %arg-1%" |
| 50 | + | command /tokenb <player> <text>: |
| 51 | - | format slot 13 of argument 1 with stone sword named "&6Weapons" with lore "&7Get all the Weapons here!" to run "weapons %arg-1%" |
| 51 | + | |
| 52 | - | format slot 15 of argument 1 with diamond chestplate named "&6Armor 2" with lore "&7Upgraded Armor! Cost more!" to run "armor2 %arg-1%" |
| 52 | + | |
| 53 | if arg-2 is "stone": | |
| 54 | - | command /armor <player>: |
| 54 | + | if arg 1's inventory contains 15 stone: |
| 55 | remove 15 stone from arg 1's inventory | |
| 56 | make console execute "/essentials:give %arg-1% sunflower 1 name:&7*_&61/2_Token_&7*" | |
| 57 | else: | |
| 58 | send "&8(&b&l!&b) &3You do not have &b15 &3stone!" to arg 1 | |
| 59 | if arg-2 is "coal": | |
| 60 | - | format slot 10 of argument 1 with barrier named "&cPlace holder" with lore "&7Place holder" to run "sshop %arg-1%" |
| 60 | + | if arg 1's inventory contains 20 coal: |
| 61 | - | format slot 11 of argument 1 with barrier named "&cPlace holder" with lore "&7Place holder" to run "sshop %arg-1%" |
| 61 | + | remove 20 coal from arg 1's inventory |
| 62 | - | format slot 12 of argument 1 with barrier named "&cPlace holder" with lore "&7Place holder" to run "sshop %arg-1%" |
| 62 | + | make console execute "/essentials:give %arg-1% sunflower 2 name:&7*_&6Token_&7*" |
| 63 | - | format slot 13 of argument 1 with barrier named "&cPlace holder" with lore "&7Place holder" to run "sshop %arg-1%" |
| 63 | + | |
| 64 | - | format slot 14 of argument 1 with barrier named "&cPlace holder" with lore "&7Place holder" to run "sshop %arg-1%" |
| 64 | + | send "&8(&b&l!&b) &3You do not have &b20 &3coal!" to arg 1 |
| 65 | - | format slot 15 of argument 1 with barrier named "&cPlace holder" with lore "&7Place holder" to run "sshop %arg-1%" |
| 65 | + | if arg-2 is "trade": |
| 66 | - | format slot 16 of argument 1 with barrier named "&cPlace holder" with lore "&7Place holder" to run "sshop %arg-1%" |
| 66 | + | if arg 1's inventory contains 3 sunflower named "&7* &61/2 Token &7*": |
| 67 | remove 3 sunflower from arg 1's inventory named "&7* &61/2 Token &7*": | |
| 68 | make console execute "/essentials:give %arg-1% sunflower 1 name:&7*_&6Token_&7*" | |
| 69 | - | command /weapons <player>: |
| 69 | + | |
| 70 | send "&8(&b&l!&b) &3You do not have &b3 &31/2 Tokens!" to arg 1 | |
| 71 | ||
| 72 | command /tokenm <player>: | |
| 73 | - | open chest with 3 row named "&6Weapons" to argument 1 |
| 73 | + | |
| 74 | trigger: | |
| 75 | - | format slot 10 of argument 1 with iron sword named "&6Iron Sword" with lore "&71 Gold Ingot" to run "weaponsb %arg-1% 1" |
| 75 | + | |
| 76 | - | format slot 12 of argument 1 with iron sword named "&6Iron Sword" with lore "&764 Gold Ingots|| ||&aSharp 5" to run "weaponsb %arg-1% 2" |
| 76 | + | open chest with 3 rows named "&bTransaction Payments" to argument 1 |
| 77 | - | format slot 14 of argument 1 with diamond sword named "&6Diamond Sword" with lore "&72 Stacks Of Gold Ingots" to run "weaponsb %arg-1% 3" |
| 77 | + | |
| 78 | - | format slot 16 of argument 1 with diamond sword named "&6Diamond Sword" with lore "&732 Gold Blocks|| ||&aSharp 5" to run "weaponsb %arg-1% 4" |
| 78 | + | format slot 13 of argument 1 with book named "&bPayment of $25" with lore "||&72 Tokens||" to run "tokenmb %arg-1% 25" |
| 79 | format slot 15 of argument 1 with book named "&bPayment of $100" with lore "||&77 Tokens||" to run "tokenmb %arg-1% 100" |