instagramfortnite

Untitled

Dec 4th, 2020
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.13 KB | None | 0 0
  1. # CRACK SKYWARS compatible for 1.8+ servers
  2.  
  3. options:
  4. v: 0.1
  5. author: Joonthan
  6.  
  7.  
  8.  
  9.  
  10. # ● SETTINGS ●
  11.  
  12. prefix: &b&l[&l&6SW&b&l] #you may edit this
  13. sbname: &e&lSKY WARS
  14. bowdamagemessage: true
  15. nocmd: "nick" or "vanish"
  16.  
  17. # Min-Max players
  18.  
  19. minplayerssolo: 2
  20. maxplayerssolo: 12
  21. minplayersteams: 4
  22. maxplayersteams: 24
  23.  
  24. # Timers
  25.  
  26. cagetimesolo: 15
  27. starttimeteams: 15
  28. cagetimeteams: 10
  29. refill1min: 3
  30. refill1sec: 30
  31. refill2min: 2
  32. refill2sec: 0
  33. doomtmin: 2
  34. doomsec: 0
  35. endmin: 2
  36. endsec: 0
  37.  
  38. # Chat
  39.  
  40. normchat: %colored player's prefix% %player%&f: %message%
  41. specchat: &7[SPECTATOR]&r %colored player's prefix% %player%&f: %message%
  42.  
  43. # Points
  44.  
  45. killcoins: 100
  46. assistcoins: 50
  47. wincoins: 1000
  48. soulskill: 1;/'['
  49. soulsassist: 0
  50. soulswin: 5
  51.  
  52.  
  53.  
  54.  
  55. # ● GAME EVENTS ●
  56.  
  57. Starting: Starting in
  58. startingevent: Waiting...
  59. refill: Refill
  60. gamedoom: Doom
  61. gameend: Game End
  62. gameended: Game ended!
  63.  
  64.  
  65.  
  66.  
  67.  
  68. # ● SCOREBOARD ●
  69.  
  70. website: &espigot.org
  71. boardname: &e&lSKYWARS
  72.  
  73. # //lobby
  74. lobbybl14: &r&r&r&r
  75. lobbybl13: &fYour Level:&r
  76. lobbybl12: &r&r&r
  77. lobbybl11: &fSolo Kills:&a
  78. lobbybl10: &fSolo Wins:&a
  79. lobbybl9: &fDoubles Kills:&a
  80. lobbybl8: &fDoubles Wins:&a
  81. lobbybl7: &r&r
  82. lobbybl6: &fCoins: &6
  83. lobbybl5: &fSouls: &7/100
  84. lobbybl4: &fTokens:&2
  85. lobbybl3: &fLoot Chests: &e
  86. lobbybl2: &r
  87. lobbybl1: {@website}
  88.  
  89. # //solo pre
  90. solopre10: &7%now% Solo
  91. solopre9: &r&r&r&r
  92. solopre8: &fPlayers: &a/12
  93. solopre7: &r&r&r
  94. solopre6: &fStarting in&a s
  95. solopre5: &r&r
  96. solopre4: &fMap:&a
  97. solopre3: &fMode:&a
  98. solopre2: &r
  99. solopre1: {@website}
  100.  
  101. # //solo
  102. solo13: &7%now% Solo
  103. solo12: &r&r&r&r
  104. solo11: &fNext Event:&r
  105. solo10: &a
  106. solo9: &r&r&r&r
  107. solo8: &fPlayers left:&a
  108. solo7: &r&r&r
  109. solo6: &fKills:&a
  110. solo5: &r&r
  111. solo4: &fMap:&a
  112. solo3: &fMode:&a
  113. solo2: &r
  114. solo1: {@website}
  115.  
  116.  
  117.  
  118.  
  119. # ● TITLES ●
  120.  
  121. title10: &e10 seconds
  122. sub10: &eRight-click the bow to pick a kit!
  123. sub: &ePrepare to fight!
  124. game: &eSkyWars
  125. normalsub: &aNormal
  126. insanesub: &cInsane
  127. preparesub: &ePrepare to fight!
  128. victorytitle: &l&6VICTORY!
  129. victorysub: &7You were the last man standing!
  130. diedtitle: &c&lYOU DIED!
  131. diedsub: &7You are now a spectator!
  132. refill: &eAll chest have been refilled!
  133. 5minremain: &a5&e minutes remaining!
  134. doom: &cSudden Death
  135. gameendtitle: &c&lGAME END
  136. gameendsub: &7You weren't victorious this time
  137. title1: &c1
  138. title2: &c2
  139. title3: &c3
  140. title4: &c4
  141. title5: &c5
  142.  
  143.  
  144.  
  145.  
  146. # ● MESSAGES ●
  147.  
  148. permmsg: &aCrack Skywars plugin made by {@author}, version {@v}
  149. voiddeath: &7%victim%&e fell into the void&e.
  150. falldeath: &7%victim%&e fell from a high place&e.
  151. lavadeath: &7%victim%&e burned to crisp&e.
  152. drowndeath: &7%victim%&e drowned.
  153. leavedeath: &7%player% &eleft!
  154. voidattackdeath: &7%victim%&e was thrown into the void by &7%{attacker.%victim%}%&e.
  155. fallattackdeath: &7%victim%&e was thrown off a high cliff by &7%{attacker.%victim%}%&e.
  156. lavaattackdeath: &7%victim%&e burned to death while fighting &7%{attacker.%victim%}%&e.
  157. joinmsglobby: &r
  158. leavemessagelobby: &r
  159. joinmsgsolo: &7%player% &ehas joined (&b&e/12&e)!
  160. leavemsgpre: &7%player% &ehas quit!
  161. joinmsggame: &r
  162. nosettingchange: {@prefix} &cYou may not change any settings while playing!
  163. noarenaname: {@prefix} &cPlease provide an arena name!
  164. nomodename: {@prefix} &cPlease provide a mode! Availible modes: SOLO_NORMAL, SOLO_INSANE, TEAM_NORMAL, TEAM_INSANE
  165. gameactive: {@prefix} &cYou cannot make changes to an active arena!
  166. arenanotexist: {@prefix} &cThat arena does not exist!
  167. addedspawn: {@prefix} &aSuccesfully added a spawn location!
  168. removedspawn: {@prefix} &aSuccesfully removes a spawn location!
  169. maxspawns: {@prefix} &cYou have reached the max amount of spawns!
  170. foundnocage: {@prefix} &cThere are no cages!
  171. cenlocset: {@prefix} &aSuccesfully set the center location!
  172. highset: {@prefix} &aHigh Bound location succesfully set!
  173. lowset: {@prefix} &aLOw Bound location succesfully set!
  174. saved: {@prefix} &aSuccesfully saved the arena!
  175. cenlocnotset: {@pefix} &cPlease set the center location first!
  176. highlocnotset: {@prefix} &cPlease set the high bound location!
  177. lowlocnotset: {@prefix} &cPlease set the low bound location!
  178. modenotset: {@prefix} &cPlease set the mode first!
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193. # \\ GAME CODE // !! DO NOT CHANGE !!
  194.  
  195. on load:
  196. if {arena.amounts} is not set:
  197. set {arena.amounts} to 0
  198. send "&e&l&m---------------->> &c&lCRACK SKYWARS &e&l&m<<----------------" to console
  199. send " " to console
  200. send "&aLoading v{@v}&a..." to console
  201. send "&aLoaded %{arena.amounts}% &agames!" to console
  202. send "&aCrack Skywars succesfully enabled!" to console
  203. send " " to console
  204. send "&e&l&m---------------->> &c&lCRACK SKYWARS &e&l&m<<----------------" to console
  205.  
  206. on unload:
  207. send "&e&l&m---------------->> &c&lCRACK SKYWARS &e&l&m<<----------------" to console
  208. send " " to console
  209. send "&cDisabling Crack Skywars..." to console
  210. send "&cCrack Skywars succesfully disabled!" to console
  211. send " " to console
  212. send "&e&l&m---------------->> &c&lCRACK SKYWARS &e&l&m<<----------------" to console
  213.  
  214. command /skywars [<text>] [<text>] [<text>]:
  215. aliases: /sw
  216. executable by: players
  217. trigger:
  218. if executor does not have permission "sw.admin":
  219. send "{@permmsg}" to player
  220. stop
  221. if executor has permission "sw.admin":
  222. if arg-1 is not set:
  223. helpList(player)
  224. if arg-1 is set:
  225. if arg-1 is not "setLobby", "create", "delete", "addSpawn", "deleteSpawn", "center", "setHigh", "setLow", "save" or "checkStats":
  226. helpList(player)
  227. stop
  228. if arg-1 is "setlobby":
  229. set {swlobby} to location of executor
  230. send "{@prefix} &aThe lobby location was succesfully set!"
  231. stop
  232.  
  233.  
  234. # !! CREATING A NEW ARENA !!
  235. if arg-1 is "create":
  236. if {sw.playing.%player%} is false:
  237. if arg-2 is set:
  238. if arg-3 is "SOLO_NORMAL", "SOLO_INSANE", "TEAM_NORMAL" or "TEAM_INSANE":
  239. add text arg-2 to {sw.arena::*}
  240. set {sw.arena.%arg-2%.joinable} to false
  241. set {sw.arena.%arg-2%.exists} to true
  242. set {sw.arena.%arg-2%.created} to true
  243. set {sw.arena.%arg-2%.saved} to false
  244. set {sw.arena.%arg-2%.spawns.count} to 0
  245. set {sw.arena.%arg-2%.mode} to "%arg-3%"
  246. else:
  247. send "{@nomodename}"
  248. stop
  249. else:
  250. send "{@nomodename}"
  251. stop
  252. else:
  253. send "{@noarenaname}"
  254. stop
  255.  
  256.  
  257. # !! DELETING A ARENA !!
  258. if arg-1 is "delete":
  259. if {sw.playing.%player%} is false:
  260. if arg-2 is set:
  261. if {sw.arena.%arg-2%.exists} = true:
  262. if {sw.arena.status.%arg-2%} = false:
  263. remove text arg-2 from {sw.arena::*}
  264. clear {sw.arena.%arg-2%.joinable}
  265. clear {sw.arena.%arg-2%.created}
  266. clear {sw.arena.%arg-2%.saved}
  267. clear {sw.arena.%arg-2%.spawns.count}
  268. clear {sw.arena.%arg-2%.mode}
  269. else:
  270. send "{@gameactive}"
  271. else:
  272. send "{@arenanotexist}"
  273. else:
  274. send "{@noarenaname}"
  275.  
  276.  
  277. # !! ADDING A CAGE SPAWNS
  278. if arg-1 is "addSpawn":
  279. if {sw.playing.%player%} is false:
  280. if arg-2 is set:
  281. if {sw.arena.%arg-2%.exists} = true:
  282. if {sw.arena.status.%arg-2%} = false:
  283. if {sw.arena.%arg-2%.cage.count} = 0:
  284. add 1 to {sw.arena.%arg-2%.cage.count}
  285. set {sw.arena.%arg-2%.spawn.num.%{sw.arena.%arg-2%.cage.count}%} to location of player
  286. send "{@addedspawn}"
  287. else:
  288. if {sw.arena.%arg-2%.cage.count} >= 1 :
  289. add 1 to {sw.arena.%arg-2%.cage.count}
  290. set {sw.arena.%arg-2%.spawn.num.%{sw.arena.%arg-2%.cage.count}%} to location of player
  291. send "{@addedspawn}"
  292. if {sw.arena.%arg-2%.cage.count} > {@maxplayerssolo}:
  293. clear {sw.arena.%arg-2%.spawn.num.%{sw.arena.%arg-2%.cage.count}%}
  294. remove 1 from {sw.arena.%arg-2%.cage.count}
  295. send "{@maxspawns}"
  296. else:
  297. send "{@gameactive}"
  298. else:
  299. send "{@arenanotexist}"
  300. else:
  301. send "{@noarenaname}"
  302.  
  303.  
  304. # !! REMOVING A CAGE SPAWN !!
  305. if arg-1 is "deleteSpawn":
  306. if {sw.playing.%player%} is false:
  307. if arg-2 is set:
  308. if {sw.arena.%arg-2%.exists} = true:
  309. if {sw.arena.status.%arg-2%} = false:
  310. if {sw.arena.%arg-2%cage.count} > 1:
  311. clear {sw.arena.%arg-2%.spawn.num.%{sw.arena.%arg-2%.cage.count}%}
  312. remove 1 from {sw.arena.%arg-2%.cage.count}
  313. send "{@removedspawn}"
  314. else:
  315. if {sw.arena.%arg-2%.cage.count} = 0:
  316. send "{@foundnocage}"
  317. else:
  318. send "{@gameactive}"
  319. else:
  320. send "{@arenanotexist}"
  321. else:
  322. send "{@noarenaname}"
  323.  
  324.  
  325. # !! SETTING CENTER POINT FOR AN ARENA !!
  326. if arg-1 is "center":
  327. if {sw.playing.%player%} is false:
  328. if arg-2 is set:
  329. if {sw.arena.%arg-2%.exists} = true:
  330. if {sw.arena.status.%arg-2%} = false:
  331. set {sw.arena.%arg-2%.center.loc} to location of player
  332. send "{@cenlocset}"
  333. else:
  334. send "{@gameactive}"
  335. else:
  336. send "{@arenanotexist}"
  337. else:
  338. send "{@noarenaname}"
  339.  
  340.  
  341. # !! SETTING THE HIGH BOUND LOCATION !!
  342. if arg-1 is "setHigh":
  343. if {sw.playing.%player%} is false:
  344. if arg-2 is set:
  345. if {sw.arena.%arg-2%.exists} = true:
  346. if {sw.arena.status.%arg-2%} = false:
  347. set {sw.arena.%arg-2%.high.loc} to location of player
  348. make player execute "//pos1"
  349. loop 50 times:
  350. send " "
  351. send "{@highset}"
  352. else:
  353. send "{@gameactive}"
  354. else:
  355. send "{@arenanotexist}"
  356. else:
  357. send "{@noarenaname}"
  358.  
  359.  
  360. # !! SETTING THE LOW BOUND LOCATION !!
  361. if arg-1 is "setLow":
  362. if {sw.playing.%player%} is false:
  363. if arg-2 is set:
  364. if {sw.arena.%arg-2%.exists} = true:
  365. if {sw.arena.status.%arg-2%} = false:
  366. set {sw.arena.%arg-2%.low.loc} to location of player
  367. make player execute "//pos1"
  368. loop 50 times:
  369. send " "
  370. send "{@lowset}"
  371. else:
  372. send "{@gameactive}"
  373. else:
  374. send "{@arenanotexist}"
  375. else:
  376. send "{@noarenaname}"
  377.  
  378.  
  379. # !! SAVING ALL THE SETTINGS !!
  380. if arg-1 is "save":
  381. if {sw.playing.%player%} is true:
  382. send "{@nosettingchange}"
  383. if {sw.playing.%player%} is false:
  384. if arg-2 is not set:
  385. send "{@noarenaname}"
  386. if arg-2 is set:
  387. if {sw.arena.%arg-2%.exists} = true:
  388. if {sw.arena.status.%arg-2%} = false:
  389. if {sw.arena.%arg-2%.joinable} = false:
  390. if {sw.arena.%arg-2%.exists} = true:
  391. if {sw.arena.%arg-2%.created} = true:
  392. if {sw.arena.%arg-2%.spawns.count} > 1:
  393. if {sw.arena.%arg-2%.mode} is set:
  394. if {sw.arena.%arg-2%.center.loc} is set:
  395. if {sw.arena.%arg-2%.high.loc} is set:
  396. if {sw.arena.%arg-2%.low.loc} is set:
  397. if {sw.arena.%arg-2%.mode} = "SOLO_NORMAL" or "SOLO_INSANE":
  398. set {sw.arena.%arg-2%.saving} to true
  399. send "{@prefix} &aSaving arena...."
  400. wait 15 ticks
  401. loop blocks within {sw.arena.%arg-2%.high.loc} and {sw.arena.%arg-2%.low.loc}:
  402. if {sw.arena.%arg-2%.mode} = "SOLO_NORMAL":
  403. if loop-block is a chest:
  404. add location of loop-block to {sw.arena.%arg-2%.SW.NORMAL.IS::*}
  405. wait 10 ticks
  406. if loop-block is a trapped chest:
  407. add location of loop-block to {sw.arena.%arg-2%.SW.NORMAL.MID::*}
  408. wait 10 ticks
  409. if {sw.arena.%arg-2%.mode} = "SOLO_INSANE":
  410. if loop-block is a chest:
  411. add location of loop-block to {sw.arena.%arg-2%.SW.INSANE.IS::*}
  412. wait 10 ticks
  413. if loop-block is a trapped chest:
  414. add location of loop-block to {sw.arena.%arg-2%.SW.INSANE.MID::*}
  415. wait 10 ticks
  416. make player execute command "rb addregion %arg-2%"
  417. send "{@prefix} &aThe arena %arg-2% was succesfully saved!"
  418. if {sw.arena.%arg-2%.mode} = "SOLO_NORMAL":
  419. add arg-2 to {sw.arenas.solo.normal::*}
  420. set {sw.arena.%arg-2%.saved} to true
  421. set {sw.arena.status.%arg-2%} to true
  422. set {sw.arena.%arg-2%.saving} to false
  423. if {sw.arena.%arg-2%.mode} = "SOLO_INSANE":
  424. add arg-2 to {sw.arenas.solo.normal::*}
  425. set {sw.arena.%arg-2%.saved} to true
  426. set {sw.arena.status.%arg-2%} to true
  427. set {sw.arena.%arg-2%.saving} to false
  428. else:
  429. send "{@nomodename}"
  430. else:
  431. send "{@highlocnotset}"
  432. else:
  433. send "{@lowlocnotset}"
  434. else:
  435. send "{cenlocnotset}"
  436. else:
  437. send "{@modenotset}"
  438. else:
  439. send "{@foundnocage}"
  440. else:
  441. send "{@arenanotexist}"
  442. else:
  443. send "{@arenanotexist}"
  444. else:
  445. send "{@gameactive}"
  446. else:
  447. send "{@gameactive}"
  448. else:
  449. send "{@arenanotexist}"
  450.  
  451. function helpList(p: player):
  452. send "&e&l&m------->>&r &b&lCRACK SKYWARS &e&l&m<<-------" to {_p}
  453. send "&8&l● &7/sw setLobby" to {_p}
  454. send "&8&l● &7/sw create &8(&7arena&8) (&7mode&8)" to {_p}
  455. send "&8&l● &7/sw delete &8(&7arena&8)" to {_p}
  456. send "&8&l● &7/sw addSpawn &8(&7arena&8)" to {_p}
  457. send "&8&l● &7/sw deleteSpawn &8(&7arena&8)" to {_p}
  458. send "&8&l● &7/sw center &8(&7arena&8)" to {_p}
  459. send "&8&l● &7/sw setHigh &8(&7arena&8)" to {_p}
  460. send "&8&l● &7/sw setLow &8(&7arena&8)" to {_p}
  461. send "&8&l● &7/sw save &8(&7arena&8)" to {_p}
  462. send "&8&l● &7/sw checkStats &8(&7player&8)" to {_p}
  463.  
  464. on join:
  465. if {swlobby} is set:
  466. teleport player to {swlobby}
  467. if {swlobby} is not set:
  468. send "&aPlease ask an administrator to set the lobby location!"
  469.  
  470.  
Advertisement
Add Comment
Please, Sign In to add comment