Mireacul

UHC_Start.sk

Apr 18th, 2026 (edited)
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.64 KB | None | 0 0
  1. # ==============================================================================
  2. # Mireacul UHC Core — 1.8.8
  3. # Public Release Version
  4. #
  5. # AUTHOR: ValidatedEnd
  6. #
  7. # DEPENDENCIES (Required for full functionality):
  8. # 1. Skript 2.2 v8: https://www.dropbox.com/scl/fo/9glikxpymu43zbgovkyvx/ANymDLhl8u78dIXsgSHbCuI/Old%20Versions/Skript%202.2%20Fixes%20V8.jar?rlkey=8slnpfyojeb1wzm5n8vl2lb1o&e=1&dl=0
  9. # 2. SkQuery: https://github.com/SkQuery/SkQuery/releases/tag/3.6.3
  10. # 3. skRayFall v1.8 https://dev.bukkit.org/projects/skrayfall/files/909615
  11. # 2. BarBridge https://www.spigotmc.org/resources/barbridge-1-8-bossbar-plugin-api.134574/
  12. # 3. Nate's Scatter: https://www.reddit.com/search/?q=nates+scatter&cId=bfe144f6-a171-4651-b847-b96e1e735625&iId=6f74f21d-a842-47c6-8d10-d2e81d16d5cc (Command: /sca)
  13. # 4. Advanced Killboard: https://www.reddit.com/r/ultrahardcore/comments/5azg0x/advanced_killboard_sk/ (Command: /killboard)
  14. # 5. UHCSk-Fork: https://pastebin.com/n9UyrhTB
  15. # ==========================================
  16.  
  17.  
  18.  
  19. options:
  20. spawn: spawn
  21. P: &7[&6&lMire&e&la&3&lcul&7]&f
  22. perms: skript.host
  23. starterFood: 20 steak
  24. # CHANGE THESE TO YOUR SERVER OWNERS/ADMINS
  25. serverOwner: ValidatedEnd
  26. admin: Ranger5o
  27.  
  28.  
  29. on load:
  30. execute console command "/uhcstop confirm"
  31. execute console command "/gamerule sendCommandFeedback false"
  32. wait 5 ticks
  33. command "/pvparena enable"
  34.  
  35. #==========================================
  36. #SERVER-SIDE
  37. #==========================================
  38.  
  39. #----------------------------------------------
  40. #Spawn Handler
  41. #----------------------------------------------
  42.  
  43. command /setuhcspawn:
  44. permission: {@perms}
  45. trigger:
  46. set {uhc::spawn} to location of command sender
  47. send "&7%{uhc::spawn}% » Spawn has been set to this location"
  48.  
  49.  
  50. on hunger meter change:
  51. event-world is "{@spawn}"
  52. set event-player's food level to 10
  53.  
  54. on damage of player:
  55. {uhc::running} is not set
  56. event-world is "{@spawn}"
  57. cancel event
  58. damage cause is void
  59. teleport victim to {uhc::spawn}
  60.  
  61.  
  62. on death of a player:
  63. set player's gamemode to adventure
  64.  
  65. #------------------------------------
  66. #Death kick
  67. #------------------------------------
  68. if {uhc::running} is set:
  69. {spec::%victim%} is not set
  70. set {_v} to victim
  71.  
  72. execute console command "/wl remove %{_v}%"
  73. send "{@P} You have fallen in battle, wish your companions and enemies goodbye and leave with honor." to {_v}
  74. wait 60 seconds
  75. if {_v} is online:
  76. kick {_v} due to "You have lost the battle, but not the war. Hone your skills and try again."
  77.  
  78.  
  79. on weather change:
  80. event-world is "{@spawn}"
  81. set weather to sun
  82.  
  83. on command "/spawn":
  84. if {uhc::running} is set:
  85. cancel event
  86. send "&cError"
  87. else:
  88. cancel event
  89. if event-world is "arena":
  90. cancel event
  91. wait 1 tick
  92. make player execute command "/pvpleave"
  93. else:
  94. set command sender's gamemode to adventure
  95. teleport command sender to {uhc::spawn}
  96.  
  97. on join:
  98.  
  99. #----------------------------------------------
  100. #Joining message
  101. #----------------------------------------------
  102.  
  103. if player's name is "{@serverOwner}" or "{@admin}":
  104. set join message to "&7[&a»&7] &c%player%"
  105. else:
  106. set join message to "&7[&a»&7] &f%player%"
  107.  
  108. #----------------------------------------------
  109. #Welcome message
  110. #----------------------------------------------
  111.  
  112. if {uhc::running} is set:
  113. send "{@P} Welcome back"
  114. if {uhc::timer} is "prepvp":
  115. set {_m} to floor({uhc::pvptime} / 60)
  116. set {_s} to {uhc::pvptime} mod 60
  117. if {_s} is less than 10:
  118. set {_s} to "0%{_s}%"
  119.  
  120. execute console command "/bar timed %player% %{uhc::pvptime}% &ePvP &7in &a%{_m}%:%{_s}%"
  121. else if {uhc::timer} is "pvp":
  122. set {_m} to floor({uhc::mutime} / 60)
  123. set {_s} to {uhc::mutime} mod 60
  124. if {_s} is less than 10:
  125. set {_s} to "0%{_s}%"
  126.  
  127. # 2. Update the BarBridge Text dynamically
  128. execute console command "/bar timed %player% %{uhc::mutime}% &eMeetup &7in &a%{_m}%:%{_s}%"
  129. else if {uhc::timer} is "meetup":
  130. execute console command "/bar set %player% &cMeetup &7- &eHead to &c0,0"
  131. stop
  132. #----------------------------------------------
  133. #When game is not running
  134. #----------------------------------------------
  135.  
  136. else:
  137. teleport player to {uhc::spawn}
  138. set player's gamemode to adventure
  139. heal player
  140. clear player's inventory
  141. command "/effect %player% clear"
  142. heal player
  143. loop 5 times:
  144. send "" to player
  145. send "&7⬥ &8&m &7 ⬥" to player
  146. send "" to player
  147. send "&7Welcome to {@P}" to player
  148. if {arena::Enabled} is set:
  149. send "&3Arena &7» &aEnabled" to player
  150. send "&3Mode &7» &a%{arena::Mode}%" to player
  151. send "" to player
  152. send "&7⬥ &8&m &7 ⬥" to player
  153. else:
  154. if {uhc::setup} is set:
  155. make player execute command "/config"
  156. send "" to player
  157. send "&7⬥ &8&m &7 ⬥" to player
  158. else:
  159. send "" to player
  160. send "&7⬥ &8&m &7 ⬥" to player
  161.  
  162. #----------------------------------------------
  163. #Leave message
  164. #----------------------------------------------
  165.  
  166. on disconnect:
  167. set leave message to "&7[&c«&7] &f%player%"
  168.  
  169. # ==========================================
  170. # HOST SETUP
  171. # ==========================================
  172.  
  173. command /matchpost [<text>]:
  174. trigger:
  175. if command sender has permission "{@perms}":
  176. if arg-1 is set:
  177. if arg-1 is "del" or "delete":
  178. if {uhc::matchpost} is set:
  179. delete {uhc::matchpost}
  180. send "{@P} Matchpost deleted"
  181. else:
  182. send "{@P} No Matchpost to delete"
  183. else if arg-1 is "send" or "link" or "show" or "now" or "here":
  184. if {uhc::matchpost} is set:
  185. send "{@P} Matchpost &7&l» %{uhc::matchpost}%"
  186. else:
  187. send "{@P} No match is set"
  188. else:
  189. if {uhc::setup} is set:
  190. set {uhc::matchpost} to arg-1
  191. send "{@P} Matchpost set: %{uhc::matchpost}%"
  192. else:
  193. send "{@P} Game is not setup. Do /setupuhc confirm"
  194. else:
  195. send "{@P} Matchpost &7&l» %{uhc::matchpost}%"
  196. else:
  197. if {uhc::matchpost} is set:
  198. send "{@P} Matchpost &7&l» %{uhc::matchpost}%"
  199. else:
  200. send "{@P} No match is set"
  201.  
  202.  
  203. command /setupgame [<text>] [<text>]:
  204. aliases: /setupuhc
  205. permission: {@perms}
  206. trigger:
  207. if arg-1 is not set:
  208. make command sender execute command "/setupuhc help"
  209.  
  210. if arg-1 is "del" or "delete":
  211. if {uhc::setup} is not set:
  212. send "{@P} Error: No setup to delete"
  213. else:
  214. if {uhc::host} is not set:
  215. delete {uhc::setup}
  216. send "{@P} Setup deleted"
  217. stop
  218. if command sender's name is "%{uhc::host}%" or "{@serverOwner}" or "{@admin}":
  219. delete {uhc::setup}
  220. send "{@P} Setup deleted"
  221. stop
  222. else:
  223. send "{@P} You are not the host"
  224. stop
  225.  
  226. if arg-1 is "confirm":
  227. if {uhc::host} is not set:
  228. send "{@P} Error: No Host is set"
  229. stop
  230. if {uhc::teamsize} is not set:
  231. send "{@P} Error: No Teamsize or FFA is set"
  232. stop
  233. if {uhc::border} is not set:
  234. send "{@P} Error: No Border is set"
  235. stop
  236. if {uhc::pvpmins} is not set:
  237. send "{@P} Error: No PvP Time is set"
  238. stop
  239. if {uhc::mumins} is not set:
  240. send "{@P} Error: No Meetup Time is set"
  241. stop
  242. set {uhc::setup} to true
  243. send "{@P} Setup confirmed"
  244. stop
  245.  
  246. if arg-1 is "host":
  247. if arg-2 is set:
  248. set {uhc::host} to "%arg-2%" parsed as a offline player
  249. send "&a%{uhc::host}% has been set as host"
  250. stop
  251. else:
  252. send "&f/setupgame &ahost &7[&aIGN&7]"
  253. stop
  254.  
  255. if arg-1 is "team":
  256. if arg-2 is set:
  257. set {uhc::teamlimit} to "%arg-2%" parsed as a integer
  258. if {uhc::teamlimit} is not set:
  259. send "&7Teams must have a number for the size limit"
  260. send "/setupgame teams &7[&fMax players per team&7]"
  261. stop
  262. set {uhc::teamsize} to "team"
  263. send "&aTeams of %{uhc::teamlimit}% have been set"
  264. stop
  265. else:
  266. send "&7Teams must have a number for the size limit"
  267. send "/setupgame teams &7[&fMax players per team&7]"
  268. stop
  269.  
  270. if arg-1 is "ffa" or "FFA":
  271. set {uhc::teamsize} to "FFA"
  272. delete {uhc::teamlimit}
  273. send "&aFFA has been set"
  274. stop
  275.  
  276. if arg-1 is "border":
  277. if arg-2 is set:
  278. set {uhc::border} to "%arg-2%" parsed as a integer
  279. if {uhc::border} is set:
  280. send "&a%{uhc::border}% has been set as the border&7(radius)"
  281. stop
  282. else:
  283. send "&7border must have a number for the size limit"
  284. send "/setupgame border &7[&fvalue&7]"
  285. stop
  286. else:
  287. send "&7border must have a number for the size limit"
  288. send "/setupgame border &7[&fvalue&7]"
  289. stop
  290.  
  291. if arg-1 is "pvp":
  292. if arg-2 is set:
  293. set {uhc::pvpmins} to "%arg-2%" parsed as a integer
  294. if {uhc::pvpmins} is set:
  295. if arg-2 is < 1:
  296. send "&cPvP must be at least 1 minute"
  297. stop
  298. send "&aPvP will be enabled after %{uhc::pvpmins}% minutes of start"
  299. stop
  300. else:
  301. send "&7PvP time must have a number for the size limit"
  302. send "/setupgame pvp &7[&fvalue&7]"
  303. stop
  304. else:
  305. send "&7PvP time must have a number for the size limit"
  306. send "/setupgame pvp &7[&fvalue&7]"
  307. stop
  308.  
  309. if arg-1 is "meetup":
  310. if arg-2 is set:
  311. set {uhc::mumins} to "%arg-2%" parsed as a integer
  312. if {uhc::mumins} is set:
  313. if arg-2 is < 1:
  314. send "&cMeetup time must be at least 1 minute"
  315. stop
  316. send "&aMeetup will be set %{uhc::mumins}% minutes after pvp is enabled."
  317. stop
  318. else:
  319. send "&7Meetup time must have a number"
  320. send "/setupgame meetup &7[&fvalue&7]"
  321. stop
  322. else:
  323. send "&7Meetup time must have a number"
  324. send "/setupgame meetup &7[&fvalue&7]"
  325. stop
  326.  
  327. if arg-1 is "info":
  328. send "{@P} &fHost: &e%{uhc::host}%"
  329. if {uhc::teamlimit} is set:
  330. send "{@P} &fTeam Size: &e%{uhc::teamlimit}%"
  331. else:
  332. send "{@P} &fFFA"
  333. send "{@P} &fBorder: &e%{uhc::border}%"
  334. send "{@P} &fPvP: &e%{uhc::pvpmins}% min"
  335. send "{@P} &fMeetup: &e%{uhc::mumins}% min"
  336. stop
  337.  
  338. if arg-1 is "help":
  339. send "&f/setupgame &ahost/team(ffa for FFA)/border(radius)/pvp/meetup &c[value]"
  340. send "&f/setupgame &cconfirm &7- Confirms setup"
  341. send "&f/setupgame &cinfo &7- Displays match info"
  342. stop
  343.  
  344.  
  345. command /pregame:
  346. permission: {@perms}
  347. trigger:
  348. if {uhc::pregame} is set:
  349. send "{@P} Error: Game is already in pregame state"
  350. stop
  351. if {uhc::setup} is not set:
  352. send "{@P} Error: Confirm setup with /setupuhc confirm"
  353. stop
  354.  
  355. set {uhc::pregame} to true
  356. make command sender execute command "/pvparena disable"
  357. make command sender execute command "/feature set deathlightning on"
  358. make command sender execute command "/feature set deathstands on"
  359. make command sender execute command "/feature set heads on"
  360. loop all players:
  361. teleport loop-player to {uhc::spawn}
  362. clear loop-player's inventory
  363. set loop-player's gamemode to adventure
  364. set loop-player's health to 10
  365. set loop-player's food to 20
  366. command "/playsound mob.wither.death %loop-player% ~ ~ ~ 1 0.5 1"
  367. broadcast "&7[&6&lMire&e&la&3&lcul&7] &7&l» &aGame starting soon"
  368.  
  369.  
  370. # ==========================================
  371. # START
  372. # ==========================================
  373.  
  374. command /uhcstart [<text>]:
  375. aliases: /start
  376. permission: {@perms}
  377. trigger:
  378. if {uhc::running} is set:
  379. send "{@P} &cGame is already running."
  380. stop
  381. if arg-1 is not set:
  382. if {uhc::pregame} is set:
  383. send "{@P} To start game do /start confirm"
  384. stop
  385. else:
  386. send "{@P} Error: no game set."
  387. stop
  388. else:
  389. if arg-1 is not "confirm":
  390. send "{@P} Error: unknown syntax. /start confirm"
  391. stop
  392. if {uhc::setup} is not set:
  393. send "{@P} Error: Game is not setup. /setupuhc confirm"
  394. stop
  395. if {uhc::pregame} is not set:
  396. send "{@P} Error: Pregame needs to be set. /pregame"
  397. stop
  398.  
  399. delete {uhc::pregame}
  400. set {uhc::running} to true
  401. set {uhc::world} to event-world
  402. message "%{uhc::world}%"
  403. execute console command "/gamerule sendCommandFeedback false"
  404. execute console command "/kb on"
  405.  
  406. # Clear and prep
  407. loop all players:
  408. {spec::%loop-player%} is not set
  409. set loop-player's gamemode to survival
  410. clear loop-player's inventory
  411. set loop-player's food level to 10
  412. set loop-player's health to loop-player's max health
  413. give {@starterFood} to loop-player
  414. execute console command "/xp set * 0"
  415.  
  416. # Countdown
  417. broadcast "{@P} &fGame starting in &c5&f..."
  418. loop all players:
  419. command "/playsound note.harp %loop-player% ~ ~ ~ 1 0.5 1"
  420. wait 1 second
  421. broadcast "{@P} &c4"
  422. loop all players:
  423. command "/playsound note.harp %loop-player% ~ ~ ~ 1 0.5 1"
  424. wait 1 second
  425. broadcast "{@P} &c3"
  426. loop all players:
  427. command "/playsound note.harp %loop-player% ~ ~ ~ 1 0.5 1"
  428. wait 1 second
  429. broadcast "{@P} &c2"
  430. loop all players:
  431. command "/playsound note.harp %loop-player% ~ ~ ~ 1 0.5 1"
  432. wait 1 second
  433. broadcast "{@P} &c1"
  434. loop all players:
  435. command "/playsound note.harp %loop-player% ~ ~ ~ 1 0.5 1"
  436. wait 1 second
  437.  
  438. # Unfreeze
  439. execute console command "/freeze"
  440.  
  441. broadcast "{@P} &a&lGO!"
  442. loop all players:
  443. command "/playsound random.pop %loop-player% ~ ~ ~ 1 2 1"
  444.  
  445. # Set time to day
  446. make command sender execute command "/time set day"
  447.  
  448. # Butcher mobs
  449. loop 3 times:
  450. wait 1 second
  451. execute console command "/butcher"
  452.  
  453. # PvP off at start
  454. execute console command "/pvp %{uhc::world}% off"
  455.  
  456. make command sender execute command "/killboard on"
  457.  
  458. # Final heal after 10 seconds
  459. wait 5 seconds
  460. broadcast "{@P} &fFinal Heal: &c3"
  461. loop all players:
  462. command "/playsound note.harp %loop-player% ~ ~ ~ 1 0.5 1"
  463. wait 1 second
  464. broadcast "{@P} &fFinal Heal: &c2"
  465. loop all players:
  466. command "/playsound note.harp %loop-player% ~ ~ ~ 1 0.5 1"
  467. wait 1 second
  468. broadcast "{@P} &fFinal Heal: &c1"
  469. loop all players:
  470. command "/playsound note.harp %loop-player% ~ ~ ~ 1 0.5 1"
  471. wait 1 second
  472. broadcast "{@P} &fFinal Heal Given!"
  473. loop all players:
  474. {spec::%loop-player%} is not set
  475. heal loop-player
  476. set loop-player's food level to 10
  477. command "/playsound random.pop %loop-player% ~ ~ ~ 1 0.5 1"
  478.  
  479. # Start timer
  480. set {uhc::pvptime} to {uhc::pvpmins} * 60
  481. set {uhc::mutime} to {uhc::mumins} * 60
  482. set {uhc::gamemins} to {uhc::mumins} + {uhc::pvpmins}
  483. execute console command "/bar timed * %{uhc::pvptime}% &ePvP &7in &a%{uhc::pvpmins}%:00"
  484. set {uhc::timer} to "prepvp"
  485.  
  486.  
  487. every 1 second:
  488. {uhc::running} is set
  489.  
  490. if {uhc::timer} is "prepvp":
  491. if {uhc::pvptime} > 0:
  492. remove 1 from {uhc::pvptime}
  493.  
  494. # 1. Format Time into MM:SS
  495. set {_m} to floor({uhc::pvptime} / 60)
  496. set {_s} to {uhc::pvptime} mod 60
  497. if {_s} is less than 10:
  498. set {_s} to "0%{_s}%"
  499.  
  500. # 2. Update the BarBridge Text dynamically
  501. execute console command "/bar msg * &ePvP &7in &a%{_m}%:%{_s}%"
  502.  
  503. else:
  504. # 3. PvP Phase Trigger (Timer hit 0)
  505. set {uhc::timer} to "pvp"
  506.  
  507. # Start the new draining bar for the Meetup phase
  508. set {_t} to {uhc::mumins}
  509. execute console command "/bar timed * %{uhc::mutime}% &eMeetup &7in &a%{_t}%:00"
  510.  
  511. set {uhc::pvp} to true
  512. execute console command "/pvp %{uhc::world}% on"
  513. broadcast "{@P} &c&lPvP is now enabled!"
  514.  
  515. loop all players:
  516. command "/playsound tile.piston.out %loop-player% ~ ~ ~ 1 0.5 1"
  517. stop
  518.  
  519. else if {uhc::timer} is "pvp":
  520. if {uhc::mutime} > 0:
  521. remove 1 from {uhc::mutime}
  522.  
  523. # 1. Format Time into MM:SS
  524. set {_m} to floor({uhc::mutime} / 60)
  525. set {_s} to {uhc::mutime} mod 60
  526. if {_s} is less than 10:
  527. set {_s} to "0%{_s}%"
  528.  
  529. # 2. Update the BarBridge Text dynamically
  530. execute console command "/bar msg * &eMeetup &7in &a%{_m}%:%{_s}%"
  531. else:
  532. # 3. PvP Phase Trigger (Timer hit 0)
  533. set {uhc::timer} to "meetup"
  534.  
  535. broadcast "{@P} &a&lMeetup is NOW! Head to 0,0!"
  536. execute console command "/bar set * &cMeetup &7- &eHead to &c0,0"
  537. loop all players:
  538. command "/playsound tile.piston.in %loop-player% ~ ~ ~ 1 0.5 1"
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545. # ==========================================
  546. # STOP
  547. # ==========================================
  548.  
  549. command /uhcstop [<text>]:
  550. aliases: /gamestop
  551. permission: {@perms}
  552. trigger:
  553. if arg-1 is set:
  554. if arg-1 is "confirm":
  555. delete {uhc::running}
  556. delete {uhc::pvp}
  557. delete {uhc::meetup}
  558. delete {uhc::frozen}
  559. delete {uhc::timer}
  560. delete {uhc::pvptime}
  561. delete {uhc::mutime}
  562. delete {uhc::mumins}
  563. delete {uhc::pvpmins}
  564. delete {uhc::matchpost}
  565. delete {uhc::setup}
  566. delete {uhc::teamlimit}
  567. delete {uhc::border}
  568. delete {uhc::teamsize}
  569. execute console command "/gamerule sendCommandFeedback false"
  570. loop all players:
  571. delete {frozen::%loop-player%}
  572. broadcast "{@P} &cGame has been stopped."
  573. loop all players:
  574. if {spec::%loop-player%} is not set:
  575. clear inventory of loop-player
  576. heal loop-player
  577. set loop-player's food level to 10
  578. set loop-player's gamemode to adventure
  579. else:
  580. make loop-player execute command "/unspec %loop-player%"
  581. teleport loop-player to {uhc::spawn}
  582. make command sender execute command "/bar remove *"
  583. make command sender execute command "/killboard off"
  584. make command sender execute command "/pvparena enable"
  585. make command sender execute command "/sb"
  586. make command sender execute command "/feature set deathlightning off"
  587. make command sender execute command "/feature set deathstands off"
  588. make command sender execute command "/feature set heads off"
  589. execute console command "/gamerule doMobSpawning false"
  590. execute console command "/killall all"
  591. else:
  592. send "{@P} Unknown syntax. /uhcstop confirm"
  593. else:
  594. send "{@P} /uhcstop confirm to stop the uhc"
  595.  
  596.  
  597. #==========================================
  598. # LATE SCATTER
  599. #==========================================
  600.  
  601. command /latescatter <player> <world> <integer>:
  602. permission: {@perms}
  603. usage: /latescatter <player> <world> <radius>
  604. trigger:
  605. execute console command "/feed %arg-1%"
  606. wait 5 ticks
  607. clear arg-1's inventory
  608. set arg-1's gamemode to survival
  609. execute console command "/sca %arg-2% %arg-3% %arg-1%"
  610. wait 5 seconds
  611. # Late scatter final heal
  612. send "{@P} &fFinal Heal: &c3" to arg-1
  613. command "/playsound note.harp %arg-1% ~ ~ ~ 1 0.5 1"
  614. wait 1 second
  615. send "{@P} &fFinal Heal: &c2" to arg-1
  616. command "/playsound note.harp %arg-1% ~ ~ ~ 1 0.5 1"
  617. wait 1 second
  618. send "{@P} &fFinal Heal: &c1" to arg-1
  619. command "/playsound note.harp %arg-1% ~ ~ ~ 1 0.5 1"
  620. wait 1 second
  621. send "{@P} &fFinal Heal Given!" to arg-1
  622. heal arg-1
  623. give 64 cooked beef to arg-1
  624.  
  625. # ==========================================
  626. # CONFIG DISPLAY — for players
  627. # ==========================================
  628.  
  629. command /config:
  630. aliases: /matchinfo, /gameinfo
  631. trigger:
  632. if {uhc::matchpost} is set:
  633. send "&7&m "
  634. send "&e&lMatch Info"
  635. send "&7&m "
  636. send " &fHost: &e%{uhc::host}%"
  637. if {uhc::teamlimit} is set:
  638. send " &fTeam Size: &e%{uhc::teamlimit}%"
  639. else:
  640. send " &fFFA"
  641. send " &fBorder: &e%{uhc::border}%"
  642. send " &fPvP: &e%{uhc::pvpmins}% mins"
  643. if {uhc::gamemins} is not set:
  644. set {_t} to {uhc::mumins} + {uhc::pvpmins}
  645. else:
  646. set {_t} to {uhc::gamemins}
  647. send " &fTotal Game Length: &e%{_t}% mins"
  648. send " &fMatchpost: &e%{uhc::matchpost}%"
  649. send "&7&m "
  650. else:
  651. send "&cNo game is planned"
  652.  
  653.  
Advertisement
Add Comment
Please, Sign In to add comment