Date: 2014/07/18 07:40:04 UTC-07:00
Type: Denizen Script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
#startups
"scoreboardstartup":
type: world
events:
on server start:
- run scoreboardrefresh
- run scoreboardscrollers
scoreboardrefresh:
type: task
debug: false
script:
- ^scoreboard remove id:news
- ^scoreboard remove id:main
- ^scoreboard remove id:easyredstone
- ^scoreboard remove id:lumilink
- ^scoreboard remove id:lumitools
- ^scoreboard remove id:wizard
- ^scoreboard remove id:gravitor
- ^scoreboard remove id:oddblock
- ^scoreboard remove id:deflorer
- ^scoreboard remove id:muted
- ^scoreboard remove id:ghosted
- ^scoreboard remove id:potions
- ^scoreboard remove id:cycler
- ^scoreboard remove id:deorer
- ^scoreboard remove id:paintbrush
- ^scoreboard remove id:gravitor
- wait 1
# - ^scoreboard add id:main obj:<&6>Luminatics lines:<&e>-------------- score:10
# - ^scoreboard add id:main obj:<&6>Luminatics lines:<&4>______________ score:8
# - ^scoreboard add id:main obj:<&6>Luminatics 'lines:<&6>Online staff<&co>' score:7
# - ^scoreboard add id:main obj:<&6>Luminatics 'lines:Online members<&co>' score:5
# - ^scoreboard add id:main obj:<&6>Luminatics lines:<&4>-------------- score:3
# - ^scoreboard add id:main obj:<&6>Luminatics lines:<&6>Website<&co> score:2
# - ^scoreboard add id:main obj:<&6>Luminatics lines:<&e>______________ score:0
- ^scoreboard add id:news obj:<&6>News lines:<&e>------------- score:13
- ^scoreboard add id:news obj:<&6>News 'lines:<&c>WARNING!' score:12
- ^scoreboard add id:news obj:<&6>News 'lines:Our home system' score:11
- ^scoreboard add id:news obj:<&6>News 'lines:has been redone!' score:10
- ^scoreboard add id:news obj:<&6>News 'lines:please use' score:9
- ^scoreboard add id:news obj:<&6>News 'lines:/lumihome help' score:8
- ^scoreboard add id:news obj:<&6>News 'lines:and reset your' score:7
- ^scoreboard add id:news obj:<&6>News 'lines:homes!' score:6
- ^scoreboard add id:news obj:<&6>News 'lines:/home will be' score:5
- ^scoreboard add id:news obj:<&6>News 'lines:removed soon!' score:4
- ^scoreboard add id:news obj:<&6>News 'lines:<&6>Website<&f><&co>' score:2
- ^scoreboard add id:news obj:<&6>News 'lines:Luminatics.net' score:1
- ^scoreboard add id:news obj:<&6>News lines:<&e>______________ score:0
- ^scoreboard add id:easyredstone 'obj:<&4>Easy Redstone!' lines:<&c>-------------- score:10
- ^scoreboard add id:easyredstone 'obj:<&4>Easy Redstone!' 'lines:Toggle easy' score:9
- ^scoreboard add id:easyredstone 'obj:<&4>Easy Redstone!' 'lines:redstone by' score:8
- ^scoreboard add id:easyredstone 'obj:<&4>Easy Redstone!' 'lines:typing /er .' score:7
- ^scoreboard add id:easyredstone 'obj:<&4>Easy Redstone!' 'lines:<&f>' score:6
- ^scoreboard add id:easyredstone 'obj:<&4>Easy Redstone!' 'lines:Put it in bypass' score:5
- ^scoreboard add id:easyredstone 'obj:<&4>Easy Redstone!' 'lines:mode by right' score:4
- ^scoreboard add id:easyredstone 'obj:<&4>Easy Redstone!' 'lines:clicking' score:3
- ^scoreboard add id:easyredstone 'obj:<&4>Easy Redstone!' 'lines:anything while' score:2
- ^scoreboard add id:easyredstone 'obj:<&4>Easy Redstone!' 'lines:sneaking!' score:1
- ^scoreboard add id:easyredstone 'obj:<&4>Easy Redstone!' lines:<&c>______________ score:0
- ^scoreboard add id:lumilink 'obj:<&3>lumilink!' lines:<&9>-------------- score:11
- ^scoreboard add id:lumilink 'obj:<&3>lumilink!' 'lines:Connect switches' score:10
- ^scoreboard add id:lumilink 'obj:<&3>lumilink!' 'lines:Over long' score:9
- ^scoreboard add id:lumilink 'obj:<&3>lumilink!' 'lines:distances' score:8
- ^scoreboard add id:lumilink 'obj:<&3>lumilink!' 'lines:without wiring' score:7
- ^scoreboard add id:lumilink 'obj:<&3>lumilink!' 'lines:and make them' score:6
- ^scoreboard add id:lumilink 'obj:<&3>lumilink!' 'lines:execute commands' score:5
- ^scoreboard add id:lumilink 'obj:<&3>lumilink!' 'lines:when toggled!' score:4
- ^scoreboard add id:lumilink 'obj:<&3>lumilink!' 'lines:<&f>' score:3
- ^scoreboard add id:lumilink 'obj:<&3>lumilink!' 'lines:/lumilink help' score:2
- ^scoreboard add id:lumilink 'obj:<&3>lumilink!' 'lines:for more info!' score:1
- ^scoreboard add id:lumilink 'obj:<&3>lumilink!' lines:<&9>______________ score:0
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' lines:<&3>-------------- score:11
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:Our very own' score:10
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:itembound' score:9
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:building tools.' score:8
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:/lumitools help' score:7
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:for more info!' score:6
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:<&6>Our tools<&co>' score:4
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:<&e>Wizard' score:2
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:<&e>Gravitor' score:2
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:<&e>Oddblock' score:2
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:<&e>Deflorer' score:2
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:<&e>Deorer' score:2
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:<&e>Paintbrush' score:2
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:<&e>Cycler' score:2
- ^scoreboard add id:lumitools 'obj:<&6>Lumitools' 'lines:<&e>Potions' score:2
- ^scoreboard add id:wizard 'obj:<&6>Lumitools' lines:<&3>-------------- score:11
- ^scoreboard add id:wizard 'obj:<&6>Lumitools' 'lines:The wizard tool' score:10
- ^scoreboard add id:wizard 'obj:<&6>Lumitools' 'lines:allows you to' score:9
- ^scoreboard add id:wizard 'obj:<&6>Lumitools' 'lines:remove a block' score:8
- ^scoreboard add id:wizard 'obj:<&6>Lumitools' 'lines:without updating' score:7
- ^scoreboard add id:wizard 'obj:<&6>Lumitools' 'lines:its surroundings' score:6
- ^scoreboard add id:wizard 'obj:<&6>Lumitools' 'lines:. Therefor' score:5
- ^scoreboard add id:wizard 'obj:<&6>Lumitools' 'lines:letting you' score:4
- ^scoreboard add id:wizard 'obj:<&6>Lumitools' 'lines:make blocks' score:3
- ^scoreboard add id:wizard 'obj:<&6>Lumitools' 'lines:defy physics!' score:2
- ^scoreboard add id:wizard 'obj:<&6>Lumitools' lines:<&3>______________ score:0
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' lines:<&3>-------------- score:11
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:The gravitor' score:10
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:tool will make' score:9
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:a block get' score:8
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:pushed from or' score:7
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:pulled towards' score:6
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:the side of' score:5
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:the block that' score:4
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:you clicked,' score:3
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:with a left' score:2
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:or right click.' score:1
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' lines:<&3>______________ score:0
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' lines:<&3>-------------- score:19
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:Blocks outside' score:13
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:of the typical' score:12
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:block grid!' score:11
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:Left click to' score:10
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:select your' score:9
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:block type,' score:8
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:Sneak left click' score:7
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:to remove an' score:6
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:existing' score:5
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:oddblock, and' score:4
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:right click to' score:3
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:create one at' score:2
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' 'lines:your feet.' score:1
- ^scoreboard add id:oddblock 'obj:<&6>Lumitools' lines:<&3>______________ score:0
- ^scoreboard add id:deflorer 'obj:<&6>Lumitools' lines:<&3>-------------- score:11
- ^scoreboard add id:deflorer 'obj:<&6>Lumitools' 'lines:The deflorer' score:10
- ^scoreboard add id:deflorer 'obj:<&6>Lumitools' 'lines:lets you remove' score:9
- ^scoreboard add id:deflorer 'obj:<&6>Lumitools' 'lines:all forms of' score:8
- ^scoreboard add id:deflorer 'obj:<&6>Lumitools' 'lines:vegitation with' score:7
- ^scoreboard add id:deflorer 'obj:<&6>Lumitools' 'lines:the click of a' score:6
- ^scoreboard add id:deflorer 'obj:<&6>Lumitools' 'lines:button!' score:5
- ^scoreboard add id:deflorer 'obj:<&6>Lumitools' 'lines:This brush is' score:4
- ^scoreboard add id:deflorer 'obj:<&6>Lumitools' 'lines:affected by your' score:3
- ^scoreboard add id:deflorer 'obj:<&6>Lumitools' 'lines:lumitools brush' score:2
- ^scoreboard add id:deflorer 'obj:<&6>Lumitools' 'lines:size!' score:1
- ^scoreboard add id:deflorer 'obj:<&6>Lumitools' lines:<&3>______________ score:0
- ^scoreboard add id:deorer 'obj:<&6>Lumitools' lines:<&3>-------------- score:11
- ^scoreboard add id:deorer 'obj:<&6>Lumitools' 'lines:The deorer' score:10
- ^scoreboard add id:deorer 'obj:<&6>Lumitools' 'lines:lets you remove' score:9
- ^scoreboard add id:deorer 'obj:<&6>Lumitools' 'lines:all kinds of' score:8
- ^scoreboard add id:deorer 'obj:<&6>Lumitools' 'lines:ores with' score:7
- ^scoreboard add id:deorer 'obj:<&6>Lumitools' 'lines:the click of a' score:6
- ^scoreboard add id:deorer 'obj:<&6>Lumitools' 'lines:button!' score:5
- ^scoreboard add id:deorer 'obj:<&6>Lumitools' 'lines:This brush is' score:4
- ^scoreboard add id:deorer 'obj:<&6>Lumitools' 'lines:affected by your' score:3
- ^scoreboard add id:deorer 'obj:<&6>Lumitools' 'lines:lumitools brush' score:2
- ^scoreboard add id:deorer 'obj:<&6>Lumitools' 'lines:size!' score:1
- ^scoreboard add id:deorer 'obj:<&6>Lumitools' lines:<&3>______________ score:0
- ^scoreboard add id:cycler 'obj:<&6>Lumitools' lines:<&3>-------------- score:11
- ^scoreboard add id:cycler 'obj:<&6>Lumitools' 'lines:This tool lets' score:10
- ^scoreboard add id:cycler 'obj:<&6>Lumitools' 'lines:you cycle back' score:9
- ^scoreboard add id:cycler 'obj:<&6>Lumitools' 'lines:and forth' score:8
- ^scoreboard add id:cycler 'obj:<&6>Lumitools' 'lines:through the' score:7
- ^scoreboard add id:cycler 'obj:<&6>Lumitools' 'lines:different' score:6
- ^scoreboard add id:cycler 'obj:<&6>Lumitools' 'lines:versions of the' score:5
- ^scoreboard add id:cycler 'obj:<&6>Lumitools' 'lines:Targetted block.' score:4
- ^scoreboard add id:cycler 'obj:<&6>Lumitools' lines:<&3>______________ score:0
- ^scoreboard add id:paintbrush 'obj:<&6>Lumitools' lines:<&3>-------------- score:11
- ^scoreboard add id:paintbrush 'obj:<&6>Lumitools' 'lines:This tool lets' score:10
- ^scoreboard add id:paintbrush 'obj:<&6>Lumitools' 'lines:you select a' score:9
- ^scoreboard add id:paintbrush 'obj:<&6>Lumitools' 'lines:block with left' score:8
- ^scoreboard add id:paintbrush 'obj:<&6>Lumitools' 'lines:clicking, and' score:7
- ^scoreboard add id:paintbrush 'obj:<&6>Lumitools' 'lines:replacing blocks' score:6
- ^scoreboard add id:paintbrush 'obj:<&6>Lumitools' 'lines:with your' score:5
- ^scoreboard add id:paintbrush 'obj:<&6>Lumitools' 'lines:selected' block' score:4
- ^scoreboard add id:paintbrush 'obj:<&6>Lumitools' 'lines:by right' score:3
- ^scoreboard add id:paintbrush 'obj:<&6>Lumitools' 'lines:clicking.' score:2
- ^scoreboard add id:paintbrush 'obj:<&6>Lumitools' lines:<&3>______________ score:0
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' lines:<&3>-------------- score:11
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:Push blocks away' score:10
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:or pull them' score:9
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:towards you by' score:8
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:respectively' score:7
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:punching or' score:6
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:right-clicking' score:5
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' 'lines:them!' block' score:4
- ^scoreboard add id:gravitor 'obj:<&6>Lumitools' lines:<&3>______________ score:0
- ^scoreboard add id:Potions 'obj:<&6>Lumitools' lines:<&3>-------------- score:11
- ^scoreboard add id:Potions 'obj:<&6>Lumitools' 'lines:Left click with' score:10
- ^scoreboard add id:Potions 'obj:<&6>Lumitools' 'lines:a potion to' score:9
- ^scoreboard add id:Potions 'obj:<&6>Lumitools' 'lines:apply its effect' score:8
- ^scoreboard add id:Potions 'obj:<&6>Lumitools' 'lines:and sneak-left' score:7
- ^scoreboard add id:Potions 'obj:<&6>Lumitools' 'lines:click to remove' score:6
- ^scoreboard add id:Potions 'obj:<&6>Lumitools' 'lines:the effect!' score:5
- ^scoreboard add id:Potions 'obj:<&6>Lumitools' lines:<&3>______________ score:0
- ^scoreboard add id:muted 'obj:<&3>Muted!' lines:<&3>______________ score:14
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:You have been' score:13
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:restricted from' score:12
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:talking in-game.' score:11
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:This likely is' score:10
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:the result of' score:9
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:inappropriate' score:8
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:or obstructive' score:7
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:behaviour in the' score:6
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:game chat.' score:5
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:You can appeal' score:4
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:your mute by' score:3
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:mail to support@' score:2
- ^scoreboard add id:muted 'obj:<&3>Muted!' 'lines:luminatics.net.' score:1
- ^scoreboard add id:muted 'obj:<&3>Muted!' lines:<&3>-------------- score:0
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' lines:<&4>______________ score:14
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:You have been' score:13
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:restricted from' score:12
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:participating' score:11
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:in our server.' score:10
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:This likely is' score:9
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:the result of' score:8
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:inappropriate' score:7
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:or obstructive' score:6
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:behaviour.' score:5
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:you can appeal' score:4
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:in game or by' score:3
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:mail to support@' score:2
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' 'lines:luminatics.net.' score:1
- ^scoreboard add id:ghosted 'obj:<&c>Ghosted!' lines:<&4>-------------- score:0
scoreboardscrollers:
type: task
script:
- ^run scoreboardwebsitescroll
# - ^run scoreboardwelcomescroll
# - ^run scoreboardstaffscroll
# - ^run scoreboardonlinescroll
- ^if <server.has_flag[newsbarstrings]> {
- run bosshealthscroll delay:2s
} else {
- announce "[LUMIWARNING] No news strings found. Did not commence scoreboardonlinescroll in denizen." to_console
# Scrollers
"bosshealthscroll":
type: task
debug: false
speed: 1
script:
- ^if <global.flag[stopbosshealthscroll]> queue clear
- ^if <server.has_flag[healthscroll1]> == false flag server healthscroll1:0
- ^if <global.flag[healthscroll1].asint> >= <server.flag[newsbarcurrentstring].length.add[64].as_int||0> {
- ^flag server newsbarcurrentstring:<yaml[lumiboardnewsbars].read[strings].as_list.random>
- ^flag server bosshealthscrollHP:<el@val[200].div[<server.flag[newsbarcurrentstring].length.add[63]>]>
- ^flag server healthscroll1:0
}
- ^if <server.list_online_players.size> > 0 {
- ^foreach <server.list_online_players> {
- ^if li@off|hints !contains <%value%.flag[currentsidebar]> adjust %value% 'show_boss_bar:<el@val[200].sub[<global.flag[bosshealthscrollHP].mul[<global.flag[healthscroll1]>]>].as_int>|<&6><el@val[ <server.flag[newsbarcurrentstring]> ].substring[<global.flag[healthscroll1].asint>,<global.flag[healthscroll1].add[63].asint>]>'
}
}
- ^flag server healthscroll1:++
- run bosshealthscroll delay:3t instantly
"scoreboardwebsitescroll":
type: task
debug: false
speed: 1
script:
- queue clear
- ^if <server.has_flag[websitescroll1]> == false flag server websitescroll1:0
- ^if <global.flag[websitescroll1].asint> >= 34 flag server websitescroll1:0
- ^scoreboard remove id:news obj:<&6>News 'lines:<&b><el@val[ www.Luminatics.net ].substring[<global.flag[websitescroll1].asint>,<global.flag[websitescroll1].add[13].asint>]>' score:1
- ^scoreboard add id:news obj:<&6>News 'lines:<&b><el@val[ www.Luminatics.net ].substring[<global.flag[websitescroll1].add[1].asint>,<global.flag[websitescroll1].add[14].asint>]>' score:1
- ^flag server websitescroll1:++
- ^run scoreboardwebsitescroll delay:3t instantly
"scoreboardwelcomescroll":
type: task
debug: false
speed: 1
script:
- ^if <server.has_flag[welcomescroll1]> == false flag server welcomescroll1:0
- ^if <global.flag[welcomescroll1].asint> >= 48 flag server welcomescroll1:0
- ^scoreboard remove id:news obj:<&6>News 'lines:<&6><el@val[ Welcome to the Luminatics server! ].substring[<global.flag[welcomescroll1].asint>,<global.flag[welcomescroll1].add[13].asint>]>' score:15
- ^scoreboard add id:news obj:<&6>News 'lines:<&6><el@val[ Welcome to the Luminatics server! ].substring[<global.flag[welcomescroll1].add[1].asint>,<global.flag[welcomescroll1].add[14].asint>]>' score:15
- ^flag server welcomescroll1:++
- ^run scoreboardwelcomescroll delay:3t instantly
"scoreboardstaffscroll":
type: task
debug: false
speed: 1
script:
- ^if <global.flag[staffscroll1].asint> >= <global.flag[tempingroup].formatted.length.add[15].asint||0> || <server.has_flag[staffscroll1]> == false {
- ^flag server staffscroll1:0
- ^flag global tempingroup:!
- ^foreach <server.list_online_players> {
- ^if <%value%.in_group[staff]> flag global tempingroup:->:%value%
}
- ^if <server.has_flag[tempingroup]> == false flag global tempingroup:None
}
- ^scoreboard remove id:main obj:<&6>Luminatics 'lines:<&b><el@val[ <global.flag[tempingroup].formatted> ].substring[<global.flag[staffscroll1].asint>,<global.flag[staffscroll1].add[13].asint>]>' score:6
- ^scoreboard add id:main obj:<&6>Luminatics 'lines:<&b><el@val[ <global.flag[tempingroup].formatted> ].substring[<global.flag[staffscroll1].add[1].asint>,<global.flag[staffscroll1].add[14].asint>]>' score:6
- ^flag server staffscroll1:++
- ^run scoreboardstaffscroll delay:3t instantly
"scoreboardonlinescroll":
type: task
debug: false
speed: 1
script:
- ^if <global.flag[onlinescroll1].asint> >= <global.flag[temponline].formatted.length.add[15].asint||0> || <server.has_flag[onlinescroll1]> == false {
- ^flag server onlinescroll1:0
- ^flag global temponline:!
- ^foreach <server.list_online_players> {
- ^if <%value%.in_group[staff]> == false flag global temponline:->:%value%
}
- ^if <server.has_flag[temponline]> == false flag global temponline:None
}
- ^scoreboard remove id:main obj:<&6>Luminatics 'lines:<&b><el@val[ <global.flag[temponline].formatted> ].substring[<global.flag[onlinescroll1].asint>,<global.flag[onlinescroll1].add[13].asint>]>' score:4
- ^scoreboard add id:main obj:<&6>Luminatics 'lines:<&b><el@val[ <global.flag[temponline].formatted> ].substring[<global.flag[onlinescroll1].add[1].asint>,<global.flag[onlinescroll1].add[14].asint>]>' score:4
- ^flag server onlinescroll1:++
- ^run scoreboardonlinescroll delay:3t instantly
# hint scoreboards and forcers and checkers
"scoreboardhint":
type: task
debug: false
script:
- if <player.has_flag[forcedsidebar]> queue clear
- if <player.flag[currentsidebar]> == off && %1% != 'news' {
- queue clear
}
- scoreboard add viewers:<player> id:%1%
- wait 30
- ^if li@hints|off contains <player.flag[currentsidebar]> {
- scoreboard add viewers:<player> id:main
- ^scoreboard remove viewers:<player> id:main
} else {
- ^scoreboard add viewers:<player> id:<player.flag[currentsidebar]>
}
"forcescoreboardon":
type: task
debug: false
script:
- flag p@%2% forcedsidebar:->:%1%
- if !<p@%2%.is_online> queue clear
- scoreboard add viewers:p@%2% id:%1%
"forcescoreboardoff":
type: task
debug: false
script:
- flag p@%2% forcedsidebar:<-:%1%
- if !<p@%2%.is_online> queue clear
- scoreboard add viewers:p@%2% id:<p@%2%.flag[currentsidebar]>
"removescoreboardwithcheck":
type: task
debug: false
script:
- scoreboard remove id:%1%
- if <player.has_flag[<player.name>isghosted]> {
- scoreboard add viewers:<player> id:ghosted
} else if <player.has_flag[<player.name>ismuted]> {
- scoreboard add viewers:<player> id:muted
} else {
- scoreboard add viewers:<player> id:<player.flag[currentsidebar]>
}
# mail related boards
"scoreboardmailviewer":
type: task
debug: false
script:
- if <player.flag[currentsidebar]> == off queue clear
- ^flag isviewingmailboard:->:yes
- ^scoreboard remove id:<player.name>mail%1%
- ^define length <el@val[<m:<el@val[%2%].length>/16>].round_up>
- ^define mailstringsection 1
- ^define scoreboardscorer 99
- ^repeat %length% {
- ^scoreboard add id:<player.name>mail%1% 'obj:<&6>Mail %1%' 'lines:<el@val[%2%].substring[<el@val[%mailstringsection%].as_int>,<el@val[%mailstringsection%].add[15].as_int>]>' 'score:%scoreboardscorer%'
- ^define mailstringsection <el@val[%mailstringsection%].add[16]>
- define scoreboardscorer <el@val[%scoreboardscorer%].sub[1].as_int>
}
- scoreboard add id:<player.name>mail%1% viewers:<player>
- wait 60s
- ^scoreboard remove id:<player.name>mail%1%
- flag isviewingmailboard:<-:yes
- if <player.flag[isviewingmailboard]> != yes {
- if <player.has_flag[<player.name>isghosted]> {
- scoreboard add viewers:<player> id:ghosted
} else if <player.has_flag[<player.name>ismuted]> {
- scoreboard add viewers:<player> id:muted
} else {
- scoreboard add viewers:<player> id:<player.flag[currentsidebar]>
}
}
"scoreboardmaillist":
type: task
debug: false
script:
- if <player.flag[currentsidebar]> == off queue clear
- ^scoreboard remove id:<player.name>maillist
- if <player.flag[LUMIMAILS].as_list> == li@null queue clear
- ^flag isviewingmailboard:->:yes
- ^define scoreboardscorer 99
- ^define mailcount 1
- ^foreach <player.flag[LUMIMAILS].as_list.get[1].to[7]> {
- ^scoreboard add id:<player.name>maillist 'obj:<&6>Your inbox' 'lines:%mailcount% <el@val[%value%].substring[1,14]>' 'score:%scoreboardscorer%'
- ^scoreboard add id:<player.name>maillist 'obj:<&6>Your inbox' 'lines:<&e><el@val[%value%].substring[15,26]>..' 'score:<el@val[%scoreboardscorer%].sub[1].as_int>'
- ^define scoreboardscorer <el@val[%scoreboardscorer%].sub[2].as_int>
- define mailcount <el@val[%mailcount%].add[1].as_int>
}
- ^if %1% > 7 scoreboard add id:<player.name>maillist 'obj:<&6>Your inbox' 'lines:<&6>And <el@val[%1%].sub[7].as_int> more' score:0
- scoreboard add id:<player.name>maillist viewers:<player>
- wait 60s
- ^scoreboard remove id:<player.name>maillist
- flag isviewingmailboard:<-:yes
- if <player.flag[isviewingmailboard]> != yes {
- if <player.has_flag[<player.name>isghosted]> {
- scoreboard add viewers:<player> id:ghosted
} else if <player.has_flag[<player.name>ismuted]> {
- scoreboard add viewers:<player> id:muted
} else {
- scoreboard add viewers:<player> id:<player.flag[currentsidebar]>
}
}
"scoreboardcombat":
type: task
debug: false
script:
- ^if <player.flag[currentsidebar]> == off queue clear
- ^if <player.has_flag[<player.name>ismuted]> || <player.has_flag[<player.name>isghosted]> queue clear
- ^flag <player> combatscoreboard:->:true
- ^scoreboard remove id:<player.name>combat
- ^scoreboard add viewers:<player> id:<player.name>combat 'obj:<&4>Combat Log'
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<&4>--------------' score:7
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<&c>Target<&co>' score:6
- ^if <%1%.entity_type> contains 'entity' {
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<&a><&e>/' score:5
} else if <%1%.is_npc> {
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<el@val[<n@%1%.name>].substring[1,14]>' score:5
} else if <%1%.is_player> {
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<el@val[<p@%1%.name>].substring[1,16]>' score:5
} else {
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<&e><def[1].entity_type.to_lowercase>' score:5
}
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<&c>Target HP<&co> ' score:4
- ^if <%1%.entity_type> !contains 'entity' {
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<&2><el@val[<&hrt><&hrt><&hrt><&hrt><&hrt><&hrt><&hrt><&hrt><&hrt><&hrt>].substring[1,<%1%.health.percentage.div[10].round_up>]><&4><el@val[<&hrt><&hrt><&hrt><&hrt><&hrt><&hrt><&hrt><&hrt><&hrt><&hrt>].substring[<%1%.health.percentage.div[10].round_up.add[1].as_int>,10]>' score:3
} else {
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<&e>/' score:3
}
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<&c>Damage<&co>' score:2
- ^if <def[2]||0> != 0 {
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<&e><el@val[%2%].as_int>' score:1
} else {
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<&b><&e>/' score:1
}
- ^scoreboard add id:<player.name>combat 'obj:<&4>Combat Log' 'lines:<&4>______________' score:0
- ^adjust <player> 'fake_experience:<%1%.health.percentage.div[100]>|<el@val[%2%].as_int>'
- wait 5s
- wait 10s
- ^flag <player> combatscoreboard:<-:true
- ^if <player.flag[combatscoreboard].as_list> == li@null {
- ^adjust <player> fake_experience
- ^if <player.has_flag[<player.name>isghosted]> {
- ^scoreboard add viewers:<player> id:ghosted
} else if <player.has_flag[<player.name>ismuted]> {
- ^scoreboard add viewers:<player> id:muted
} else {
- ^scoreboard add viewers:<player> id:<player.flag[currentsidebar]>
}
}
# news bar announcement
"startbosshealthannounce":
type: task
debug: false
script:
- flag server bosshealthannouncecount:25
- ^flag server stopbosshealthscroll:true
- wait 1
- flag server bosshealthannouncecount:0
- run bosshealthannounce 'def:%1%'
"bosshealthannounce":
type: task
debug: false
script:
- foreach <server.list_online_players> {
- adjust %value% 'show_boss_bar:<global.flag[bosshealthannouncecount].mul[10].as_int>|<&c>%1%'
}
- foreach <server.list_online_players> {
- adjust %value% 'show_boss_bar:<global.flag[bosshealthannouncecount].mul[10].add[5].as_int>|<&e>%1%'
}
- ^flag server bosshealthannouncecount:++
- ^if <global.flag[bosshealthannouncecount]> > 20 {
- ^flag server stopbosshealthscroll:false
- foreach <server.list_online_players> {
- adjust %value% show_boss_bar
}
- flag server healthscroll1:0
- run bosshealthscroll delay:2s
} else {
- run bosshealthannounce 'def:%1%'
}
#commands
"scoreboardcmds":
type: world
debug: false
events:
on news command:
- run scoreboardhint def:news
- determine fulfilled
on player joins:
- flag currentsidebar:main
- ^flag <player> combatscoreboard:!
- run scoreboardhint def:news
on lumiboard command:
- inject locally 'path:lumiboardcommand'
on lb command:
- inject locally 'path:lumiboardcommand'
on newsbar command:
- if !<player.has_permission[lumiboard.newsbar]> {
- narrate "<&c>You do not have the permission to do this."
- determine fulfilled
- queue clear
}
- if <context.args.get[1]> == add {
- if <yaml[lumiboardnewsbars].read[strings].as_list> !contains <context.args.get[2]> {
- yaml id:lumiboardnewsbars set 'strings:->:<context.args.get[2].to[500].replace[li@].replace[|].with[ ]>'
- narrate "<&6>Added '<context.args.get[2].to[500].replace[li@].replace[|].with[ ]>' as a news string."
} else {
- narrate "<&c>This news string was already found."
}
} else if '<context.args.get[1]>' == set {
- yaml id:lumiboardnewsbars set strings:!
- yaml id:lumiboardnewsbars set 'strings:->:<context.args.get[2].to[500].replace[li@].replace[|].with[ ]>'
- narrate "<&6>Set '<context.args.get[2].to[500].replace[li@].replace[|].with[ ]>' as the news string."
} else if <context.args.get[1]> == delete || <context.args.get[1]> == remove || <context.args.get[1]> == del {
- if <yaml[lumiboardnewsbars].read[strings].as_list> contains '<context.args.get[2].to[500].replace[li@].replace[|].with[ ]>' {
- yaml id:lumiboardnewsbars set 'strings:<-:<context.args.get[2].to[500].replace[li@].replace[|].with[ ]>'
- narrate "<&6>Removed '<context.args.get[2].to[500].replace[li@].replace[|].with[ ]>' from the news strings."
} else {
- narrate "<&c>This news string was not found."
}
} else if <context.args.get[1]> == list {
- narrate ""
- narrate "<&6>Listing all current news strings<&co>"
- foreach <yaml[lumiboardnewsbars].read[strings].as_list> {
- narrate "<&e>- '%value%'"
}
} else if <context.args.get[1]> == reload {
- yaml load:lumiboardnewsbars.yml id:lumiboardnewsbars
- narrate "<&6>The newsbar saves have been reloaded."
} else {
- narrate "<&c> invalid arguments. do /newsbar add/set/delete [news string] or /newsbar list/reload."
}
- determine fulfilled
on announce command:
- if !<player.has_permission[lumiboards.announce]> && !<player.is_op> && !<context.server> {
- narrate "<&c>You do not have permission to do this."
- determine fulfilled
- queue clear
}
- announce "<&4>[<&6>Luminatics<&4>]<&f><&co> <&e><context.args.get[1].to[500].replace[li@].replace[|].with[ ]>"
- run startbosshealthannounce 'def:<context.args.get[1].to[500].replace[li@].replace[|].with[ ]>'
- determine fulfilled
lumiboardcommand:
- if <player.has_flag[forcedsidebar]> {
- if !<player.has_flag[<player.name>isghosted]> && !<player.has_flag[<player.name>ismuted]> {
- flag forcedsidebar:!
} else {
- narrate "<&c>we're sorry. Recent events have caused us to force this lumiboard on for you."
- determine fulfilled
- queue clear
}
- if <context.args.get[1]> == hide || <context.args.get[1]> == off {
- scoreboard remove viewers:<player> id:<player.flag[currentsidebar]>
- flag currentsidebar:off
- adjust <player> show_boss_bar
} else if <context.args.get[1]> == hints {
- flag currentsidebar:hints
- run scoreboardhint def:hints
- adjust <player> show_boss_bar
} else if <context.args.get[1]> == on {
- scoreboard add viewers:<player> id:main
- flag currentsidebar:main
} else {
- scoreboard add viewers:<player> id:<context.args.get[1]>
- flag currentsidebar:<context.args.get[1]>
}
- determine fulfilled
"serverping":
type: world
debug: false
events:
on server list ping:
- if <context.address> == '/97.102.10.15' {
- random {
- determine "1000|<&4>[<&6>Laura<&4>]<&co> <&e>Connor, you're a noob."
}
} else if <context.address> == '/24.24.213.214' || <context.address> == '/108.184.143.50' {
- determine "1000|<&4>[<&6>Laura<&4>]<&co> <&e>Hello denizen boys."
} else if 1 == 0 {
- determine "1000|<&6>The official Luminatics server!<n><&d>Now with teamspeak 3<&co> <&b>TS.LUMINATICS.NET"
} else if <yaml[playerIP].contains[<context.address.replace[.].with[-]>]> {
- define player '<yaml[playerip].read[<context.address.replace[.].with[-]>]>'
- if <p@%player%.has_flag[%player%isbanned]> {
- determine "1000|<&6><&c>You are banned for <&e><p@%player%.flag[%player%isbanned].expiration.formatted><&c>.<n><&c>You can submit an appeal to <&e>support@luminatics.net<&c>."
} else {
- random {
- determine "1000|<&6>The official Luminatics server!<n><&e>Hey <&a>%player%<&e>, We need you!"
- determine "1000|<&6>The official Luminatics server!<n><&e>Come join us, <&a>%player%<&e>!"
- determine "1000|<&6>The official Luminatics server!<n><&e><&a>%player%<&e>! Show us your skills!"
- determine "1000|<&6>The official Luminatics server!<n><&6>Laura<&e> misses <&a>%player%<&e>!"
- determine "1000|<&6>The official Luminatics server!<n><&e>Make yourself a sandwich, <&a>%player%<&e>!"
- determine "1000|<&6>The official Luminatics server!<n><&e>It needs more depphhhtt, <&a>%player%<&e>!"
- determine "1000|<&6>The official Luminatics server!<n><&e>Hey <&a>%player%<&e>, come help us build <yaml[checklistdata].list_keys[globallists].get[1]>!"
- determine "1000|<&6>The official Luminatics server!<n><&e>Hey <&a>%player%<&e>, come work on <yaml[checklistdata].list_keys[globallists].get[1]>!"
}
} else {
- random {
- determine "1000|<&6>The official Luminatics server! <&b><&n>www.luminatics.net"
- determine "1000|<&6>The official Luminatics server! <&e><&o>The one and only."
}
}
on player joins:
- yaml "write:<player.ip.address.replace[.].with[-].before[<&co>]>" 'value:<player.name.display>' id:playerIP