Guest User

First

a guest
Aug 10th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.80 KB | None | 0 0
  1. ################################PolishSk###########################
  2. #Nie Podszywaj Się pod autora #
  3. #Jeżeli pokazujesz na innych forach skrypt daj znać autorowi #
  4. # Autor:SirSkPlus #
  5. ################################PolishSk###########################
  6. on first join:
  7. execute console command "kick %player% &a&lWeryfikacja Przebiegła Pomyślnie ! &eWbijaj na serwer!"
  8. #Admin
  9. on join:
  10. if player has permissions "admin.first":
  11. broadcast "&8[&b&lTwojServ&8] &4&lAdministrator &6%player% &7wszedl na serwer!"
  12.  
  13. on quit:
  14. if player has permissions "admin.first":
  15. broadcast "&8[&b&lTwojServ&8] &4&lAdministrator &6%player% &7wyszedl z serwera!"
  16. #Vip
  17. on join:
  18. if player has permissions "vip.first":
  19. broadcast "&8[&6&lTwojServ&8] &3&lV&b&lI&c&lP &6%player% &7wszedl na serwer!"
  20.  
  21. on quit:
  22. if player has permissions "vip.first":
  23. broadcast "&8[&6&lTwojServ&8] &3&lV&b&lI&c&lP &6%player% &7wyszedl z serwera!"
  24. #Gracz
  25. on join:
  26. if player has permissions "gracz.first":
  27. broadcast "&8[&6&lTwojServ&8] &cGracz &6%player% &7wszedl na serwer!"
  28.  
  29. on quit:
  30. if player has permissions "gracz.first":
  31. broadcast "&8[&6&lTwojServ&8] &cGracz &6%player% &7wyszedl z serwera!"
  32. #Pierwsze Wejście
  33. on first join:
  34. broadcast "&5Gracz %player% pierwszy raz wbil na serwer !"
  35.  
  36.  
  37. #Cenzura
  38. on chat:
  39. replace all "kurwa" with "kurde" in the message
  40. replace all "chuj" with "uj" in the message
  41. replace all "pierdolony" with "taki sobie" in the message
  42. replace all "pedal" with "inny" in the message
  43. replace all "gej" with "inny" in the message
  44. replace all "suka" with "pani" in the message
  45. replace all "cipa" with "pipa" in the message
  46. replace all "dupa" with "pupa" in the message
  47. replace all "pierdolona" with "taka sobie" in the message
  48. replace all "pojebalo" with "nie" in the message
  49. replace all "zajebe cie" with "Przytule Cie" in the message
  50. replace all "debil" with "Ziom" in the message
  51. replace all "ciul" with "Ziom" in the message
  52. on chat:
  53. if player is not op:
  54. replace all "A" with "a" in the message
  55. replace all "B" with "b" in the message
  56. replace all "C" with "c" in the message
  57. replace all "D" with "d" in the message
  58. replace all "E" with "e" in the message
  59. replace all "F" with "f" in the message
  60. replace all "G" with "g" in the message
  61. replace all "H" with "h" in the message
  62. replace all "I" with "i" in the message
  63. replace all "J" with "j" in the message
  64. replace all "K" with "k" in the message
  65. replace all "L" with "l" in the message
  66. replace all "M" with "m" in the message
  67. replace all "N" with "n" in the message
  68. replace all "O" with "o" in the message
  69. replace all "P" with "p" in the message
  70. replace all "R" with "r" in the message
  71. replace all "S" with "s" in the message
  72. replace all "T" with "t" in the message
  73. replace all "U" with "u" in the message
  74. replace all "W" with "w" in the message
  75. replace all "Y" with "y" in the message
  76. replace all "Z" with "z" in the message
  77. replace all "Q" with "q" in the message
  78. replace all "V" with "v" in the message
  79. replace all "X" with "x" in the message
  80. on chat:
  81. replace all "wbijac na moj server" with "TwojServ.pl" in the message
  82. replace all "IP mojego servera" with "TwojServ.pl" in the message
  83. replace all "zapraszam na moj server" with "TwojServ.pl" in the message
  84. replace all "moj server IP:" with "TwojServ.pl" in the message
  85.  
  86. #Wymaga Essentials :3
  87. every 5 minutes:
  88. broadcast "&8[&bCzyszczenie&8] &cZa 30 sekund usune itemy z ziemi!"
  89.  
  90. wait 10 second
  91. broadcast "&8[&bCzyszczenie&8] &cZa 20 sekund usune itemy z ziemi!"
  92.  
  93. wait 10 second
  94. broadcast "&8[&bCzyszczenie&8] &cZa 10 sekund usune itemy z ziemi!"
  95.  
  96. wait 5 second
  97. broadcast "&8[&bCzyszczenie&8] &cZa 5 sekund usune itemy z ziemi!"
  98.  
  99. wait 1 second
  100. broadcast "&8[&bCzyszczenie&8] &cZa 4 sekundy usune itemy z ziemi!"
  101.  
  102. wait 1 second
  103. broadcast "&8[&bCzyszczenie&8] &cZa 3 sekundy usune itemy z ziemi!"
  104.  
  105. wait 1 second
  106. broadcast "&8[&bCzyszczenie&8] &cZa 2 sekundy usune itemy z ziemi!"
  107.  
  108. wait 1 second
  109. broadcast "&8[&bCzyszczenie&8] &cZa 1 sekunde usune itemy z ziemi!"
  110.  
  111. wait 1 second
  112. broadcast "&8[&bCzyszczenie&8] &cUsuwanie przedmiotów lezaczych na ziemi rozpoczete"
  113. execute console command "/killall drops"
  114. execute console command "/killall zombie"
  115. execute console command "/killall creeper"
  116. execute console command "/killall skeleton"
  117. execute console command "/killall spider"
  118. execute console command "/killall cavespider"
  119. execute console command "/killall witch"
  120. execute console command "/killall silverfish"
  121. execute console command "/killall boats"
  122.  
  123. wait 4 second
  124. broadcast "&8[&bCzyszczenie&8] &aPrzedmioty zostaly usuniete"
  125.  
  126.  
  127. #ChatFirst
  128. variables:
  129. {chat} = true
  130.  
  131. command /chat [<text>]:
  132. trigger:
  133. if arg 1 is not set:
  134. if player has permission "first.all":
  135. send "&3Dostepne komendy:"
  136. send " &6/chat &2- Dostepne komendy"
  137. send " &6/chat on &2- Wlacza chat"
  138. send " &6/chat off &2- Wylacza chat"
  139. send " &6/chat cc &2- Czysci chat"
  140. send "&8-----------------------------"
  141. stop
  142. else:
  143. send " &8> &cNie masz dostepu do tej komendy!"
  144. stop
  145. if arg 1 is "on":
  146. if {chat} is false:
  147. if player has permission "admin.first":
  148. set {chat} to true
  149. broadcast " &8> &9Chat zostal wlaczony przez: &6%player%"
  150. stop
  151. else:
  152. send " &8> &cNie masz dostepu do tej komendy!"
  153. stop
  154. else:
  155. send " &8> &cChat jest juz wlaczony!"
  156. stop
  157. if arg 1 is "off":
  158. if {chat} is true:
  159. if player has permission "admin.first":
  160. set {chat} to false
  161. broadcast " &8> &9Chat zostal wylaczony przez: &6%player%"
  162. stop
  163. else:
  164. send " &8> &cNie masz dostepu do tej komendy!"
  165. stop
  166. else:
  167. send " &8> &cChat jest juz wylaczony!"
  168. stop
  169. if arg 1 is "cc" or "clear":
  170. if player has permission "admin.first":
  171. loop 128 times:
  172. broadcast ""
  173. broadcast " &8> &9Chat zostal wyczyszczony przez: &6%player%"
  174. stop
  175. else:
  176. send " &8> &cNie masz dostepu do tej komendy!"
  177. stop
  178.  
  179. on chat:
  180. if {chat} is false:
  181. if player has permission "admin.first":
  182. stop
  183. else:
  184. cancel event
  185. send " &8> &cChat jest aktualnie wylaczony!"
  186. stop
  187. else:
  188. if player has permission "admin.first":
  189. stop
  190. set {_waited} to difference between {chat.%player%.spam} and now
  191. if {_waited} is less than 5 real seconds seconds:
  192. send " &8> &cWiadomosci mozesz wysylac co &a5 &csekund!"
  193. cancel event
  194. stop
  195. set {chat.%player%.spam} to now
  196. cancel event
  197. stop
  198.  
  199. #Pomoc
  200. command /pomoc:
  201. trigger:
  202. send "&8=== &2&lPOMOC &8==="
  203. send "&6/regulamin"
  204. send "&6/vip"
  205. send "&6/youtuber"
  206. send "&6/serwer"
  207. send "&8=== &2&lPOMOC &8==="
  208.  
  209.  
  210. on place bedrock:
  211. player has permissions "admin.first":
  212. else:
  213. cancel event
  214. send "&6[Blocked]: &4Nie masz uprawnien by postawic ten blok!"
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221. on break of enderchest:
  222.  
  223. cancel event
  224.  
  225. set block to air
  226.  
  227. drop 1 enderchest at location of event-block
Add Comment
Please, Sign In to add comment