Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Creado Por SrPandaStick#
- #vercion: [v1.2]#
- options:
- name: &C&lTNT&8&lBattle &9&l»&a
- mundo: TB
- on join:
- set {join.%player%} to false
- command tntbattle [<text>] [<text>]:
- aliases: tb
- permission: tntbattle.admin
- permission message: {@name} &cno puedes ejecutar este comando
- trigger:
- if arg 2 is not set:
- if arg 1 is not set:
- send "&a&l&m----------------------------------"
- send " &C&lTNT&8&lBattle"
- send ""
- send "&9&l» &6/TNTBattle setspawn &a->&e Coloca el spawn"
- send "&9&l» &6/TNTBattle join &a->&e Comando para entrar"
- send "&9&l» &6/TNTBattle leave &a->&e Comando para salir"
- send "&6&l» &eBy: SrPandaStick"
- send "&a&l&m----------------------------------"
- stop
- else if arg 1 is "setspawn":
- set {arena.tb} to location of player
- send "{@name} el spawn fue colocado!"
- stop
- else if arg 1 is "leave":
- if {join.%player%} is true:
- if world of player is "{@mundo}":
- broadcast "{@name} %player% &ESalio de la partida!"
- clear player's inventory
- teleport player to {potition.%player%}
- set {join.%player%} to false
- stop
- else:
- send "{@name} no estas en el mundo de la partida"
- stop
- else:
- send "{@name} no estas dentro de la partida"
- stop
- else if arg 1 is "join":
- if {join.%player%} is true:
- send "{@name} ya estas en el juego!, encaso de ser un error sal del servidor y vuelve a entrar!"
- stop
- else:
- set {potition.%player%} to location of player
- teleport player to {arena.tb}
- set {join.%player%} to true
- if world of player is "{@mundo}":
- set player's chestplate to diamond chestplate of protection 1 and unbreaking 1 named "&C&lTNT&8&lBattle"
- set player's boots to diamond boots of protection 1 and unbreaking 1 named "&C&lTNT&8&lBattle"
- set player's helmet to diamond helmet of protection 1 and unbreaking 1 named "&C&lTNT&8&lBattle"
- set player's leggings to diamond leggings of protection 1 and unbreaking 1 named "&C&lTNT&8&lBattle"
- give player 1 blaze rod of sharpness 1 named "&C&lTNT&8&lBattle"
- give player 10 golden apple named "&C&lTNT&8&lBattle"
- give player 16 cooked beef named "&C&lTNT&8&lBattle"
- give player 64 stone named "&C&lTNT&8&lBattle"
- give player 64 stone named "&C&lTNT&8&lBattle"
- give player 64 stone named "&C&lTNT&8&lBattle"
- loop all players:
- broadcast "{@name} %player% &eEntro a la partida!"
- stop
- else:
- if arg 1 is "noticias":
- set {_noticias} to arg-2
- send "{@name} las noticias fueron actualizadas"
- send "&6&l[%{_noticias}%]"
- stop
- on break:
- if world of player is "{@mundo}":
- send "{@name} &CNo puedes romper!"
- cancel event
- stop
- on quit:
- if world of player is "{@mundo}":
- broadcast "{@name} %player% &ESalio de la partida!"
- clear player's inventory
- teleport player to {potition.%player%}
- set {join.%player%} to false
- stop
- on command "/sk reload" or "/sk reload all":
- if {join.%player%} is true:
- if world of player is "{@mundo}":
- broadcast "{@name} %player% &ESalio de la partida!"
- clear player's inventory
- teleport player to {potition.%player%}
- set {join.%player%} to false
- stop
- on drop:
- if world of player is "{@mundo}":
- cancel event
- on respawn:
- if {join.%player%} is true:
- if world of player is "{@mundo}":
- teleport player to {arena.tb}
- set player's chestplate to diamond chestplate of protection 1 and unbreaking 1 named "&C&lTNT&8&lBattle"
- set player's boots to diamond boots of protection 1 and unbreaking 1 named "&C&lTNT&8&lBattle"
- set player's helmet to diamond helmet of protection 1 and unbreaking 1 named "&C&lTNT&8&lBattle"
- set player's leggings to diamond leggings of protection 1 and unbreaking 1 named "&C&lTNT&8&lBattle"
- give player 1 blaze rod of sharpness 1 named "&C&lTNT&8&lBattle"
- give player 10 golden apple named "&C&lTNT&8&lBattle"
- give player 16 cooked beef named "&C&lTNT&8&lBattle"
- give player 64 stone named "&C&lTNT&8&lBattle"
- give player 64 stone named "&C&lTNT&8&lBattle"
- give player 64 stone named "&C&lTNT&8&lBattle"
- #ATAQUE#
- On rightclick:
- if world of player is "{@mundo}":
- if player's tool is blaze rod named "&C&lTNT&8&lBattle":
- if {time.%player%} is true:
- set {time.%player%} to false
- shoot a tnt from the player
- stop
- else:
- send "{@name} espera &e1&a segundo para disparar!"
- wait 1 second
- set {time.%player%} to true
- stop
- on explode:
- entity is tnt:
- cancel event
- stop
- on place of a stone:
- wait 15 second
- set block to air
- on death:
- if world of player is "{@mundo}":
- clear drops
Advertisement
Add Comment
Please, Sign In to add comment