Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /Tienda4798 [<text>] [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- wait 2 ticks
- open chest with 1 rows named "&8Tienda de UHC Economy" to player
- wait 3 ticks
- format slot 3 of player with book named "&eGuia" with lore "&f||&7Observa los coins de cada evento||&7aqui estara el diccionario de cuanto||&7vale cada item||&f||&6Click para abrir" to close then run [make player execute command "/tienda4798 guia"]
- format slot 5 of player with crafting table named "&eTienda" with lore "&f||&7Compra todo tipo de cosas||&7armaduras , herramientas, armas ||&7manzanas y mucho más||&f||&6Click para comprar" to close then run [make player execute command "/tienda4798 compra"]
- format slot 0 of player with sunflower named "&eTus coins" with lore "&f||&7Tus puntos son: &b %{Coins.%player%} % " to close
- if arg 1 is "guia":
- wait 2 ticks
- open chest with 3 rows named "&8Guia de puntos" to player
- wait 3 ticks
- format slot 0 of player with diamond pickaxe named "&eValor de ores" with lore "&f||&7Los ores tienen||&7el siguiente valor" to close
- format slot 2 of player with 5 coal ore named "&6Valor de el Ore de Carbon" with lore "&f||&7Por romper el ore te dara||&b 5 Coins" to close
- format slot 3 of player with 10 iron ore named "&6Valor de el Ore de Iron" with lore "&f||&7Por romper el ore te dara||&b 10 Coins" to close
- format slot 4 of player with 30 gold ore named "&6Valor de el Ore de Oro" with lore "&f||&7Por romper el ore te dara||&b 30 Coins" to close
- format slot 5 of player with 30 lapis lazuli ore named "&6Valor de el Ore de Lapis Lazuli" with lore "&f||&7Por romper el ore te dara||&b 30 Coins" to close
- format slot 6 of player with 40 diamond ore named "&6Valor de el Ore de Diamante" with lore "&f||&7Por romper el ore te dara||&b 40 Coins" to close
- format slot 7 of player with 20 redstone ore named "&6Valor de el Ore de Redstone" with lore "&f||&7Por romper el ore te dara||&b 20 Coins" to close
- format slot 8 of player with emerald ore named "&6Valor de el Ore de Esmeralda" with lore "&f||&7Por romper el ore te dara||&b 100 Coins" to close
- format slot 9 of player with iron sword named "&eValor de mobs" with lore "&f||&7Al matar algun mob te||&7dara el siguiente valor" to close
- format slot 11 of player with 10 zombie spawn egg named "&eAl asesinar a un Zombie" with lore "&f||&7Al matarlo te dara||&b10 coins" to close
- format slot 12 of player with 15 skeleton spawn egg named "&eAl asesinar a un Eskeleto" with lore "&f||&7Al matarlo te dara||&b15 coins" to close
- format slot 13 of player with 15 creeper spawn egg named "&eAl asesinar a un Creeper" with lore "&f||&7Al matarlo te dara||&b15 coins" to close
- format slot 14 of player with 20 spider spawn egg named "&eAl asesinar a una Araña" with lore "&f||&7Al matarlo te dara||&b20 coins" to close
- format slot 15 of player with 30 blaze spawn egg named "&eAl asesinar a un Blaze" with lore "&f||&7Al matarlo te dara||&b30 coins" to close
- format slot 18 of player with player's skull named "&eValor de asesinar a un jugador" with lore "&f||&7Al matar algun jugador se te dara||&b100 coins " to close
- format slot 26 of player with arrow named "&7Regresar al menu" with lore "&f||&cClick para regresar" to close then run [make player execute command "/tienda4798 "]
- if arg 1 is "compra":
- wait 2 ticks
- open chest with 1 rows named "&8Tienda de Veil" to player
- wait 3 ticks
- format slot 0 of player with enchanted book named "&eLibros" with lore "&f||&7Compra tus libros encantados||&7o algo de libreria" to run [make player execute command "/tienda4798 compra libros "]
- format slot 2 of player with iron chestplate named "&eArmadura" with lore "&f||&7Equipate de la mejor||&7manera para poder ser el mejor." to run [make player execute command "/tienda4798 compra armor "]
- format slot 4 of player with diamond sword named "&eArmas" with lore "&f||&7Escoje las mejores armas||&7para asesinar a tus enemigos." to run [make player execute command "/tienda4798 compra armas"]
- format slot 6 of player with golden axe named "&eHerramientas" with lore "&f||&7Escoje herramientas que te ||&7ayudaran a ganar." to run [make player execute command "/tienda4798 compra herramientas"]
- format slot 8 of player with golden apple named "&eObjetos OP" with lore "&f||&7Aqui estan los mejores objetos||&7mas OP que te ayudaran a ganar" to run [make player execute command "/tienda4798 compra op "]
- if arg 1 is "compra":
- if arg 2 is "armor":
- open chest with 1 rows named "&8Armadura " to player
- wait 3 ticks
- format slot 0 of player with diamond helmet named "&6Casco de Diamante" with lore "&f||&7Cuesta: &b100 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy armor helmet "]
- format slot 1 of player with diamond chestplate named "&6Pechera de Diamante" with lore "&f||&7Cuesta: &b175 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy armor chestplate "]
- format slot 2 of player with diamond leggings named "&6Pantalones de Diamante" with lore "&f||&7Cuesta: &b150 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy armor leggings "]
- format slot 3 of player with diamond boots named "&6Botas de Diamante" with lore "&f||&7Cuesta: &b100 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy armor boots "]
- format slot 8 of player with arrow named "&7Regresar al menu" with lore "&f||&cClick para regresar" to close then run [make player execute command "/tienda4798 compra "]
- if arg 2 is "armas":
- wait 1 tick
- open chest with 1 rows named "&8Armas " to player
- wait 3 ticks
- format slot 0 of player with iron sword named "&6Espada de Iron" with lore "&f||&7Cuesta: &b150 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy armas iron "]
- format slot 1 of player with diamond sword named "&6Espada de Diamante" with lore "&f||&7Cuesta: &b200 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy armas diamond "]
- format slot 2 of player with bow named "&6Arco" with lore "&f||&7Cuesta: &b300 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy armas bow "]
- format slot 3 of player with 64 arrow named "&664 Flechas" with lore "&f||&7Cuesta: &b150 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy armas arrow "]
- format slot 8 of player with arrow named "&7Regresar al menu" with lore "&f||&cClick para regresar" to close then run [make player execute command "/tienda4798 compra "]
- if arg 2 is "libros":
- wait 1 tick
- open chest with 2 rows named "&8Libros" to player
- wait 3 ticks
- format slot 0 of player with enchantment table named "&6Mesa de encatamientos" with lore "&f||&7Cuesta: &b300 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy libros mesa"]
- format slot 1 of player with anvil named "&6Anvil" with lore "&f||&7Cuesta: &b250 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy libros anvil"]
- format slot 2 of player with enchanted book named "&6Libro de Proteccion I" with lore "&f||&7Cuesta: &b100 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy libros protec"]
- format slot 3 of player with enchanted book named "&6Libro de Power I" with lore "&f||&7Cuesta: &b100 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy libros power"]
- format slot 4 of player with enchanted book named "&6Libro de Sharpness I" with lore "&f||&7Cuesta: &b100 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy libros filo"]
- format slot 5 of player with enchanted book named "&6Libro de FireAspect I" with lore "&f||&7Cuesta: &b500 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy libros fire"]
- format slot 6 of player with enchanted book named "&6Libro de Flame I" with lore "&f||&7Cuesta: &b400 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy libros flame"]
- format slot 7 of player with 64 experience bottle named "&664 Botellas de XP" with lore "&f||&7Cuesta: &b50 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy libros xp"]
- format slot 8 of player with 64 lapis lazuli named "&664 Lapis Lazuli" with lore "&f||&7Cuesta: &b50 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy libros lapis"]
- format slot 17 of player with arrow named "&7Regresar al menu" with lore "&f||&cClick para regresar" to close then run [make player execute command "/tienda4798 compra "]
- if arg 2 is "herramientas":
- open chest with 1 rows named "&8Herramientas" to player
- wait 3 ticks
- format slot 0 of player with diamond pickaxe named "&6Pico de Diamante" with lore "&f||&7Cuesta: &b100 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy herramientas picod"]
- format slot 1 of player with iron pickaxe named "&6Pico de Iron" with lore "&f||&7Cuesta: &b75 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy herramientas picoi"]
- format slot 2 of player with fishing rod named "&6Caña" with lore "&f||&7Cuesta: &b300 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy herramientas caña"]
- format slot 3 of player with water bucket named "&6Balde de Agua" with lore "&f||&7Cuesta: &b50 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy herramientas agua"]
- format slot 4 of player with lava bucket named "&6Balde de Lava" with lore "&f||&7Cuesta: &b100 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy herramientas lava"]
- format slot 5 of player with 259 named "&6Mechero" with lore "&f||&7Cuesta: &b50 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy herramientas mechero"]
- format slot 8 of player with arrow named "&7Regresar al menu" with lore "&f||&cClick para regresar" to close then run [make player execute command "/tienda4798 compra "]
- if arg 2 is "op":
- open chest with 1 rows named "&8OP" to player
- wait 3 ticks
- format slot 0 of player with golden apple named "&6Manzana de oro" with lore "&f||&7Cuesta: &b200 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy op manzana"]
- format slot 1 of player with golden apple:1 named "&6Golden Head" with lore "&f||&7Cuesta: &b300 Coins||&f||&7Click para comprar" to run [make player execute command "/tienda4798 buy op golden"]
- format slot 2 of player with player's skull named "&6Canjea Head por GoldenHead" with lore "&f||&7Necesario: Head de Victima||&f||&7Click para cambiar por cabeza" to run [make player execute command "/tienda4798 buy op head"]
- format slot 8 of player with arrow named "&7Regresar al menu" with lore "&f||&cClick para regresar" to close then run [make player execute command "/tienda4798 compra "]
- if arg 1 is "buy":
- if arg 2 is "armor":
- if arg 3 is "helmet":
- if {Coins.%player%} is more than 100:
- send "&aHas comprado correctamente el casco de diamante"
- give diamond helmet to player
- remove 100 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "chestplate":
- if {Coins.%player%} is more than 175:
- send "&aHas comprado correctamente la pechera de diamante"
- give diamond chestplate to player
- remove 175 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "leggings":
- if {Coins.%player%} is more than 150:
- send "&aHas comprado correctamente los pantalones de diamante"
- give diamond leggings to player
- remove 150 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "boots":
- if {Coins.%player%} is more than 100:
- send "&aHas comprado correctamente las botas de diamante"
- give diamond boots to player
- remove 100 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 2 is "armas":
- if arg 3 is "iron":
- if {Coins.%player%} is more than 150:
- send "&6Has comprado correctamente la espada de iron"
- give iron sword to player
- remove 150 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "diamond":
- if {Coins.%player%} is more than 200:
- send "&6Has comprado correctamente la espada de diamante"
- give diamond sword to player
- remove 200 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "bow":
- if {Coins.%player%} is more than 300:
- send "&6Has comprado correctamente un arco"
- give bow to player
- remove 300 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "arrow":
- if {Coins.%player%} is more than 150:
- send "&6Has comprado correctamente un stack de flechas"
- give 64 arrow to player
- remove 150 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 2 is "libros":
- if arg 3 is "mesa":
- if {Coins.%player%} is more than 300:
- send "&6Has comprado correctamente la mesa de encantar"
- give enchantment table to player
- remove 300 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "anvil":
- if {Coins.%player%} is more than 250:
- send "&6Has comprado correctamente un yunke"
- give anvil to player
- remove 250 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "protec":
- if {Coins.%player%} is more than 100:
- send "&6Has comprado correctamente un libro de proteccion I"
- give enchanted book of protection 1 to player
- remove 100 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "power":
- if {Coins.%player%} is more than 100:
- send "&6Has comprado correctamente un libro de power I"
- give enchanted book of power 1 to player
- remove 100 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "fire":
- if {Coins.%player%} is more than 500:
- send "&6Has comprado correctamente un libro de fire aspect I"
- give enchanted book of fire aspect 1 to player
- remove 500 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "flame":
- if {Coins.%player%} is more than 400:
- send "&6Has comprado correctamente un libro de flame I"
- give enchanted book of flame 1 to player
- remove 400 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "filo":
- if {Coins.%player%} is more than 100:
- send "&6Has comprado correctamente un libro de sharpness I"
- give enchanted book of sharpness 1 to player
- remove 100 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "xp":
- if {Coins.%player%} is more than 50:
- send "&6Has comprado correctamente 64 botellas de XP"
- give 64 experience bottle to player
- remove 50 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "lapis":
- if {Coins.%player%} is more than 50:
- send "&6Has comprado correctamente 64 de lapis lazuli"
- give 64 lapis lazuli to player
- remove 50 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 2 is "herramientas":
- if arg 3 is "picod":
- if {Coins.%player%} is more than 100:
- send "&6Has comprado correctamente pico de diamante"
- give diamond pickaxe to player
- remove 100 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "picoi":
- if {Coins.%player%} is more than 75:
- send "&6Has comprado correctamente pico de iron"
- give iron pickaxe to player
- remove 75 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "caña":
- if {Coins.%player%} is more than 300:
- send "&6Has comprado correctamente la caña"
- give fishing rod to player
- remove 300 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "agua":
- if {Coins.%player%} is more than 50:
- send "&6Has comprado correctamente un balde de agua"
- give water bucket to player
- remove 50 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "lava":
- if {Coins.%player%} is more than 100:
- send "&6Has comprado correctamente un balde de lava"
- give lava bucket to player
- remove 100 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "mechero":
- if {Coins.%player%} is more than 50:
- send "&6Has comprado correctamente un mechero"
- set slot 8 of player to 259 named "" with lore ""
- remove 50 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 2 is "op":
- if arg 3 is "manzana":
- if {Coins.%player%} is more than 200:
- send "&6Has comprado correctamente una manzana de oro"
- give golden apple to player
- remove 200 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "golden":
- if {Coins.%player%} is more than 300:
- send "&6Has comprado correctamente una golden head"
- give golden apple named "&6Golden Head" to player
- remove 300 from {Coins.%player%}
- else:
- send "&cNo tienes los suficientes coins para este producto"
- if arg 3 is "head":
- if player has head:
- send "&3Has canjeado correctamente una cabeza por una GoldenHead"
- give golden apple named "&6Golden Head" to player
- remove head from player's inventory
- else:
- send "&cNo tienes ninguna cabeza de ningun jugador"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement