Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {almas.%player%} = 0
- options:
- Item1: 2
- Item2: 2
- Item3: 2
- Item4: 2
- Item5: 2
- Item6: 4
- Item7: 4
- Item8: 4
- Item9: 4
- Item10: 4
- Item12: 6
- Item13: 6
- Item14: 6
- Item15: 6
- Item16: 6
- Item18: 8
- on death:
- chance of 75%:
- give the victim's skull to the attacker
- stop
- command /mercadonegro:
- trigger:
- open chest with 3 rows named "&5Mercado Negro" to player
- wait 1 tick
- format slot 11 of player with a Ender Pearl named "&aLoja" with lore "&7Clique aqui para abrir a loja do mercado negro." to run [make player execute command "/mercadonegroloja"]
- format slot 15 of player with a player head named "&aAlmas - Vender" with lore "&7Clique aqui para vender suas almas." to run [make player execute command "/venderalmas1"]
- command /mercadonegroloja:
- trigger:
- open chest with 6 rows named "&5Mercado Negro &8-&a Loja (1/3)" to player
- wait 1 tick
- format slot 13 of player with a Diamond Helmet of Protection 5 and Unbreaking 5 named "&aCapacete P5INQ5" with lore "&aPreço: {@Item1} Almas" to run [make player execute command "/compraritem1"]
- format slot 22 of player with a Diamond Chestplate of Protection 5 and Unbreaking 5 named "&aPeitoral P5INQ5" with lore "&aPreço: {@Item2} Almas" to run [make player execute command "/compraritem2"]
- format slot 31 of player with a Diamond Leggings of Protection 5 and Unbreaking 5 named "&aCalça P5INQ5" with lore "&aPreço: {@Item3} Almas" to run [make player execute command "/compraritem3"]
- format slot 40 of player with a Diamond Boots of Protection 5 and Unbreaking 5 named "&aBota P5INQ5" with lore "&aPreço: {@Item4} Almas" to run [make player execute command "/compraritem4"]
- format slot 23 of player with 64 Golden Apple:1 named "&cMaçã do CAPIROTO" with lore "&aPreço: {@Item5}" to run [make player execute command "/compraritem5"]
- format slot 21 of player with a Diamond Sword of Sharpness 9 and Unbreaking 9 and Fire Aspect 9 named "&aEspada FULL 9" with lore "&aPreço: {@Item6}" to run [make player execute command "/compraritem6"]
- format slot 53 of player with a Arrow named "&aPróxima página" to run [make player execute command "/mercadonegroloja2"]
- command /mercadonegroloja2:
- trigger:
- open chest with 6 rows named "&5Mercado Negro &8-&a Loja (2/3)" to player
- wait 1 tick
- format slot 13 of player with a Diamond Helmet of Protection 6 and Unbreaking 6 named "&aCapacete P6INQ6" with lore "&aPreço: {@Item7} Almas" to run [make player execute command "/compraritem7"]
- format slot 22 of player with a Diamond Chestplate of Protection 6 and Unbreaking 6 named "&aPeitoral P6INQ6" with lore "&aPreço: {@Item8} Almas" to run [make player execute command "/compraritem8"]
- format slot 31 of player with a Diamond Leggings of Protection 6 and Unbreaking 6 named "&aCalça P6INQ6" with lore "&aPreço: {@Item9} Almas" to run [make player execute command "/compraritem9"]
- format slot 40 of player with a Diamond Boots of Protection 6 and Unbreaking 6 named "&aBota P6INQ6" with lore "&aPreço: {@Item10} Almas" to run [make player execute command "/compraritem10"]
- format slot 23 of player with 64 Golden Apple:1 named "&cMaçã do CAPIROTO" with lore "&aPreço: {@Item5}" to run [make player execute command "/compraritem5"]
- format slot 21 of player with a Diamond Sword of Sharpness 10 and Unbreaking 10 and Fire Aspect 10 named "&aEspada FULL 10" with lore "&aPreço: {@Item12}" to run [make player execute command "/compraritem12"]
- format slot 53 of player with a Arrow named "&aPróxima página" to run [make player execute command "/mercadonegroloja3"]
- format slot 45 of player with a Arrow named "&aPágina anterior" to run [make player execute command "/mercadonegroloja"]
- command /mercadonegroloja3:
- trigger:
- open chest with 6 rows named "&5Mercado Negro &8-&a Loja (3/3)" to player
- wait 1 tick
- format slot 13 of player with a Diamond Helmet of Protection 7 and Unbreaking 7 named "&aCapacete P7INQ7" with lore "&aPreço: {@Item13} Almas" to run [make player execute command "/compraritem13"]
- format slot 22 of player with a Diamond Chestplate of Protection 7 and Unbreaking 7 named "&aPeitoral P7INQ7" with lore "&aPreço: {@Item14} Almas" to run [make player execute command "/compraritem14"]
- format slot 31 of player with a Diamond Leggings of Protection 7 and Unbreaking 7 named "&aCalça P7INQ7" with lore "&aPreço: {@Item15} Almas" to run [make player execute command "/compraritem15"]
- format slot 40 of player with a Diamond Boots of Protection 7 and Unbreaking 7 named "&aBota P7INQ7" with lore "&aPreço: {@Item16} Almas" to run [make player execute command "/compraritem16"]
- format slot 23 of player with 64 Golden Apple:1 named "&cMaçã do CAPIROTO" with lore "&aPreço: {@Item5}" to run [make player execute command "/compraritem5"]
- format slot 21 of player with a Diamond Sword of Sharpness 11 and Unbreaking 11 and Fire Aspect 11 named "&aEspada FULL 11" with lore "&aPreço: {@Item18}" to run [make player execute command "/compraritem18"]
- format slot 45 of player with a Arrow named "&aPágina anterior" to run [make player execute command "/mercadonegroloja2"]
- command /venderalmas1:
- trigger:
- if player's inventory has player head:
- set {_Q} to number of player head in player's inventory
- remove all player head from player
- add {_Q} to {almas.%player%}
- send "&aVocê vendeu %{_Q}% almas."
- else:
- send "&cVocê não tem almas para vender."
- command /compraritem1:
- trigger:
- if {almas.%player%} is more or equal to {@Item1}:
- give 1 diamond helmet of Protection 5 and Unbreaking 5 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item1} almas."
- remove {@Item1} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem2:
- trigger:
- if {almas.%player%} is more or equal to {@Item2}:
- give 1 diamond chestplate of Protection 5 and Unbreaking 5 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item2} almas."
- remove {@Item2} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem3:
- trigger:
- if {almas.%player%} is more or equal to {@Item3}:
- give 1 diamond leggings of Protection 5 and Unbreaking 5 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item3} almas."
- remove {@Item3} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem4:
- trigger:
- if {almas.%player%} is more or equal to {@Item4}:
- give 1 diamond boots of Protection 5 and Unbreaking 5 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item4} almas."
- remove {@Item4} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem5:
- trigger:
- if {almas.%player%} is more or equal to {@Item5}:
- give 64 golden apple:1 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item5} almas."
- remove {@Item5} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem6:
- trigger:
- if {almas.%player%} is more or equal to {@Item6}:
- give 1 diamond sword of Sharpness 9 and Unbreaking 9 and Fire Aspect 9 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item6} almas."
- remove {@Item6} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem7:
- trigger:
- if {almas.%player%} is more or equal to {@Item7}:
- give 1 diamond helmet of Protection 6 and Unbreaking 6 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item7} almas."
- remove {@Item7} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem8:
- trigger:
- if {almas.%player%} is more or equal to {@Item8}:
- give 1 diamond chestplate of Protection 6 and Unbreaking 6 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item8} almas."
- remove {@Item8} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem9:
- trigger:
- if {almas.%player%} is more or equal to {@Item9}:
- give 1 diamond leggings of Protection 6 and Unbreaking 6 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item9} almas."
- remove {@Item9} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem10:
- trigger:
- if {almas.%player%} is more or equal to {@Item10}:
- give 1 diamond boots of Protection 6 and Unbreaking 6 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item10} almas."
- remove {@Item10} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem12:
- trigger:
- if {almas.%player%} is more or equal to {@Item12}:
- give 1 diamond sword of Sharpness 10 and Unbreaking 10 and Fire Aspect 10 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item12} almas."
- remove {@Item12} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem13:
- trigger:
- if {almas.%player%} is more or equal to {@Item13}:
- give 1 diamond helmet of Protection 7 and Unbreaking 7 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item13} almas."
- remove {@Item13} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem14:
- trigger:
- if {almas.%player%} is more or equal to {@Item14}:
- give 1 diamond chestplate of Protection 7 and Unbreaking 7 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item14} almas."
- remove {@Item14} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem15:
- trigger:
- if {almas.%player%} is more or equal to {@Item15}:
- give 1 diamond leggings of Protection 7 and Unbreaking 7 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item15} almas."
- remove {@Item15} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem16:
- trigger:
- if {almas.%player%} is more or equal to {@Item16}:
- give 1 diamond boots of Protection 7 and Unbreaking 7 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item16} almas."
- remove {@Item16} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /compraritem18:
- trigger:
- if {almas.%player%} is more or equal to {@Item18}:
- give 1 diamond sword of Sharpness 11 and Unbreaking 11 and Fire Aspect 11 with lore "&5Item comprado no Mercado Negro." to the player
- send "&aVocê comprou um item no mercado negro por {@Item18} almas."
- remove {@Item18} from {almas.%player%}
- else:
- send "&cVocê não tem almas suficientes para comprar este item."
- command /almas [<text>] [<offlineplayer>] [<integer>]:
- trigger:
- if arg 1 is set:
- if arg 1 is "ver":
- if arg 2 is set:
- send "&aO jogador %arg 2% tem %{almas.%arg 2%}% almas."
- else:
- send "&aVocê tem %{almas.%player%}% almas."
- if arg 1 is "enviar":
- if arg 1 is set:
- if arg 2 is set:
- if arg 3 is set:
- if arg 2 is "%player%":
- send "&cVocê não pode enviar almas para você mesmo."
- stop
- else:
- if {almas.%player%} is more or equal to arg 3:
- add arg 3 to {almas.%arg 2%}
- send "&aVocê enviou %arg 3% almas para %arg 2%."
- send "&a%player% enviou %arg 3% almas para você." to arg 2
- remove arg 3 from {almas.%player%}
- else:
- send "&cVocê não tem essa quantia de almas para enviar."
- else:
- make player execute command "/almas"
- else:
- make player execute command "/almas"
- else:
- make player execute command "/almas"
- if arg 1 is "remover":
- if player has permission "almas.admin":
- if arg 1 is set:
- if arg 2 is set:
- if arg 3 is set:
- if {almas.%arg 2%} is more or equal to arg 3:
- remove arg 3 from {almas.%arg 2%}
- send "&aVocê removeu %arg 3% almas de %arg 2%"
- send "&a%player% removeu %arg 3% almas de você." to arg 2
- else:
- send "&cO jogador não tem essas almas."
- else:
- make player execute command "/almas"
- else:
- make player execute command "/almas"
- else:
- make player execute command "/almas"
- else:
- send "&eVocê precisa do grupo &4Gerente&e ou superior para executar este comando."
- if arg 1 is "adicionar":
- if player has permission "almas.admin":
- if arg 1 is set:
- if arg 2 is set:
- if arg 3 is set:
- add arg 3 to {almas.%arg 2%}
- send "&aVocê adicionou %arg 3% almas para %arg 2%"
- send "&a%player% adicionou %arg 3% almas para você." to arg 2
- else:
- make player execute command "/almas"
- else:
- make player execute command "/almas"
- else:
- make player execute command "/almas"
- else:
- send "&eVocê precisa do grupo &4Gerente&e ou superior para executar este comando."
- if arg 1 is not "remover" or "ver" or "enviar" or "adicionar":
- make player execute command "/almas"
- else:
- if player has permission "almas.admin":
- send " "
- send "&aAlmas - COMANDOS"
- send " "
- send "&a/mercadonegro &f- Venda suas almas ou compre itens com elas."
- send "&a/almas ver &f- Veja quantas almas você ou outros jogadores tem."
- send "&a/almas enviar (jogador) (quantidade) &f- Envie uma quantia de almas para um certo jogador."
- send " "
- send "&a/almas remover (jogador) (quantia)&f - Remove uma certa quantia de almas para um certo jogador"
- send "&a/almas adicionar (jogador) (quantia)&f - Adiciona uma certa quantia de almas para um certo jogador"
- else:
- send " "
- send "&aAlmas - COMANDOS"
- send " "
- send "&a/mercadonegro &f- Venda suas almas ou compre itens com elas."
- send "&a/almas ver &f- Veja quantas almas você ou outros jogadores tem."
- send "&a/almas enviar (jogador) (quantidade) &f- Envie uma quantia de almas para um certo jogador."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement