Guest User

Silnik.sk

a guest
Jul 1st, 2014
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.88 KB | None | 0 0
  1. #==================#
  2. # NoPL . #
  3. #==================#
  4. # By NicianPL #
  5. #===============#
  6.  
  7.  
  8. command /pl:
  9. trigger:
  10. send "&cTresc"
  11. command /plugins:
  12. trigger:
  13. send "&cTresc"
  14. command /?:
  15. trigger:
  16. send " &cTresc-"
  17.  
  18. #===============#
  19. # SpongeTP. #
  20. #===============#
  21. # By NicianPL #
  22. #===============#
  23.  
  24. #========================\#
  25. # SpongeTP 0.0.0.1v /#
  26. #========================\#
  27. # Wymagany plugin R.TP /#
  28. #========================\#
  29.  
  30. on rightclick on sponge:
  31. send "&1[&aRandomTP&1] &7Teleportacja za &c5 sekund&7."
  32. wait 5 seconds
  33. execute player command "/randomtp"
  34.  
  35. #===============#
  36. # AntiLag. #
  37. #===============#
  38. # By janek50 #
  39. #===============#
  40.  
  41.  
  42. #========================\#
  43. # AntiLag 0.0.0.1v /#
  44. #========================\#
  45. # Wymagany plugin WordEdit /#
  46. #========================\#
  47.  
  48. options:
  49. czasusuwania: 15 #Co ile ma usuwac itemy (w minutach).
  50. tag: &6** #Tag przed wiadomosciami.
  51.  
  52. every {@czasusuwania} minutes:
  53. broadcast "{@tag} &7Pozostawione przedmioty zostana usuniete za &910 &7sekund!"
  54. wait 10 seconds
  55. execute console command "remove item 99999999"
  56. broadcast "{@tag} &aPrzedmioty zostaly usuniete!"
  57.  
  58. #========================\#
  59. # SilnikRanking 0.0.0.1v /#
  60. #========================\#
  61. # Autor janek50 /#
  62. #========================\#
  63.  
  64. on load:
  65. send "[SilnikRanking] Succesfully loaded." to the console
  66. send "[SilnikRanking] Developed by janek50." to the console
  67. execute console command "scoreboard objectives add pkt dummy &9Rankingu"
  68. execute console command "scoreboard objectives setdisplay belowName pkt"
  69.  
  70. on unload:
  71. execute console command "scoreboard objectives remove pkt"
  72. on join:
  73. {punkty::%player%} is not set:
  74. set {punkty::%player%} to 1000
  75. {zabojstwa.%player%} is not set:
  76. set {zabojstwa.%player%} to 0
  77. {smierci.%player%} is not set:
  78. set {smierci.%player%} to 0
  79. execute console command "scoreboard players set %player% pkt %{punkty::%player%}%"
  80. on death of player:
  81. strike lightning effect at the player
  82. attacker is player:
  83. drop victim's skull at location of victim
  84. add 1 to {smierci.%victim%}
  85. add 1 to {zabojstwa.%attacker%}
  86. set {_punkty} to rounded down {punkty::%victim%}*0.10
  87. add {_punkty} to {punkty::%attacker%}
  88. remove {_punkty} from {punkty::%victim%}
  89. set death message to "&cGracz &6%victim% &czostal zabity przez &6%attacker% &a(+%{_punkty}%)"
  90. execute console command "scoreboard players set %victim% pkt %{punkty::%victim%}%"
  91. execute console command "scoreboard players set %attacker% pkt %{punkty::%attacker%}%"
  92. attacker is not player:
  93. add 1 to {smierci.%victim%}
  94. remove 30 from {punkty::%victim%}
  95. execute console command "scoreboard players set %victim% pkt %{punkty::%victim%}%"
  96. damage is caused by fall or lava or fire or drowning or void or poison or block explosion or projectile or suffocation:
  97. {atakujacy.%victim%} is set:
  98. set {_attacker} to {atakujacy.%victim%}
  99. drop victim's skull at location of victim
  100. add 1 to {smierci.%victim%}
  101. add 1 to {zabojstwa.%{_attacker}%}
  102. set {_punkty} to rounded down {punkty::%victim%}*0.10
  103. add {_punkty} to {punkty::%{_attacker}%}
  104. remove {_punkty} from {punkty::%victim%}
  105. set death message to "&cGracz &6%victim% &czostal zabity przez &6%{_attacker}% &a(+%{_punkty}%)"
  106. execute console command "scoreboard players set %victim% pkt %{punkty::%victim%}%"
  107. execute console command "scoreboard players set %{_attacker}% pkt %{punkty::%{_attacker}%}%"
  108. delete {atakujacy.%victim%}
  109. on damage of player:
  110. {punkty.%attacker%} is set:
  111. set {atakujacy.%victim%} to name of attacker
  112. wait 10 seconds
  113. delete {atakujacy.%victim%}
  114. on logout:
  115. if {atakujacy.%player%} is set:
  116. delete {atakujacy.%player%}
  117. command /gracz [<offline player=%player%>]:
  118. description: Pozwala na sprawdzenie rankingu innego gracza
  119. trigger:
  120. if arg is set:
  121. {punkty::%arg%} is set:
  122. send "&aRanking gracza %arg%: %{punkty::%arg%}% (k: %{zabojstwa.%arg%}% d: %{smierci.%arg%}%)"
  123. {punkty::%arg%} is not set:
  124. send "&cGracz o takim nicku nie istnieje!"
  125. else:
  126. send "&aRanking gracza %player%: %{punkty::%player%}% (k: %{zabojstwa.%player%}% d: %{smierci.%player%}%)"
  127. command /top10:
  128. description: Top 10 graczy z najwyzsza iloscia punktow
  129. aliases: /top, /topka
  130. trigger:
  131. send "&aTop 10 najlepszych graczy:"
  132. set {_num} to size of {punkty::*}
  133. loop {_num} times:
  134. loop {punkty::*}:
  135. {_v.%loop-number%} is not set:
  136. set {_v.%loop-number%} to loop-value
  137. set {_n.%loop-number%} to loop-index
  138. loop-value is greater than {_v.%loop-number%}:
  139. set {_v.%loop-number%} to loop-value
  140. set {_n.%loop-number%} to loop-index
  141. remove {_v.%loop-number%} from {punkty::*}
  142. loop {_num} times:
  143. loop-number is less than or equal to 10:
  144. send "&a%loop-number%. %{_n.%loop-number%}% (%{_v.%loop-number%}%)"
  145. set {punkty::%{_n.%loop-number%}%} to {_v.%loop-number%}
  146. command /ranking [<text>] [<player>] [<integer>]:
  147. description: Pozwala na zarzadzanie rankingiem innego gracza
  148. trigger:
  149. if player has permission "psranking.*":
  150. arg 1 is not set:
  151. send "&cUzycie: /ranking <set|add|remove> <gracz> <ilosc>"
  152. arg 1 is not "set" or "add" or "remove":
  153. send "&cUzycie: /ranking <set|add|remove> <gracz> <ilosc>"
  154. arg 1 is "set":
  155. if arg 2 is set:
  156. if arg 3 is set:
  157. if {punkty::%arg 2%} is set:
  158. set {punkty::%arg 2%} to arg 3
  159. send "&aZaaktualizowano ranking gracza: &6%arg 2%"
  160. execute console command "scoreboard players set %arg 2% pkt %{punkty::%arg 2%}%"
  161. else:
  162. send "&cGracz o takim nicku nie istnieje!"
  163. else:
  164. send "&cUzycie: /ranking <set|add|remove> <gracz> <ilosc>"
  165. else:
  166. send "&cUzycie: /ranking <set|add|remove> <gracz> <ilosc>"
  167. arg 1 is "add":
  168. if arg 2 is set:
  169. if arg 3 is set:
  170. if {punkty::%arg 2%} is set:
  171. add arg 3 to {punkty::%arg 2%}
  172. send "&aZaaktualizowano ranking gracza: &6%arg 2%"
  173. execute console command "scoreboard players set %arg 2% pkt %{punkty::%arg 2%}%"
  174. else:
  175. send "&cGracz o takim nicku nie istnieje!"
  176. else:
  177. send "&cUzycie: /ranking <set|add|remove> <gracz> <ilosc>"
  178. else:
  179. send "&cUzycie: /ranking <set|add|remove> <gracz> <ilosc>"
  180. arg 1 is "remove":
  181. if arg 2 is set:
  182. if arg 3 is set:
  183. if {punkty::%arg 2%} is set:
  184. remove arg 3 from {punkty::%arg 2%}
  185. send "&aZaaktualizowano ranking gracza: &6%arg 2%"
  186. execute console command "scoreboard players set %arg 2% pkt %{punkty::%arg 2%}%"
  187. else:
  188. send "&cGracz o takim nicku nie istnieje!"
  189. else:
  190. send "&cUzycie: /ranking <set|add|remove> <gracz> <ilosc>"
  191. else:
  192. send "&cUzycie: /ranking <set|add|remove> <gracz> <ilosc>"
  193. stop
  194. else:
  195. send "&cNie masz uprawnien do uzywania tej komendy!"
  196.  
  197. #========================\#
  198. # Online 0.0.0.1v /#
  199. #========================\#
  200. # Autor janek50 /#
  201. #========================\#
  202.  
  203. command /list:
  204. description: Lista graczy online.
  205. aliases: who, online, server, servers
  206. trigger:
  207. send "&7Na serwerze jest &c%number of players%&7/&c55&7."
  208.  
  209. #========================\#
  210. # Motd 0.0.0.1v /#
  211. #========================\#
  212. # Autor janek50 /#
  213. #========================\#
  214.  
  215. variables:
  216. {odwiedziny.%player%} = 0
  217. {bylounas} = 1
  218.  
  219. on first join:
  220. add 1 to {bylounas}
  221. on join:
  222. add 1 to {odwiedziny.%player%}
  223. send "&4"
  224. send "&4"
  225. send "&4"
  226. send "&4"
  227. send "&4"
  228. send "&4"
  229. send "&4"
  230. send "&4"
  231. send "&4"
  232. send "&4"
  233. send "&4"
  234. send "&4"
  235. send "&4"
  236. send "&4"
  237. send "&4"
  238. send "&4"
  239. send "&4"
  240. send "&4"
  241. send "&4"
  242. send "&4"
  243. send "&4"
  244. send "&4"
  245. send "&4"
  246. send "&4"
  247. send "&4"
  248. send "&4"
  249. send "&4"
  250. send "&4"
  251. send "&4"
  252. send "&4"
  253. send "&4"
  254. send "&4"
  255. send "&4"
  256. send "&4"
  257. send "&4"
  258. send "&4"
  259. send "&4"
  260. send "&4"
  261. send "&4"
  262. send "&4"
  263. send "&4"
  264. send "&4"
  265. send "&4"
  266. send "&4"
  267. send "&4"
  268. send "&4"
  269. send "&4"
  270. send "&4"
  271. send "&4"
  272. send "&4"
  273. send "&4"
  274. send "&4"
  275. send "&4"
  276. send "&4"
  277. send "&4"
  278. send "&4"
  279. send "&4"
  280. send "&4"
  281. send "&4"
  282. send "&4"
  283. send "&4"
  284. send "&4"
  285. send "&4"
  286. send "&4"
  287. send "&4"
  288. send "&4"
  289. send "&4"
  290. send "&4"
  291. send "&4"
  292. send "&4"
  293. send "&4"
  294. send "&4"
  295. send "&4"
  296. send "&4"
  297. send "&4"
  298. send "&4"
  299. send "&4"
  300. send "&4"
  301. send "&4"
  302. send "&4"
  303. send "&4"
  304. send "&4"
  305. send "&4"
  306. send "&4"
  307. send "&4"
  308. send "&4"
  309. send "&4"
  310. send "&4"
  311. send "&4"
  312. send "&4"
  313. send "&4"
  314. send "&4"
  315. send "&4"
  316. send "&4"
  317. send "&4"
  318. send "&4"
  319. send "&4"
  320. send "&4"
  321. send "&4"
  322. send "&4"
  323. send "&4"
  324. send "&4"
  325. send "&4"
  326. send "&4"
  327. send "&4"
  328. send "&4"
  329. send "&4"
  330. send "&4"
  331. send "&4"
  332. send "&4"
  333. send "&4"
  334. send "&4"
  335. send "&4"
  336. send "&4"
  337. send "&4"
  338. send "&4"
  339. send "&4"
  340. send "&4"
  341. send "&4"
  342. send "&2&l*&8&l&m---------&2&l* &2&lNaz&6&lwa &2&l*&8&l&m---------&2&l*"
  343. send "&6Witaj, &7%player%,"
  344. send "&7Na Serwerze jest %number of all players%&c/&7150"
  345. send "&7Odwiedzasz nas poraz &c%{odwiedziny.%player%}% Raz"
  346. send "&7Na serwerze zarejestrowalo sie &c%{odwiedziny}%"
  347. send "&2&l*&8&l&m---------&2&l* &2&lNaz&6&lwa &2&l*&8&l&m---------&2&l*"
  348.  
  349. #========================\#
  350. # Obsidian 0.0.0.1v /#
  351. #========================\#
  352. # Autor janek50 /#
  353. #========================\#
  354.  
  355. on skript load:
  356. wait 2 seconds
  357. send "&9>> &aObsidian &8- &7zostal uruchomiony..." to the console
  358. on explode:
  359. loop blocks in radius 5:
  360. if loop-block is obsidian:
  361. chance of 20.0%
  362. set loop-block to air
  363. drop obsidian
  364. if loop-block is enchantment table:
  365. chance of 20.0%
  366. drop enchantment table
  367. if loop-block is ender chest:
  368. chance of 20.0%
  369. drop ender chest
  370.  
  371. #========================\#
  372. # ExpStone 0.0.0.1v /#
  373. #========================\#
  374. # Autor janek50 /#
  375. #========================\#
  376.  
  377. on mine of stone:
  378. give 2 xp to the player
  379.  
  380. #========================\#
  381. # AutoMSG 0.0.0.1v /#
  382. #========================\#
  383. # Autor janek50 /#
  384. #========================\#
  385.  
  386. on skript load:
  387. wait 2 seconds
  388. send "&9>> &aAutoMSG &8- &7zostal uruchomiony..." to the console
  389. options:
  390. czas: 60
  391. every {@czas} real seconds:
  392. {auto.spam} is not set:
  393. set {auto.spam} to 1
  394. broadcast " &6* &7MSG"
  395. broadcast " &6* &7MSG"
  396. stop
  397. {auto.spam} is 1:
  398. broadcast " &6* &7MSG"
  399. set {auto.spam} to 2
  400. stop
  401. {auto.spam} is 2:
  402. broadcast " &6* &7msg"
  403. set {auto.spam} to 3
  404. stop
  405. {auto.spam} is 3:
  406. broadcast " &6* &7MSG"
  407. broadcast " &6* &7MSG"
  408. set {auto.spam} to 4
  409. stop
  410. {auto.spam} is 4:
  411. broadcast " &6* &7MSG"
  412. set {auto.spam} to 5
  413. stop
  414. {auto.spam} is 5:
  415. broadcast " &6* &7MSG"
  416. broadcast " &6* &cMSG"
  417. set {auto.spam} to 1
  418. stop
  419.  
  420. #========================\#
  421. # ItemStart 0.0.0.1v /#
  422. #========================\#
  423. # Autor janek50 /#
  424. #========================\#
  425.  
  426. on first join:
  427. add 1 wooden sword named "&aMiecz" to the player
  428. add 1 wooden pickaxe named "&aKamien" to the player
  429. add 1 compass named "&aKompas" to the player
  430. add 10 torch named "&aPochodnie" to the player
  431. add 16 steak named "&aJedzenie" to the player
  432.  
  433. #========================\#
  434. # POMOC 0.0.0.1v /#
  435. #========================\#
  436. # Autor janek50 /#
  437. #========================\#
  438.  
  439. on skript load:
  440. wait 2 seconds
  441. send "&9>> &aPOMOC &8- &7zostala uruchomiona..." to the console
  442. command /pomoc:
  443. trigger:
  444. send "&8<&6*&8>&5===============&8[&7&lPOMOC&8]&5===============&8<&6*&8>"
  445. send " &6* &9/cmd1 &8| &7cmd 1 info."
  446. send " &6* &9/cmd2 &8| &7cmd 2 info"
  447. send " &6* &9/cmd3 &8| &7cmd 3 info"
  448. send " &6* &9/cmd4 &8| &7cmd 4 info"
  449. send " &6* &9/cmd5 &8| &7cmd 5 info"
  450. send "&5==============================================="
Advertisement
Add Comment
Please, Sign In to add comment