Guest User

FirstSkrypt 1.1

a guest
Aug 10th, 2016
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.38 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.  
  9. #Admin
  10. on join:
  11. if player has permissions "admin.first":
  12. broadcast "&8[&b&lTwojServ&8] &4&lAdministrator &6%player% &7wszedl na serwer!"
  13.  
  14. on quit:
  15. if player has permissions "admin.first":
  16. broadcast "&8[&b&lTwojServ&8] &4&lAdministrator &6%player% &7wyszedl z serwera!"
  17. #Vip
  18. on join:
  19. if player has permissions "vip.first":
  20. broadcast "&8[&6&lTwojServ&8] &3&lV&b&lI&c&lP &6%player% &7wszedl na serwer!"
  21.  
  22. on quit:
  23. if player has permissions "vip.first":
  24. broadcast "&8[&6&lTwojServ&8] &3&lV&b&lI&c&lP &6%player% &7wyszedl z serwera!"
  25. #Gracz
  26. on join:
  27. if player has permissions "gracz.first":
  28. broadcast "&8[&6&lTwojServ&8] &cGracz &6%player% &7wszedl na serwer!"
  29.  
  30. on quit:
  31. if player has permissions "gracz.first":
  32. broadcast "&8[&6&lTwojServ&8] &cGracz &6%player% &7wyszedl z serwera!"
  33. #Pierwsze Wejście
  34. on first join:
  35. broadcast "&5Gracz %player% pierwszy raz wbil na serwer !"
  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. #ChatFirst
  127. variables:
  128. {chat} = true
  129.  
  130. command /chat [<text>]:
  131. trigger:
  132. if arg 1 is not set:
  133. if player has permission "first.all":
  134. send "&3Dostepne komendy:"
  135. send " &6/chat &2- Dostepne komendy"
  136. send " &6/chat on &2- Wlacza chat"
  137. send " &6/chat off &2- Wylacza chat"
  138. send " &6/chat cc &2- Czysci chat"
  139. send "&8-----------------------------"
  140. stop
  141. else:
  142. send " &8> &cNie masz dostepu do tej komendy!"
  143. stop
  144. if arg 1 is "on":
  145. if {chat} is false:
  146. if player has permission "admin.first":
  147. set {chat} to true
  148. broadcast " &8> &9Chat zostal wlaczony przez: &6%player%"
  149. stop
  150. else:
  151. send " &8> &cNie masz dostepu do tej komendy!"
  152. stop
  153. else:
  154. send " &8> &cChat jest juz wlaczony!"
  155. stop
  156. if arg 1 is "off":
  157. if {chat} is true:
  158. if player has permission "admin.first":
  159. set {chat} to false
  160. broadcast " &8> &9Chat zostal wylaczony przez: &6%player%"
  161. stop
  162. else:
  163. send " &8> &cNie masz dostepu do tej komendy!"
  164. stop
  165. else:
  166. send " &8> &cChat jest juz wylaczony!"
  167. stop
  168. if arg 1 is "cc" or "clear":
  169. if player has permission "admin.first":
  170. loop 128 times:
  171. broadcast ""
  172. broadcast " &8> &9Chat zostal wyczyszczony przez: &6%player%"
  173. stop
  174. else:
  175. send " &8> &cNie masz dostepu do tej komendy!"
  176. stop
  177.  
  178. on chat:
  179. if {chat} is false:
  180. if player has permission "admin.first":
  181. stop
  182. else:
  183. cancel event
  184. send " &8> &cChat jest aktualnie wylaczony!"
  185. stop
  186. else:
  187. if player has permission "admin.first":
  188. stop
  189. set {_waited} to difference between {chat.%player%.spam} and now
  190. if {_waited} is less than 5 real seconds seconds:
  191. send " &8> &cWiadomosci mozesz wysylac co &a5 &csekund!"
  192. cancel event
  193. stop
  194. set {chat.%player%.spam} to now
  195. cancel event
  196. stop
  197.  
  198. #Pomoc
  199. command /pomoc:
  200. trigger:
  201. send "&8=== &2&lPOMOC &8==="
  202. send "&6/regulamin"
  203. send "&6/vip"
  204. send "&6/youtuber"
  205. send "&6/serwer"
  206. send "&8=== &2&lPOMOC &8==="
  207.  
  208. on place bedrock:
  209. player has permissions "admin.first":
  210. else:
  211. cancel event
  212. send "&6[Blocked]: &4Nie masz uprawnien by postawic ten blok!"
  213.  
  214. on break of enderchest:
  215.  
  216. cancel event
  217.  
  218. set block to air
  219.  
  220. drop 1 enderchest at location of event-block
  221.  
  222. on death of player:
  223. damage was caused by suffocation:
  224. broadcast "&6%victim% &7zginal w scianie!"
  225. damage was caused by fall:
  226. broadcast "&6%victim% &7zgubil spadochron!"
  227. damage was caused by fire:
  228. broadcast "&6%victim% &7spalil sie!"
  229. damage was caused by burning:
  230. broadcast "&6%victim% &7spalil sie!"
  231. damage was caused by lava:
  232. broadcast "&6%victim% &7spalil sie!"
  233. damage was caused by drowning:
  234. broadcast "&6%victim% &7utopil sie!"
  235. damage was caused by entity explosion:
  236. broadcast "&6%victim% &7wybuchl!"
  237. damage was caused by block explosion:
  238. broadcast "&6%victim% &7wybuchl!"
  239. damage was caused by starvation:
  240. broadcast "&6%victim% &7umarl z glodu!"
  241. damage was caused by poison:
  242. broadcast "&6%victim% &7zatrul sie!"
  243. damage was caused by potion:
  244. broadcast "&6%victim% &7zatrul sie!"
  245. damage was caused by falling block:
  246. broadcast "&6%victim% &7dostal czyms w glowe!"
  247. damage was caused by unknown:
  248. broadcast "&6%victim% &7umarl!"
  249.  
  250. command /BezDeszczu:
  251. trigger:
  252. if player has permissions "admin.first":
  253. execute player command "/weather sun"
  254. send "f&lWylaczyles deszcz"
  255. else:
  256. send "&lNie jestes uprawniony do korzystania z tej komendy."
  257. command /deszcz:
  258. trigger:
  259. if player has permissions "admin.first":
  260. execute player command "/weather rain"
  261. send "&1&lUstawiles deszcz"
  262. else:
  263. send "&lNie jestes uprawniony do korzystania z tej komendy."
  264.  
  265. command /dzien:
  266. trigger:
  267. if player has permissions "admin.first":
  268. execute player command "/time day"
  269. send "&6&lUstawiles dzien"
  270. else:
  271. send "&lNie jestes uprawniony do korzystania z tej komendy."
  272.  
  273. command /noc:
  274. trigger:
  275. if player has permissions "admin.first":
  276. execute player command "/time night"
  277. send "&0&lUstawiles noc"
  278. else:
  279. send "&lNie jestes uprawniony do korzystania z tej komendy."
  280.  
  281. command /zglos [<text>] [<text>]:
  282. trigger:
  283. if argument 1 is not empty:
  284. if argument 2 is not empty:
  285. log "%player% zglosil gracza %argument 1% za %argument 2%" to "iReport"
  286. send "&6Gracz &c%argument 1%&6 zostal zgloszony. Dziekujemy za zgloszenie, &c%player%&6!" to player
  287. else:
  288. send "&6Poprawne uzcie &c/zglos <gracz> <powod>" to player
  289. else:
  290. send "&6Poprawne uzcie &c/zglos <gracz> <powod>" to player
  291.  
  292. on script load:
  293. send "&4Skrypt zostal stworzony przez SirSkPlus!" to console
  294. send "&b&lSkrypt Paczki FirstSkriptSp!" to console
  295.  
  296. variables:
  297. {cobblechat::%player%} = 0
  298. on mine of stone:
  299. {cobblechat::%player%} is smaller or equal to 200:
  300. add 1 to {cobblechat::%player%}
  301. on chat:
  302. {cobblechat::%player%} is smaller than 200:
  303. cancel event
  304. send "&6Na chacie mozesz pisac po wykopaniu 200 stone! Aby sprawdzic ilosc jaka wykopales wpisz /chatcobble"
  305. command /chatcobble:
  306. trigger:
  307. send "&6Wykopales &7%{cobblechat::%player%}% &6stone!"
  308.  
  309. variables:
  310. {auto::msg} = 1
  311. options:
  312. msg1: Dowcip:&bNie Je Nie Pije A chodzi I Bije - Dres Z Afryki
  313. msg2: Dowcip:&bUlubione Buty Trumpa - Trumpki
  314. msg3: Suchar:&bJakiego Koloru Nie Nawidzą gracze ? - Malaga
  315. msg4: Dowcip:&bParadoks korku ulicznego - Siedzisz a stoisz
  316. msg5: Suchar:&bUlubione Ciastka Putina - Ciastka Z Krymem
  317. msg6: <Dowcip>W budowie xD
  318. msg7: <Dowcip>W budowie xD
  319. czas: 1
  320. every {@czas} minutes:
  321. send "{@msg%{auto::msg}%}"
  322. add 1 to {auto::msg}
  323. if {auto::msg} > 7:
  324. set {auto::msg} to 1
Advertisement
Add Comment
Please, Sign In to add comment