Advertisement
Guest User

Untitled

a guest
Jul 15th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.84 KB | None | 0 0
  1. command /msg [<offlineplayer>] [<text>]:
  2. trigger:
  3. if arg 1 is set:
  4. if arg 2 is set:
  5. send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
  6. send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
  7. set {ess::%player's uuid%::reply} to arg 1
  8. set {ess::%uuid of arg 1%::reply} to player
  9. else:
  10. send "&7Uzycie komendy: &c/msg <nick> <wiadomosc>"
  11. else:
  12. send "&7Uzycie komendy: &c/msg <nick> <wiadomosc>"
  13. command /tell [<offlineplayer>] [<text>]:
  14. trigger:
  15. if arg 1 is set:
  16. if arg 2 is set:
  17. send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
  18. send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
  19. set {ess::%player's uuid%::reply} to arg 1
  20. set {ess::%uuid of arg 1%::reply} to player
  21. else:
  22. send "&7Uzycie komendy: &c/tell <nick> <wiadomosc>"
  23. else:
  24. send "&7Uzycie komendy: &c/tell <nick> <wiadomosc>"
  25. command /m [<offlineplayer>] [<text>]:
  26. trigger:
  27. if arg 1 is set:
  28. if arg 2 is set:
  29. send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
  30. send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
  31. set {ess::%player's uuid%::reply} to arg 1
  32. set {ess::%uuid of arg 1%::reply} to player
  33. else:
  34. send "&7Uzycie komendy: &c/m <nick> <wiadomosc>"
  35. else:
  36. send "&7Uzycie komendy: &c/m <nick> <wiadomosc>"
  37. command /t [<offlineplayer>] [<text>]:
  38. trigger:
  39. if arg 1 is set:
  40. if arg 2 is set:
  41. send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
  42. send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
  43. set {ess::%player's uuid%::reply} to arg 1
  44. set {ess::%uuid of arg 1%::reply} to player
  45. else:
  46. send "&7Uzycie komendy: &c/t <nick> <wiadomosc>"
  47. else:
  48. send "&7Uzycie komendy: &c/t <nick> <wiadomosc>"
  49. command /w [<offlineplayer>] [<text>]:
  50. trigger:
  51. if arg 1 is set:
  52. if arg 2 is set:
  53. send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
  54. send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
  55. set {ess::%player's uuid%::reply} to arg 1
  56. set {ess::%uuid of arg 1%::reply} to player
  57. else:
  58. send "&7Uzycie komendy: &c/w <nick> <wiadomosc>"
  59. else:
  60. send "&7Uzycie komendy: &c/w <nick> <wiadomosc>"
  61. command /whisper [<offlineplayer>] [<text>]:
  62. trigger:
  63. if arg 1 is set:
  64. if arg 2 is set:
  65. send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
  66. send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
  67. set {ess::%player's uuid%::reply} to arg 1
  68. set {ess::%uuid of arg 1%::reply} to player
  69. else:
  70. send "&7Uzycie komendy: &c/whisper <nick> <wiadomosc>"
  71. else:
  72. send "&7Uzycie komendy: &c/whisper <nick> <wiadomosc>"
  73. command /wiadomosc [<offlineplayer>] [<text>]:
  74. trigger:
  75. if arg 1 is set:
  76. if arg 2 is set:
  77. send "&2[&7%player% &3? &7Ty&2] &6%arg 2%" to arg 1
  78. send "&2[&7Ty &3? &7%arg 1%&2] &6%arg 2%"
  79. set {ess::%player's uuid%::reply} to arg 1
  80. set {ess::%uuid of arg 1%::reply} to player
  81. else:
  82. send "&7Uzycie komendy: &c/wiadomosc <nick> <wiadomosc>"
  83. else:
  84. send "&7Uzycie komendy: &c/wiadomosc <nick> <wiadomosc>"
  85.  
  86.  
  87. command /r [<text>]:
  88. trigger:
  89. if arg 1 is set:
  90. if {ess::%player's uuid%::reply} is set:
  91. if {ess::%player's uuid%::reply} is online:
  92. send "&2[&7%player% &3? &7Ty&2] &6%arg 1%" to {ess::%player's uuid%::reply}
  93. send "&2[&7Ty &3? &7%{ess::%player's uuid%::reply}%&2] &6%arg 1%"
  94. else:
  95. send "&cGracz jest offline"
  96. else:
  97. send "&cNie masz do nikogo odpowiedziec"
  98. else:
  99. send "&7Uzycie komendy: &c/r <wiadomosc>"
  100. command /reply [<text>]:
  101. trigger:
  102. if arg 1 is set:
  103. if {ess::%player's uuid%::reply} is set:
  104. if {ess::%player's uuid%::reply} is online:
  105. send "&2[&7%player% &3? &7Ty&2] &6%arg 1%" to {ess::%player's uuid%::reply}
  106. send "&2[&7Ty &3? &7%{ess::%player's uuid%::reply}%&2] &6%arg 1%"
  107. else:
  108. send "&cGracz jest offline"
  109. else:
  110. send "&cNie masz do nikogo odpowiedziec"
  111. else:
  112. send "&7Uzycie komendy: &c/reply <wiadomosc>"
  113.  
  114. options:
  115. spamhelpop: 1
  116. command /helpop [<text>]:
  117. trigger:
  118. if arg 1 is set:
  119. send "&c[HelpOP] &3%player%&7: %arg 1%" to all ops
  120. send "&aTwoja wiadomosc zostala wyslana na HELPOP." to player
  121. set {helpop.%player%} to false
  122. wait {@spamhelpop} minute
  123. set {helpop.%player%} to true
  124. if arg 1 is not set:
  125. send "&7Uzycie komendy: &c/helpop <wiadomosc>"
  126.  
  127. on command "/helpop":
  128. if {helpop.%player%} is false:
  129. cancel event
  130. send "&cNa Helpopie mozna pisac co 1 minute."
  131. command /ac [<text>]:
  132. trigger:
  133. if arg 1 is set:
  134. send "&c[HelpOP] &3%player%&7: %arg 1%" to all ops
  135. send "&aTwoja wiadomosc zostala wyslana na HELPOP." to player
  136. set {helpop.%player%} to false
  137. wait {@spamhelpop} minute
  138. set {helpop.%player%} to true
  139. if arg 1 is not set:
  140. send "&7Uzycie komendy: &c/ac <wiadomosc>"
  141.  
  142. on command "/helpop":
  143. if {helpop.%player%} is false:
  144. cancel event
  145. send "&cNa Helpopie mozna pisac co 1 minute."
  146.  
  147.  
  148.  
  149. command /gm [<text>] [<player>]:
  150. permission: essentials.gamemode
  151. permission message: &7Dostep do tej komendy ma tylko ranga &cAdmin&7 wzwyz!
  152. trigger:
  153. if arg 1 is not set:
  154. send "&7Uzycie komendy: &c/gm <tryb>" to player
  155. if arg 2 is set:
  156. if arg 1 is "1":
  157. set the gamemode of argument 2 to creative
  158. send "&c%player% &7zmienil Twoj tryb gry na &cKreatywny&7." to arg 2
  159. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cKreatywny."
  160. stop
  161. if arg 1 is "0":
  162. set the gamemode of argument 2 to survival
  163. send "&c%player% &7zmienil Twoj tryb gry na &cSurvival&7." to arg 2
  164. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cSurvival."
  165. stop
  166. if arg 1 is "2":
  167. set the gamemode of argument 2 to adventure
  168. send "&c%player% &7zmienil twoj tryb gry na &cPrzygoda&7." to arg 2
  169. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cPrzygoda&7."
  170. stop
  171. if arg 1 is "3":
  172. set the gamemode of argument 2 to spectator
  173. send "&c%player% &7zmienil twoj tryb gry na &cObserwator&7." to arg 2
  174. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cObserwator&7."
  175. stop
  176. if arg 1 is "c":
  177. set the gamemode of argument 2 to creative
  178. send "&c%player% &7zmienil Twoj tryb gry na &cKreatywny&7." to arg 2
  179. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cKreatywny."
  180. stop
  181. if arg 1 is "s":
  182. set the gamemode of argument 2 to survival
  183. send "&c%player% &7zmienil Twoj tryb gry na &cSurvival&7." to arg 2
  184. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cSurvival."
  185. stop
  186. if arg 1 is "a":
  187. set the gamemode of argument 2 to adventure
  188. send "&c%player% &7zmienil twoj tryb gry na &cPrzygoda&7." to arg 2
  189. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cPrzygoda&7."
  190. stop
  191. if arg 1 is "sp":
  192. set the gamemode of argument 2 to spectator
  193. send "&c%player% &7zmienil twoj tryb gry na &cObserwator&7." to arg 2
  194. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cObserwator&7."
  195. stop
  196. if arg 1 is "creative":
  197. set the gamemode of argument 2 to creative
  198. send "&c%player% &7zmienil Twoj tryb gry na &cKreatywny&7." to arg 2
  199. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cKreatywny."
  200. stop
  201. if arg 1 is "survival":
  202. set the gamemode of argument 2 to survival
  203. send "&c%player% &7zmienil Twoj tryb gry na &cSurvival&7." to arg 2
  204. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cSurvival."
  205. stop
  206. if arg 1 is "adventure":
  207. set the gamemode of argument 2 to adventure
  208. send "&c%player% &7zmienil twoj tryb gry na &cPrzygoda&7." to arg 2
  209. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cPrzygoda&7."
  210. stop
  211. if arg 1 is "spectator":
  212. set the gamemode of argument 2 to spectator
  213. send "&c%player% &7zmienil twoj tryb gry na &cObserwator&7." to arg 2
  214. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cObserwator&7."
  215. stop
  216. else:
  217. if arg 1 is "1":
  218. set the gamemode of the player to creative
  219. send "&7Zmieniles swoj tryb gry na &cKreatywny&7."
  220. stop
  221. if arg 1 is "0":
  222. set the gamemode of the player to survival
  223. send "&7Zmieniles swoj tryb gry na &cSurvival&7."
  224. stop
  225. if arg 1 is "2":
  226. set the gamemode of the player to adventure
  227. send "&7Zmieniles swoj tryb gry na &cPrzygoda&7."
  228. if arg 1 is "3":
  229. set the gamemode of the player to spectator
  230. send "&7Zmieniles swoj tryb gry na &cObserwator&7."
  231. if arg 1 is "c":
  232. set the gamemode of the player to creative
  233. send "&7Zmieniles swoj tryb gry na &cKreatywny&7."
  234. stop
  235. if arg 1 is "s":
  236. set the gamemode of the player to survival
  237. send "&7Zmieniles swoj tryb gry na &cSurvival&7."
  238. stop
  239. if arg 1 is "a":
  240. set the gamemode of the player to adventure
  241. send "&7Zmieniles swoj tryb gry na &cPrzygoda&7."
  242. if arg 1 is "sp":
  243. set the gamemode of the player to spectator
  244. send "&7Zmieniles swoj tryb gry na &cObserwator&7."
  245. if arg 1 is "creative":
  246. set the gamemode of the player to creative
  247. send "&7Zmieniles swoj tryb gry na &cKreatywny&7."
  248. stop
  249. if arg 1 is "survival":
  250. set the gamemode of the player to survival
  251. send "&7Zmieniles swoj tryb gry na &cSurvival&7."
  252. stop
  253. if arg 1 is "adventure":
  254. set the gamemode of the player to adventure
  255. send "&7Zmieniles swoj tryb gry na &cPrzygoda&7."
  256. if arg 1 is "obserwator":
  257. set the gamemode of the player to spectator
  258. send "&7Zmieniles swoj tryb gry na &cObserwator&7."
  259.  
  260. command /gamemode [<text>] [<player>]:
  261. permission: essentials.gamemode
  262. permission message: &7Dostep do tej komendy ma tylko ranga &cAdmin&7 wzwyz!
  263. trigger:
  264. if arg 1 is not set:
  265. send "&7Uzycie komendy: &c/gamemode <tryb>" to player
  266. if arg 2 is set:
  267. if arg 1 is "1":
  268. set the gamemode of argument 2 to creative
  269. send "&c%player% &7zmienil Twoj tryb gry na &cKreatywny&7." to arg 2
  270. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cKreatywny."
  271. stop
  272. if arg 1 is "0":
  273. set the gamemode of argument 2 to survival
  274. send "&c%player% &7zmienil Twoj tryb gry na &cSurvival&7." to arg 2
  275. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cSurvival."
  276. stop
  277. if arg 1 is "2":
  278. set the gamemode of argument 2 to adventure
  279. send "&c%player% &7zmienil twoj tryb gry na &cPrzygoda&7." to arg 2
  280. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cPrzygoda&7."
  281. stop
  282. if arg 1 is "3":
  283. set the gamemode of argument 2 to spectator
  284. send "&c%player% &7zmienil twoj tryb gry na &cObserwator&7." to arg 2
  285. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cObserwator&7."
  286. stop
  287. if arg 1 is "c":
  288. set the gamemode of argument 2 to creative
  289. send "&c%player% &7zmienil Twoj tryb gry na &cKreatywny&7." to arg 2
  290. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cKreatywny."
  291. stop
  292. if arg 1 is "s":
  293. set the gamemode of argument 2 to survival
  294. send "&c%player% &7zmienil Twoj tryb gry na &cSurvival&7." to arg 2
  295. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cSurvival."
  296. stop
  297. if arg 1 is "a":
  298. set the gamemode of argument 2 to adventure
  299. send "&c%player% &7zmienil twoj tryb gry na &cPrzygoda&7." to arg 2
  300. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cPrzygoda&7."
  301. stop
  302. if arg 1 is "sp":
  303. set the gamemode of argument 2 to spectator
  304. send "&c%player% &7zmienil twoj tryb gry na &cObserwator&7." to arg 2
  305. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cObserwator&7."
  306. stop
  307. if arg 1 is "creative":
  308. set the gamemode of argument 2 to creative
  309. send "&c%player% &7zmienil Twoj tryb gry na &cKreatywny&7." to arg 2
  310. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cKreatywny."
  311. stop
  312. if arg 1 is "survival":
  313. set the gamemode of argument 2 to survival
  314. send "&c%player% &7zmienil Twoj tryb gry na &cSurvival&7." to arg 2
  315. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cSurvival."
  316. stop
  317. if arg 1 is "adventure":
  318. set the gamemode of argument 2 to adventure
  319. send "&c%player% &7zmienil twoj tryb gry na &cPrzygoda&7." to arg 2
  320. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cPrzygoda&7."
  321. stop
  322. if arg 1 is "spectator":
  323. set the gamemode of argument 2 to spectator
  324. send "&c%player% &7zmienil twoj tryb gry na &cObserwator&7." to arg 2
  325. send "&7Zmieniles tryb gry gracza &c%arg 2% &7na &cObserwator&7."
  326. stop
  327. else:
  328. if arg 1 is "1":
  329. set the gamemode of the player to creative
  330. send "&7Zmieniles swoj tryb gry na &cKreatywny&7."
  331. stop
  332. if arg 1 is "0":
  333. set the gamemode of the player to survival
  334. send "&7Zmieniles swoj tryb gry na &cSurvival&7."
  335. stop
  336. if arg 1 is "2":
  337. set the gamemode of the player to adventure
  338. send "&7Zmieniles swoj tryb gry na &cPrzygoda&7."
  339. if arg 1 is "3":
  340. set the gamemode of the player to spectator
  341. send "&7Zmieniles swoj tryb gry na &cObserwator&7."
  342. if arg 1 is "c":
  343. set the gamemode of the player to creative
  344. send "&7Zmieniles swoj tryb gry na &cKreatywny&7."
  345. stop
  346. if arg 1 is "s":
  347. set the gamemode of the player to survival
  348. send "&7Zmieniles swoj tryb gry na &cSurvival&7."
  349. stop
  350. if arg 1 is "a":
  351. set the gamemode of the player to adventure
  352. send "&7Zmieniles swoj tryb gry na &cPrzygoda&7."
  353. if arg 1 is "sp":
  354. set the gamemode of the player to spectator
  355. send "&7Zmieniles swoj tryb gry na &cObserwator&7."
  356. if arg 1 is "creative":
  357. set the gamemode of the player to creative
  358. send "&7Zmieniles swoj tryb gry na &cKreatywny&7."
  359. stop
  360. if arg 1 is "survival":
  361. set the gamemode of the player to survival
  362. send "&7Zmieniles swoj tryb gry na &cSurvival&7."
  363. stop
  364. if arg 1 is "adventure":
  365. set the gamemode of the player to adventure
  366. send "&7Zmieniles swoj tryb gry na &cPrzygoda&7."
  367. if arg 1 is "obserwator":
  368. set the gamemode of the player to spectator
  369. send "&7Zmieniles swoj tryb gry na &cObserwator&7."
  370.  
  371. command /tp [<offlineplayer>]:
  372. trigger:
  373. if player has permission "essentials.tp":
  374. if arg-1 is set:
  375. if arg-1 is online:
  376. teleport player to arg-1
  377. send "&7Zostales przeteleportowany do gracza &c%arg-1%&2."
  378. else:
  379. send "&cBlad: &7Gracz nie jest na serwerze!"
  380. else:
  381. send "&7Uzycie komendy: &c/tp <nick>"
  382. else:
  383. send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
  384. command /s [<offlineplayer>]:
  385. trigger:
  386. if player has permission "essentials.tp":
  387. if arg-1 is set:
  388. if arg-1 is online:
  389. teleport arg-1 to player
  390. send "&7Przeteleportowales &c%arg-1% &7do siebie."
  391. send "&7Zostales przeteleportowany do administratora &c%player%&2." to arg-1
  392. else:
  393. send "&cBlad: &7Gracz nie jest na serwerze!"
  394. else:
  395. send "&7Uzycie komendy: &c/s <nick>"
  396. else:
  397. send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
  398. command /fly [<offlineplayer>]:
  399. trigger:
  400. if player has permission "essentials.fly":
  401. if arg-1 is not set:
  402. if player's fly mode is false:
  403. send "&7Ustawiles fly: &aON"
  404. set player's fly mode to true
  405. stop
  406. if player's fly mode is true:
  407. send "&7Ustawiles fly: &cOFF"
  408. set player's fly mode to false
  409. stop
  410. if arg-1 is set:
  411. if arg-1 is online:
  412. if arg-1's fly mode is false:
  413. send "&7Ustawiles fly: &aON&7, dla gracza &c%arg-1%"
  414. send "&7Zmieniono fly na: &aON" to arg-1
  415. set arg-1's fly mode to true
  416. stop
  417. if arg-1's fly mode is true:
  418. send "&7Ustawiles fly: &cOFF&7, dla gracza &c%arg-1%"
  419. send "&7Zmieniono fly na: &cOFF" to arg-1
  420. set arg-1's fly mode to false
  421. stop
  422. else:
  423. send "&cBlad: &7Gracz nie jest na serwerze!"
  424. else:
  425. send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432. on damage:
  433. if {vanish::%victim%} is "on":
  434. cancel event
  435. on pick up:
  436. if {vanish::%player%} is "on":
  437. cancel event
  438.  
  439. variables:
  440. vanish.%player% = 0
  441. vanish.budowanie.%player% = 1
  442. vanish.atak.%player% = 1
  443. vanish.redstone.%player% = 1
  444. vanish.itemy.%player% = 1
  445. vanish.god.%player% = 1
  446. command /vanish [<text>]:
  447. permission: essentials.v
  448. permission message: &7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!
  449. aliases: v
  450. trigger:
  451. if argument is not set:
  452. if {vanish.%player%} is 1:
  453. set {vanish.%player%} to 0
  454. reveal player to all players
  455. send "&7Zostales &codkryty"
  456. else:
  457. set {vanish.%player%} to 1
  458. hide player to all players
  459. send "&7Zostales &aukryty"
  460. if argument is "info":
  461. send "&bVanish &7- &binformacje"
  462. if {vanish.%player%} is 1:
  463. send "&7Status: &awłączony"
  464. else:
  465. send "&7Status: &cwyłączony"
  466. send "&bBlokady:"
  467. if {vanish.budowanie.%player%} is 1:
  468. send "&7Budowanie: &awłączona"
  469. else:
  470. send "&7Budowanie: &cwyłączona"
  471. if {vanish.atak.%player%} is 1:
  472. send "&7Atak: &awłączona"
  473. else:
  474. send "&7Atak: &cwyłączona"
  475. if {vanish.redstone.%player%} is 1:
  476. send "&7Redstone: &awłączona"
  477. else:
  478. send "&7Redstone: &cwyłączona"
  479. if {vanish.itemy.%player%} is 1:
  480. send "&7Itemy: &awłączona"
  481. else:
  482. send "&7Itemy: &cwyłączona"
  483. if {vanish.god.%player%} is 1:
  484. send "&7God: &awłączony"
  485. else:
  486. send "&7God: &cwyłączony"
  487. if argument is "budowanie":
  488. if {vanish.budowanie.%player%} is 1:
  489. set {vanish.budowanie.%player%} to 0
  490. send "&cBlokada budowania wyłączona"
  491. else:
  492. set {vanish.budowanie.%player%} to 1
  493. send "&aBlokada budowania włączona"
  494. if argument is "atak":
  495. if {vanish.atak.%player%} is 1:
  496. set {vanish.atak.%player%} to 0
  497. send "&cBlokada ataku wyłączona"
  498. else:
  499. set {vanish.atak.%player%} to 1
  500. send "&aBlokada ataku włączona"
  501. if argument is "redstone":
  502. if {vanish.redstone.%player%} is 1:
  503. set {vanish.redstone.%player%} to 0
  504. send "&cBlokada redstona wyłączona"
  505. else:
  506. set {vanish.redstone.%player%} to 1
  507. send "&aBlokada redstona włączona"
  508. if argument is "itemy":
  509. if {vanish.itemy.%player%} is 1:
  510. set {vanish.itemy.%player%} to 0
  511. send "&cBlokada itemów wyłączona"
  512. else:
  513. set {vanish.itemy.%player%} to 1
  514. send "&aBlokada itemów włączona"
  515. if argument is "god":
  516. if {vanish.god.%player%} is 1:
  517. set {vanish.god.%player%} to 0
  518. send "&cGod wyłączony"
  519. else:
  520. set {vanish.god.%player%} to 1
  521. send "&aGod włączony"
  522. on join:
  523. if {vanish.%player%} is 1:
  524. if player has permission "vanish":
  525. hide player to all players
  526. send "&aJestes ukryty"
  527. else:
  528. set {vanish.%player%} to 0
  529. loop all players:
  530. if {vanish.%loop-player%} is 1:
  531. hide loop-player to player
  532. on place:
  533. if {vanish.%player%} is 1:
  534. if {vanish.budowanie.%player%} is 1:
  535. cancel event
  536. on break:
  537. if {vanish.%player%} is 1:
  538. if {vanish.budowanie.%player%} is 1:
  539. cancel event
  540. on damage:
  541. if {vanish.%attacker%} is 1:
  542. if {vanish.atak.%attacker%} is 1:
  543. cancel event
  544. if {vanish.%victim%} is 1:
  545. if {vanish.god.%victim%} is 1:
  546. cancel event
  547. on right click on lever or button:
  548. if {vanish.%player%} is 1:
  549. if {vanish.redstone.%player%} is 1:
  550. cancel event
  551. on drop:
  552. if {vanish.%player%} is 1:
  553. if {vanish.itemy.%player%} is 1:
  554. cancel event
  555. on pick up:
  556. if {vanish.%player%} is 1:
  557. if {vanish.itemy.%player%} is 1:
  558. cancel event
  559.  
  560. on right click on lever:
  561. cancel event
  562. send "&8AntyLagi &7-> &9Dzwignia zostala zablokowana!"
  563.  
  564.  
  565.  
  566. command /heal [<player>]:
  567. trigger:
  568. if arg 1 is not set:
  569. if player's health is not 10:
  570. if player has permission "essentials.heal":
  571. set the player's food level to 10
  572. heal the player by 10 hearts
  573. send "&7Uleczono!"
  574. stop
  575. else:
  576. send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
  577. stop
  578. else:
  579. send "&cTwoje zycie jest pelne!"
  580. stop
  581. if arg 1 is set:
  582. if argument's health is not 10:
  583. if player has permission "essentials.heal":
  584. set the argument's food level to 10
  585. heal the argument by 10 hearts
  586. send "&7Uleczono!" to arg 1
  587. send "&7Uleczono gracza &a%arg 1%"
  588. stop
  589. else:
  590. send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
  591. stop
  592. else:
  593. send "&cZycie tego gracza jest pelne!"
  594. stop
  595.  
  596.  
  597. command /feed [<player>]:
  598. trigger:
  599. if arg 1 is not set:
  600. if player's food level is not 10:
  601. if player has permission "essentials.heal":
  602. set the player's food level to 10
  603. send "&7Nakarmiono!"
  604. stop
  605. else:
  606. send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
  607. stop
  608. else:
  609. send "&cTwoj glod jest pelny!"
  610. stop
  611. if arg 1 is set:
  612. if argument's food level is not 10:
  613. if player has permission "essentials.heal":
  614. set the argument's food level to 10
  615. send "&7Nakarmiono!" to arg 1
  616. send "&7Nakarmiono gracza &a%arg 1%"
  617. stop
  618. else:
  619. send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
  620. stop
  621. else:
  622. send "&cGlod tego gracza jest pelny!"
  623. stop
  624.  
  625. command /god [<text>]:
  626. permission: essentials.god
  627. permission message: &7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!
  628. trigger:
  629. if {god.%player%} = false:
  630. set {god.%player%} to true
  631. send "&aWlaczyles &7god'a"
  632. else:
  633. set {god.%player%} to false
  634. send "&cWylaczyles &7god'a"
  635.  
  636.  
  637. on damage:
  638. if {god.%victim%} is true:
  639. cancel event
  640.  
  641.  
  642. command /broadcast [<text>]:
  643. executable by: players
  644. trigger:
  645. if player has permission "essentials.bc":
  646. if arg 1 is not set:
  647. send "&7Uzycie komendy: &c/broadcast <tekst>"
  648. else:
  649. broadcast "&8(&4&lBroadCast&8) &6%colored arg 1%"
  650. else:
  651. send "&7Dostep do tej komendy ma tylko ranga &cModerator&7 wzwyz!"
  652.  
  653. command /bc [<text>]:
  654. executable by: players
  655. trigger:
  656. if player has permission "essentials.bc":
  657. if arg 1 is not set:
  658. send "&7Uzycie komendy: &c/bc <tekst>"
  659. else:
  660. broadcast "&8(&4&lBroadCast&8) &6%colored arg 1%"
  661. else:
  662. send "&7Dostep do tej komendy ma tylko ranga &cModerator&7 wzwyz!"
  663.  
  664.  
  665. on chat:
  666. if {mute0::%player%} is true:
  667. cancel event
  668. send "&4Blad: &7Twoje usta zostaly zaszyte na &c%{mute0czas::%player%}% &7minut!"
  669. if {mute.%player%} is true:
  670. send "&4Blad: &7Twoje usta zostaly zaszyte na zawsze!"
  671. cancel event
  672. command /mute [<player>] [<text>]:
  673. permission: essentials.mute
  674. permission message: &7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!
  675. trigger:
  676. if arg 1 is set:
  677. if arg 2 is set:
  678. if arg 2 is "perm":
  679. broadcast "&4&lMUTE&8: &c%player% &7wyciszyl &e%arg 1% &7na &czawsze!"
  680. set {mute.%arg 1%} to true
  681. else:
  682. set {mute0::%player-arg%} to true
  683. set {mute0czas::%player-arg%} to arg-2
  684. broadcast "&4&lMUTE&8: &c%player% &7wyciszyl &c%arg 1% &7na &c%{mute0czas::%player-arg%}% &7minut."
  685. else:
  686. send "&7Uzycie komendy: &c/mute <nick> <czas/perm>"
  687. else:
  688. send "&7Uzycie komendy: &c/mute <nick> <czas/perm>"
  689.  
  690.  
  691.  
  692. every 60 seconds:
  693. loop all players:
  694. if {mute0::%loop-player%} is true:
  695. remove 1 from {mute0czas::%loop-player%}
  696. if {mute0czas::%loop-player%} is less than 0:
  697. set {mute0czas::%loop-player%} to false
  698. send "&4&lMUTE&8: &7Mozesz juz pisac!" to loop-player
  699.  
  700.  
  701. command /unmute [<text>]:
  702. permission: essentials.unmute
  703. permission message: &7Dostep do tej komendy ma tylko ranga &cModerator&7 wzwyz!
  704. trigger:
  705. if arg 1 is set:
  706. broadcast "&4&lUNMUTE&8: &c%player% &7zostal odciszony!"
  707. set {mute0::%arg 1%} to false
  708. set {mute.%arg 1%} to false
  709. else:
  710. send "&7Uzycie komendy: &c/unmute <nick>"
  711.  
  712. command /tempban [<offline player>] [<text >] [<timespan>]:
  713. permission: essentials.tempban
  714. permission message: &7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!
  715. trigger:
  716. if argument 1 is not set:
  717. send "&7Uzycie komendy: &c/tempban <nick> <powod> <czas> <jednostka po angielsku>" to player
  718. stop
  719. if argument 2 is not set:
  720. send "&7Uzycie komendy: &c/tempban <nick> <powod> <czas> <jednostka po angielsku>" to player
  721. stop
  722. if argument 3 is not set:
  723. send "&7Uzycie komendy: &c/tempban <nick> <powod> <czas> <jednostka po angielsku>" to player
  724. stop
  725.  
  726. set {_gracz} to argument 1
  727. set {_powod} to argument 2
  728. set {_czasban} to argument 3
  729. set {_czas} to now
  730. add {_czasban} to {_czas}
  731.  
  732. kick {_gracz} due to "&4Zostales zbanowany za: &c%{_powod}%&4 do &c%{_czas}%&4!"
  733. send "&cZbanowales gracza &4%{_gracz}% &cza &4%{_powod}%&c do &4%{_czas}%&c!"
  734.  
  735. set {bany::%{_gracz}%} to true
  736. set {czasbana::%{_gracz}%} to {_czas}
  737. set {powodbana::%{_gracz}%} to {_powod}
  738.  
  739. command /untempban [<offline player>]:
  740. permission: essentials.unban
  741. permission message: &7Dostep do tej komendy ma tylko ranga &cModerator&7 wzwyz!
  742. trigger:
  743. if argument is set:
  744. if {bany::%argument%} is true:
  745. delete {bany::%argument%}
  746. delete {czasbana::%argument%}
  747. delete {powodbana::%argument%}
  748. send "&aGracz &2%argument% &azostal odbanowany"
  749. else:
  750. send "&4Blad: &7Ten gracz nie ma bana!"
  751. else:
  752. send "&7Uzycie komendy: &c/untempban <nick>" to player
  753.  
  754. command /sprawdztempban [<offline player>]:
  755. permission: essentials.tempban
  756. permission message: &7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!
  757. trigger:
  758. if argument is set:
  759. if {bany::%argument%} is true:
  760. send "&cGracz &4%argument% &cjest zbanowany za &4%{powodbana::%argument%}% &cdo &4%{czasbana::%argument%}%&c!"
  761. else:
  762. send "&aTen gracz nie ma bana"
  763. else:
  764. send "&7Uzycie komendy: &c/sprawdztempban <nick>" to player
  765.  
  766.  
  767. on connect:
  768. if {bany::%player%} is true:
  769. if now is less than {czasbana::%player%}:
  770. kick player due to "&4Zostales zbanowany za: &c%{powodbana::%player%}%&4 do &c%{czasbana::%player%}%&4!"
  771. else:
  772. delete {bany::%player%}
  773. delete {czasbana::%player%}
  774. delete {powodbana::%player%}
  775.  
  776.  
  777. command /kick [<player>] [<text>]:
  778. trigger:
  779. if player has permissions "sk.kick":
  780. if arg 1 is set:
  781. if arg 2 is set:
  782. kick %arg 1% due to "&7Zostales wyrzucony przez &c%player% &7Powód: &c%arg 2%"
  783. else:
  784. kick %arg 1% due to "&7Zostales wyrzucony przez &c%player% &7Powód: &c%arg 2%"
  785. else:
  786. send "&7Uzycie komendy: &c/kick <nick> <powod>"
  787. else:
  788. send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
  789.  
  790. every 30 seconds:
  791. add 1 to {msg}
  792. if {msg} is 1:
  793. broadcast "&c[GLaDOS] &7Strona internetowa: &c&oonce-hc.pl"
  794. if {msg} is 2:
  795. broadcast "&c[GLaDOS] &7Nasz itemshop: &c&oonce-hc.pl"
  796. if {msg} is 3:
  797. broadcast "&c[GLaDOS] &7Nasz discord: &c&ohttps://discord.gg/dRZNZQz"
  798. if {msg} is 4:
  799. broadcast "&c[GLaDOS] &7Rekrutacja &cOFF"
  800. if {msg} is 5:
  801. broadcast "&c[GLaDOS] &7Tryb serwera: &c&oHardCore!"
  802. if {msg} is 6:
  803. broadcast "&c[GLaDOS] &7Bug? Cheater? Uratuje Cie komenda &c&o/helpop"
  804. if {msg} is 7:
  805. broadcast "&c[GLaDOS] &7Masz 100 &7subskrybcji? Chcesz range? Zapoznaj sie z &c&o/yt!"
  806. if {msg} is 8:
  807. broadcast "&c[GLaDOS] &7Maksymalne CPS to &c&o20!"
  808. set {msg} to 0
  809.  
  810. command /speed [<integer>] [<player>]:
  811. trigger:
  812. if player has permission "essentials.speed":
  813. if arg 1 is not set:
  814. send "&7Uzycie komendy: &c/speed <nick/wartosc> <wartosc>"
  815. else:
  816. if arg 2 is not set:
  817. if arg 1 is not 1:
  818. set player's walk speed to arg 1
  819. set player's fly speed to arg 1
  820. send "&7Ustawiono szybkosc gracza: &c%player% &7na: &c%arg 1%&7."
  821. else:
  822. reset player's walk speed
  823. reset player's fly speed
  824. send "&7Ustawiono szybkosc gracza: &c%player% &7na: &c%arg 1%&7."
  825. else:
  826. if player has permission "Ntools.speed.others":
  827. if arg 1 is not 1:
  828. set arg 2's walk speed to arg 1
  829. set arg 2's fly speed to arg 1
  830. send "&7Ustawiono szybkosc gracza: &6%arg 1% &7na: &6%arg 1%&7."
  831. else:
  832. reset arg 2's walk speed
  833. reset arg 2's fly speed
  834. send "&7Ustawiono szybkosc gracza: &6%arg 1% &7na: &6%arg 1%&7."
  835. else:
  836.  
  837. send "&7Dostep do tej komendy ma tylko ranga &cAdmin&7 wzwyz!"
  838.  
  839. variables:
  840. {ban::%offlineplayer%} = false
  841. {powod::%offlineplayer%} = "Brak"
  842. {admin::%offlineplayer%} = "Brak"
  843. command /ban [<offlineplayer>] [<text>]:
  844. trigger:
  845. executor is console:
  846. arg 1 is set:
  847. set {ban::%arg 1%} to true
  848. arg 2 is set:
  849. set {powod::%arg 1%} to colored arg 2
  850. kick arg 1 by reason of "&7Zostales zbanowany na zawsze przez &cCONSOLE.%nl%&7Powod: &c%{powod::%arg 1%}%"
  851. stop
  852. stop
  853. player has permission "essentials.ban":
  854. arg 1 is not set:
  855. send "&7Uzycie komendy: &c/ban <nick> <powod>"
  856. stop
  857. if {ban::%arg 1%} is true:
  858. send "&4Blad: &cPodany gracz jest juz zbanowany!"
  859. stop
  860. set {ban::%arg 1%} to true
  861. arg 2 is not set:
  862. set {admin::%arg 1%} to name of player
  863. kick arg 1 by reason of "&7Zostales zbanowany przez &c%player%.%nl%&7Powod: &c%{powod::%arg 1%}%"
  864. stop
  865. set {admin::%arg 1%} to name of player
  866. set {powod::%arg 1%} to colored arg 2
  867. wait 1 tick
  868. kick arg 1 by reason of "&7Zostales zbanowany przez %player%.%nl%&cPowod: &7%{powod::%arg 1%}%"
  869. stop
  870. send "&7Dostep do tej komendy ma tylko ranga &cModerator&7 wzwyz!"
  871. stop
  872. command /unban [<offlineplayer>]:
  873. trigger:
  874. executor is console:
  875. arg 1 is set:
  876. set {ban::%arg 1%} to false
  877. set {powod::%arg 1%} to "Brak"
  878. stop
  879. player has permission "essentials.unban":
  880. arg 1 is not set:
  881. send "&7Uzycie komendy: &c/unban <nick>"
  882. stop
  883. if {ban::%arg 1%} is true:
  884. set {ban::%arg 1%} to false
  885. set {powod::%arg 1%} to "Brak"
  886. stop
  887. send "&4Blad: &cTen gracz nie jest zbanowany!"
  888. stop
  889. send "&7Dostep do tej komendy ma tylko ranga &cModerator&7 wzwyz!"
  890. stop
  891. on connect:
  892. if {ban::%player%} is true:
  893. kick player by reason of "&7Zostales zbanowany przez &c%{admin::%player%}%.%nl%&7Powod: &c%{powod::%arg 1%}%"
  894.  
  895. command /repair [<text="brak">]:
  896. trigger:
  897. if player has permission "essentials.repair":
  898. if arg 1 is not "hand" or "all":
  899. send "&7Uzycie komendy: &c/repair <all/hand>"
  900. if arg 1 is "hand":
  901. repair player's tool
  902. send "&7Pomyslnie naprawiono!"
  903. if arg 1 is "all":
  904. repair all items in player's inventory
  905. send "&7Pomyslnie naprawiono!"
  906. else:
  907. send "&7Dostep do tej komendy ma tylko ranga &cAdmin&7 wzwyz!"
  908.  
  909.  
  910. command /chat [<text>]:
  911. trigger:
  912. if player has permission "essentials.chat":
  913. if arg 1 is empty:
  914. send "&7Uzycie komendy: &c/chat <on/off/cc>" to player
  915. else if arg 1 is "on":
  916. if {chat.stan} is true:
  917. send "&4Blad: &7Chat jest juz wlaczony!" to player
  918. stop trigger
  919. set {chat.stan} to true
  920. broadcast " &8[&9AntySpam&8]"
  921. broadcast " &7Chat zostal wlaczony przez &c%player%&7!"
  922. else if arg 1 is "off":
  923. if {chat.stan} is false:
  924. send "&4Blad: &7Chat jest juz wylaczony!" to player
  925. stop trigger
  926. set {chat.stan} to false
  927. loop 100 times:
  928. broadcast " "
  929. broadcast " &8[&9AntySpam&8]"
  930. broadcast "&7Chat zostal wylaczony przez &c%player%&7!"
  931.  
  932. else if arg 1 is "cc":
  933. loop 100 times:
  934. broadcast " "
  935. broadcast " &8[&9AntySpam&8]"
  936. broadcast "&7Chat zostal wyczyszczony przez &c%player%&7!"
  937. else:
  938. send "&7Uzycie komendy: &c/chat <on/off/cc>" to player
  939. stop trigger
  940. else:
  941. send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
  942.  
  943. command /cc [<text>]:
  944. trigger:
  945. if player has permission "essentials.chat":
  946. loop 100 times:
  947. broadcast " "
  948. broadcast " &8[&9AntySpam&8]"
  949. broadcast "&7Chat zostal wyczyszczony przez &c%player%&7!"
  950. else:
  951. send "&7Dostep do tej komendy ma tylko ranga &cHelper&7 wzwyz!"
  952.  
  953.  
  954. on chat:
  955. if {chat.stan} is false:
  956. if player has permission "essentials.vip" or "chat.vip":
  957. stop trigger
  958. else:
  959. cancel event
  960. send "&4Blad: &7Czat jest wylaczony! Aby pisac na czacie zakup range &6VIP&7!"
  961. stop
  962.  
  963.  
  964.  
  965. on first join:
  966. wait 1 second
  967. give 1 stone pickaxe to player
  968. give 64 steak to player
  969. give 64 steak to player
  970. give 1 ender chest to player
  971. give 1 boat to player
  972.  
  973. on death:
  974. wait 1 tick
  975. give 1 stone pickaxe to player
  976. give 64 steak to player
  977. give 64 steak to player
  978. give 1 ender chest to player
  979. give 1 boat to player
  980.  
  981.  
  982. command /craft [<text>]:
  983. permission: essentials.workbench
  984. permission message: &7Dostep do tej komendy ma tylko ranga &cVIP&7 wzwyz!
  985. trigger:
  986. open crafting table to player
  987.  
  988. command /wb [<text>]:
  989. permission: essentials.workbench
  990. permission message: &7Dostep do tej komendy ma tylko ranga &cVIP&7 wzwyz!
  991. trigger:
  992. open crafting table to player
  993.  
  994. command /workbench [<text>]:
  995. permission: essentials.workbench
  996. permission message: &7Dostep do tej komendy ma tylko ranga &cVIP&7 wzwyz!
  997. trigger:
  998. open crafting table to player
  999.  
  1000. command /spawn [<text>]:
  1001. trigger:
  1002. player has permissions "essentials.spawn"
  1003. execute console command "/minecraft:tp %player% 0 79 0"
  1004. stop
  1005. else:
  1006. send "&4Blad: &cKordy spawna: &7x0 z0! &cAby isc na spawna trzeba przejsc pieszo lub scraftowac rozdzke na spawna!" to player
  1007. stop
  1008.  
  1009.  
  1010.  
  1011. command /tpa [<player>]:
  1012. trigger:
  1013. if player has permission "essentials.tpa":
  1014. set {tpa.%player%.%arg 1%} to true:
  1015. send "Wyslales prosbe o teleportacje do gracza %arg 1%"
  1016. send "&7Gracz &9%player% &7prosi o teleportacje, wpisz /tpaccept %player% aby zaakcepotwac" to player-arg
  1017. loop 10 times:
  1018. wait 1 second
  1019. if {tpaccept.%arg 1%.%player%} is true:
  1020. loop exit
  1021. send "&7Nie ruszaj sie przez 5 sekund"
  1022. wait 3 second
  1023. set {tpa::%player%-loc} to location of player
  1024. set {tpa::%player%-next} to true
  1025. if {tpa::%player%-next} is true:
  1026. set {tpa::%player%-not} to false
  1027. loop 5 times:
  1028. wait 1 second
  1029. set {tpa::%player%-loc-n} to location of player
  1030. if {tpa::%player%-loc} is not {tpa::%player%-loc-n}:
  1031. set {tpa::%player%-not} to true
  1032. send "&cTeleportacja anulowana"
  1033. set {tpa.%player%.%arg 1%} to false
  1034. set {tpaccept.%arg 1%.%player%} to false
  1035. if {tpa::%player%-not} is false:
  1036. teleport player to location of player-arg
  1037. set {tpa.%player%.%arg 1%} to false
  1038. set {tpaccept.%arg 1%.%player%} to false
  1039.  
  1040. command /tpaccept [<player>]:
  1041. trigger:
  1042. if player has permission "essentials.tpa":
  1043. if {tpa.%arg 1%.%player%} is true:
  1044. send "&7Gracz &9%player% &7zaakceptował twoja prosbe" to player-arg
  1045. set {tpaccept.%player%.%arg 1%} to true:
  1046. stop
  1047. else:
  1048. send "&4Blad: &7Gracz &9%arg 1% &7nie prosil cie o teleportacje. LOL!"
  1049. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement