Guest User

HrUtils.2

a guest
Aug 26th, 2017
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.89 KB | None | 0 0
  1. options:
  2.  
  3. enable-build-command : true
  4. Servidores-Nome: &6Servidores &7(Clique Direito)
  5. Servidores-Item: compass
  6. Servidores-Slot: 4
  7.  
  8. Lobby-Nome: &9Lobby &7(Clique Direito)
  9. Lobby-Item: nether star
  10. Lobby-Slot: 2
  11.  
  12. Preferencias-Nome: &cPreferencias
  13. Preferencias-Item: redstone repeater
  14. Preferencias-Slot: 8
  15.  
  16.  
  17. Comestico-Nome: &5Comestico
  18. Comestico-Item: pumpkin
  19. Comestico-Slot: 6
  20. JumpPadWorld: World
  21. JumpPadMaterial: 165
  22. JumpPadBoost: 3
  23. JumpPadParticle: lava
  24. JumpPadNumberParticle: 20
  25. JumpPadSound: tile.piston.in
  26. enable-build-command : true
  27.  
  28. variables:
  29. {building} = true
  30. {CChuva.CeCelo} = true
  31.  
  32. on join:
  33. if player has permission "fly.lobby":
  34. loop 150 times:
  35. send "" to player
  36. send "" to player
  37. set action bar of player to " &a* Seja bem-vindo ao servidor. Divirta-se!"
  38. loop 150 times:
  39. send "" to player
  40. set action bar of player to " &a* Seja bem-vindo ao servidor. Divirta-se!"
  41. loop 150 times:
  42. send "" to player
  43. set action bar of player to " &a* Seja bem-vindo ao servidor. Divirta-se!"
  44. wait 4 second
  45. set action bar of player to " &e* Nunca utilize a mesma senha de outros servidores"
  46. set action bar of player to " &e* Nunca utilize a mesma senha de outros servidores"
  47. set action bar of player to " &e* Nunca utilize a mesma senha de outros servidores"
  48. wait 4 second
  49. set action bar of player to " &e* Para alterar sua senha digite /changepassword"
  50. set action bar of player to " &e* Para alterar sua senha digite /changepassword"
  51. set action bar of player to " &e* Para alterar sua senha digite /changepassword"
  52. send "" to player
  53. set player's fly mode to true
  54. set player's gamemode to adventure
  55.  
  56. else:
  57. loop 150 times:
  58. send "" to player
  59. on join:
  60. set action bar of player to " &a* Seja bem-vindo ao servidor. Divirta-se!"
  61. set action bar of player to " &a* Seja bem-vindo ao servidor. Divirta-se!"
  62. set action bar of player to " &a* Seja bem-vindo ao servidor. Divirta-se!"
  63. wait 4 second
  64. set action bar of player to " &e* Nunca utilize a mesma senha de outros servidores"
  65. set action bar of player to " &e* Nunca utilize a mesma senha de outros servidores"
  66. set action bar of player to " &e* Nunca utilize a mesma senha de outros servidores"
  67. wait 4 second
  68. set action bar of player to " &e* Para alterar sua senha digite /changepassword"
  69. set action bar of player to " &e* Para alterar sua senha digite /changepassword"
  70. set action bar of player to " &e* Para alterar sua senha digite /changepassword"
  71. set player's fly mode to false
  72. set player's gamemode to adventure
  73. on quit:
  74. set player's fly mode to false
  75. on drop:
  76. if player has permission "dropar.block":
  77. stop
  78. else:
  79. cancel event
  80. stop
  81. on inventory click:
  82. if player has permission "inv.block":
  83. stop
  84. else:
  85. cancel event
  86.  
  87. stop
  88. command /gamemode [<text>]:
  89. aliases: gm
  90. trigger:
  91. if player has permission "lobby.gamemode":
  92. if arg 1 is set:
  93. if arg 1 is "0":
  94. set player's gamemode to survival
  95. set action bar of player to "&e * Voce mudou seu modo de jogo para &6Sobrevivencia&e."
  96. stop
  97. if arg 1 is "1":
  98. set player's gamemode to creative
  99. set action bar of player to "&e * Voce mudou seu modo de jogo para &6Criativo&e."
  100. stop
  101. if arg 1 is "2":
  102. set player's gamemode to adventure
  103. set action bar of player to "&e * Voce mudou seu modo de jogo para &6Aventura&e."
  104. stop
  105. else:
  106. send "" to player
  107. send " &6* escolha um dos modo de jogo a baixo (0,1 ou 2)." to player
  108. send " &6* /gm (sobrevivencia - criativo - aventura) " to player
  109. send "" to player
  110. stop
  111. else:
  112. send "" to player
  113. send " &6* escolha um dos modo de jogo a baixo (0,1 ou 2)." to player
  114. send " &6* /gm (sobrevivencia - criativo - aventura) " to player
  115. send "" to player
  116. stop
  117. command /removenpc [<text>]:
  118. aliases: removernpc
  119. trigger:
  120. if player has permission "lobby.admin":
  121. if arg 1 is set:
  122. if arg 1 is "factions":
  123. loop all entities:
  124. name of loop-entity contains "&c&lFactions"
  125. kill loop-entity
  126. set action bar of player to "&e * Npc Retirado Com Sucesso."
  127. stop
  128. if arg 1 is "hg":
  129. loop all entities:
  130. name of loop-entity contains "&c&lHg"
  131. kill loop-entity
  132. set action bar of player to "&e * Npc Retirado Com Sucesso."
  133. stop
  134. if arg 1 is "FullPvP":
  135. loop all entities:
  136. name of loop-entity contains "&c&lFullPvP"
  137. kill loop-entity
  138. set action bar of player to "&e * Npc Retirado Com Sucesso."
  139. stop
  140. else:
  141. send "" to player
  142. send " &6* para retirar npc use os comando abaixo." to player
  143. send " &6* /removenpc (factions - hg - fullpvp) " to player
  144. send "" to player
  145. stop
  146. else:
  147. send "" to player
  148. send " &6* para retirar npc use os comando abaixo." to player
  149. send " &6* /removenpc (factions - hg - fullpvp) " to player
  150. send "" to player
  151. stop
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162. on walk on {@JumpPadMaterial}:
  163. if player is in "{@JumpPadWorld}":
  164. push player upward with force 1
  165. push player south at speed {@JumpPadBoost}
  166. if {JumpPadSound} is true:
  167. play raw sound "{@JumpPadSound}" at player with pitch 1 volume 10
  168. if player has permission "jumpads.vip":
  169. spawn {@JumpPadNumberParticle} of particle {@JumpPadParticle} at player
  170. stop
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178. command /aviso [<text>]:
  179. trigger:
  180. broadcast "&c&lAVISO: &a%arg 1%"
  181. stop
  182. command /voar:
  183. Permission: lobby.fly
  184. aliases: fly
  185. trigger:
  186. If {fly.%player%} is not set:
  187. set action bar of player to "&a * Voce ativou seu modo &aFLY."
  188. set player's flight mode to true
  189. Set {fly.%player%} to true
  190. Stop
  191. set action bar of player to "&c * Voce desativou seu modo &cFLY."
  192. set player's flight mode to false
  193. Delete {fly.%player%}
  194. Stop
  195.  
  196. command /build:
  197. permission: lobby.build
  198. trigger:
  199. if {@enable-build-command} is true:
  200. if {building} is false:
  201. set {building} to true
  202. set action bar of player to "&a * Voce ativou seu modo build."
  203. else:
  204. if {building} is true:
  205. set {building} to false
  206. set action bar of player to "&c * Voce desativou seu modo build."
  207. else:
  208. set action bar of player to "&c * Voce desativou seu modo build."
  209. set {building} to false
  210. on place:
  211. if {building} is false:
  212. cancel event
  213. set action bar of player to "&c * Seu Build Esta Desativado"
  214. on break:
  215. if {building} is false:
  216. cancel event
  217. set action bar of player to "&c * Seu Build Esta Desativado"
  218.  
  219. stop
  220.  
  221.  
  222.  
  223.  
  224.  
  225. #
  226. on join:
  227. set slot {@Servidores-Slot} of player to {@Servidores-Item} named "{@Servidores-Nome}"
  228. set slot {@Lobby-Slot} of player to {@Lobby-Item} named "{@Lobby-Nome}"
  229. set slot {@Preferencias-Slot} of player to {@Preferencias-Item} named "{@Preferencias-Nome}"
  230. set slot {@Comestico-Slot} of player to {@Comestico-Item} named "{@Comestico-Nome}"
  231. on respawn:
  232. set slot {@Servidores-Slot} of player to {@Servidores-Item} named "{@Servidores-Nome}"
  233. set slot {@Lobby-Slot} of player to {@Lobby-Item} named "{@Lobby-Nome}"
  234. set slot {@Preferencias-Slot} of player to {@Preferencias-Item} named "{@Preferencias-Nome}"
  235. set slot {@Comestico-Slot} of player to {@Comestico-Item} named "{@Comestico-Nome}"
  236.  
  237. on rightclick:
  238. if player is holding {@Servidores-Item} named "{@Servidores-Nome}":
  239. cancel event
  240. make player execute command "/servidores"
  241.  
  242. on rightclick:
  243. if player is holding {@Preferencias-Item} named "{@Preferencias-Nome}":
  244. cancel event
  245. set action bar of player to "&cSistema em desenvolvimento."
  246.  
  247.  
  248. on rightclick:
  249. if player is holding {@Lobby-Item} named "{@Lobby-Nome}":
  250. cancel event
  251. make player execute command "/Lobby"
  252.  
  253.  
  254. on rightclick:
  255. if player is holding {@Comestico-Item} named "{@Comestico-Nome}":
  256. cancel event
  257. set action bar of player to "&cSistema em desenvolvimento."
  258. command /servidores:
  259. trigger:
  260. wait 0.2 seconds
  261. open chest with 3 rows named "&c&lServidores" to player
  262. wait a tick
  263. format slot 11 of player with player head named "&6Factions" with lore "&8Estilo: Factions ." to close then run [make player execute command "/server factions"]
  264. format slot 13 of player with player head named "&6FullPvP" with lore "&8Estilo: FullPvP ." to close then run [make player execute command "/server FullPvP"]
  265. format slot 15 of player with player head named "&6Hg" with lore "&8Estilo: Hg ." to close then run [make player execute command "/server hg"]
  266.  
  267. options: world
  268. on damage:
  269. if damage cause is void:
  270. if victim is in world {@Worlds}:
  271. cancel event
  272. teleport victim to world's spawn
  273. if {@Message-Enabled} is true:
  274. stop
  275.  
  276. on weather change to rain or thunder:
  277. if {LCChuva.CeCelo} is true:
  278. cancel event
  279. stop
  280. every 20 ticks:
  281. loop all players:
  282. set {onlineplayers} to amount of players
  283. every 20 ticks:
  284. loop all players:
  285. set {onlineplayers} to amount of players
  286.  
  287. command /online:
  288. trigger:
  289. set action bar of player to "&cPlayers Online No Momento: %{onlineplayers}%"
  290. at 12:00 in world "spawn":
  291. set time to 10:00
  292. on damage:
  293. victim is a player
  294. victim has permission "lobby.voar"
  295. cancel event
  296. command /setarnpc [<text>]:
  297. aliases: setnpc
  298. trigger:
  299. if player has permission "lobby.admin":
  300. if arg 1 is set:
  301. if arg 1 is "factions":
  302. spawn 1 villager at location of player
  303. set name of last spawned entity to "&c&lFactions"
  304. apply slowness 255 to last spawned entity for 999 days
  305. set action bar of player to "&e * Npc Setado Com Sucesso."
  306. stop
  307. if arg 1 is "hg":
  308. spawn 1 villager at location of player
  309. set name of last spawned entity to "&c&lHg"
  310. apply slowness 255 to last spawned entity for 999 days
  311. set action bar of player to "&e * Npc Setado Com Sucesso."
  312. stop
  313. if arg 1 is "fullpvp":
  314. spawn 1 villager at location of player
  315. set name of last spawned entity to "&c&lFullPvP"
  316. apply slowness 255 to last spawned entity for 999 days
  317. set action bar of player to "&e * Npc Setado Com Sucesso."
  318. stop
  319. else:
  320. send "" to player
  321. send " &6* Para setar algum npc use os comando abaixo." to player
  322. send " &6* /setarnpc (factions - fullpvp - hg) " to player
  323. send "" to player
  324. stop
  325. else:
  326. send "" to player
  327. send " &6* Para setar algum npc use os comando abaixo." to player
  328. send " &6* /setarnpc (factions - fullpvp - hg) " to player
  329. send "" to player
  330. stop
  331.  
  332.  
  333.    
  334.  
  335. on damage:
  336. name of victim contains "&c&lFactions"
  337. cancel event
  338. on damage:
  339. name of victim contains "&c&lFullPvP"
  340. cancel event
  341. on damage:
  342. name of victim contains "&c&lHg"
  343. cancel event
  344.        
  345. on right click on entity:
  346. name of clicked entity contains "&c&lFactions":
  347. make player execute command "/server factions"
  348. cancel event
  349. on right click on entity:
  350. name of clicked entity contains "&c&lFullPvP":
  351.        make player execute command "/server FullPvP"
  352. cancel event
  353. on right click on entity:
  354. name of clicked entity contains "&c&lHg":
  355.        make player execute command "/server Hg"
  356. cancel event
  357.  
  358.  
  359. on join:
  360. loop all players:
  361. reveal loop-player to player
  362. set slot 0 of player to light green dye named "&fJogadores: &aAtivados" with lore "&7Click para ocultar os jogadores"
  363.  
  364. on rightclick with light green dye:
  365. cancel event
  366. send "&cTodos jogadores foram ocultados"
  367. loop all players:
  368. hide loop-player to player
  369. wait 0.5 ticks
  370. set tool of player to gray dye named "&fJogadores: &cDesativados" with lore "&7Click para apareçer jogadores"
  371.  
  372. on rightclick with gray dye:
  373. cancel event
  374. send "&aTodos Jogadores Revelados"
  375. loop all players:
  376. reveal loop-player to player
  377. wait 0.5 ticks
  378. set tool of player to light green dye named "&fJogadores: &aAtivados" with lore "&7Click para ocultar os jogadores"
Advertisement
Add Comment
Please, Sign In to add comment