Guest User

Untitled

a guest
Dec 14th, 2016
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. command /natal [<text>]:
  2. trigger:
  3. if arg 1 is "iniciar":
  4. if player has permission "natal.admin":
  5. if {evento.on} is "true":
  6. send "&dEvento ja começou"
  7. else:
  8. set {evento.on} to "true"
  9. broadcast "&c&l ► Evento natal começou, a cada 1 hora (In-Game) uma caixa especial vai ser dropada no spawn"
  10. if arg 1 is "cancelar":
  11. if player has permission "natal.admin":
  12. set {evento.on} to "false"
  13. broadcast "&c&l ► &cEvento natal cancelado"
  14. if arg 1 is "setbau":
  15. if player has permission "natal.admin":
  16. set {local} to location of player
  17. send "&b&l[&f&lNatal&b&l]&f ► Bau setado"
  18. if arg 1 is "bau":
  19. if player has permission "natal.admin":
  20. drop 1 chest named "&bPresente" at {local}
  21. broadcast "&b&l[&f&lNatal&b&l]&f ► Uma caixa foi solta no /spawn"
  22. if arg 1 is not set:
  23. send "&b&l-----------------------------------------"
  24. send "&b&l/natal iniciar - &fInicie o evento natal"
  25. send "&b&l/natal cancelar - &fCancele o evento natal"
  26. send "&b&l/natal setbau - &fMarque o lugar onde o presente ira aparecer"
  27. send "&b&l/natal bau - &fSpawne um presente"
  28. send "&b&l-----------------------------------------"
  29.  
  30. every 1 hours:
  31. drop 1 chest named "&bPresente" at {local}
  32. broadcast "&b&l[&f&lNatal&b&l]&f► Uma caixa foi solta no /spawn"
  33.  
  34. on rightclick with a Chest:
  35. cancel event
  36. if name of tool of player is "&bPresente":
  37. remove 1 chest with name "&bPresente" from player
  38. if player has permission "vip.use":
  39. chance of 99%:
  40. give 10 Diamonds to player
  41. give 10 bread to player
  42. give 10 apple to player
  43. give 10 Enchanted Golden Apple to player
  44. send "&c >> Ola,%player% Olhamos seu perfil e vimos que voce e um jogador &6[Vip]&c, Agora voce ira ganhar um Presente especial"
  45. chance of 1%:
  46. give 3 Monster Spawner named "&6&lGaiola VIP" to player
  47. give 128 Diamonds to player
  48. give 64 bread to player
  49. give 20 apple to player
  50. give 25 Enchanted Golden Apple to player
  51. send "&c >> Ola,%player% Olhamos seu perfil e vimos que voce e um jogador &6[Vip]&c, Agora voce ira ganhar um Presente especial"
  52. else:
  53. chance of 99%:
  54. give 3 Diamonds to player
  55. give 3 bread to player
  56. give 3 apple to player
  57. give 1 Enchanted Golden Apple to player
  58. send "&c&l >> Você ganhou um Presente"
  59. chance of 1%:
  60. give 1 Monster Spawner named "&6&lGaiola VIP" to player
  61. give 22 Diamonds to player
  62. give 10 bread to player
  63. give 10 apple to player
  64. give 2 Enchanted Golden Apple to player
  65. send "&c&l >> Você ganhou um Presente"
Advertisement
Add Comment
Please, Sign In to add comment