Paste #76973: This script loads all my data into flags...one of the flags holds the data from the second data cont

Date: 2020/10/28 14:12:18 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


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
624
625
626
627
628
629
630
631
632


JoinEvents:
    type: world
    events:
        on player joins:
            - inject UpdateRanks
            - inject JoinMessege
            - inject UpdateServerFlags
            - inject UpdatePlayerFlags
            - determine NONE
JoinMessege:
    type: task
    script:
        - if !<player.has_flag[hasJoined]>:
            - narrate "<white>Welcome <green><player.name> <white>to <yellow><server.flag[serverName]>"
        - else:
            - announce "<green>+ <player.flag[rank]><white><player.name>"
UpdateRanks:
    type: task
    script:
        - if <player.is_op>:
            - if !<player.has_flag[rank]>:
                - flag player rank:<dark_purple>[OP]
        - else:
            - if !<player.has_flag[rank]>:
                - flag player rank:<gray>[Noob]
UpdateServerFlags:
    type: task
    script:
        - if !<server.has_flag[serverName]>:
            - flag server serverName:KovSMP
        - inject VaultFlags
        - inject SkullFlags
        - inject JobFlags
        - inject JobItemFlags
UpdatePlayerFlags:
    type: task
    script:
        - if !<player.has_flag[hasJoined]>:
            - flag player hasJoined
        - if !<player.has_flag[vaults]>:
            - flag player vaults:0
        - if !<player.has_flag[vaultSlots1]>:
            - flag player vaultSlots1:1
        - if !<player.has_flag[vault1]>:
            - flag player vault1:<list[<item[air]>]>
        - if !<player.has_flag[researchPoints]>:
            - flag player researchPoints:0
        - if !<player.has_flag[prestige]>:
            - flag player prestige:0

#STARTUP FLAGS
VaultFlags:
    type: task
    script:
        - if !<server.has_flag[vaultNameFormat]>:
            - flag server vaultNameFormat:<script[VaultData].parsed_key[vaultNameFormat].get[1]>
        - if !<server.has_flag[vault1Cost]>:
            - flag server vault1Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[1]>
        - if !<server.has_flag[vault2Cost]>:
            - flag server vault2Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[2]>
        - if !<server.has_flag[vault3Cost]>:
            - flag server vault3Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[3]>
        - if !<server.has_flag[vault4Cost]>:
            - flag server vault4Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[4]>
        - if !<server.has_flag[vault5Cost]>:
            - flag server vault5Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[5]>
        - if !<server.has_flag[vault6Cost]>:
            - flag server vault6Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[6]>
        - if !<server.has_flag[vaul7tCost]>:
            - flag server vault7Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[7]>
        - if !<server.has_flag[vault8Cost]>:
            - flag server vault8Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[8]>
        - if !<server.has_flag[vault9Cost]>:
            - flag server vault9Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[9]>
        - if !<server.has_flag[vault1SlotUpgradeCost]>:
            - flag server vault1SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[1]>
        - if !<server.has_flag[vault2SlotUpgradeCost]>:
            - flag server vault2SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[2]>
        - if !<server.has_flag[vault3SlotUpgradeCost]>:
            - flag server vault3SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[3]>
        - if !<server.has_flag[vault4SlotUpgradeCost]>:
            - flag server vault4SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[4]>
        - if !<server.has_flag[vault5SlotUpgradeCost]>:
            - flag server vault5SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[5]>
        - if !<server.has_flag[vault6SlotUpgradeCost]>:
            - flag server vault6SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[6]>
        - if !<server.has_flag[vault7SlotUpgradeCost]>:
            - flag server vault7SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[7]>
        - if !<server.has_flag[vault8SlotUpgradeCost]>:
            - flag server vault8SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[8]>
        - if !<server.has_flag[vault9SlotUpgradeCost]>:
            - flag server vault9SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[9]>

JobFlags:
    type: task
    script:
        #job catagorie flag
        - if !<server.has_flag[jobCatagories]>:
            - define parsedKey:<script[JobData].parsed_key[jobCatagories]>
            - flag server jobCatagories:|:<[parsedKey]>
        #jobs flags
        - if !<server.has_flag[miningJobs]>:
            - define parsedKey:<script[JobData].parsed_key[miningJobs]>
            - flag server miningJobs:|:<[parsedKey]>
        - if !<server.has_flag[lumberJobs]>:
            - define parsedKey:<script[JobData].parsed_key[lumberJobs]>
            - flag server lumberJobs:|:<[parsedKey]>
        - if !<server.has_flag[farmingJobs]>:
            - define parsedKey:<script[JobData].parsed_key[farmingJobs]>
            - flag server farmingJobs:|:<[parsedKey]>
        - if !<server.has_flag[butcherJobs]>:
            - define parsedKey:<script[JobData].parsed_key[ButcherJobs]>
            - flag server butcherJobs:|:<[parsedKey]>
        - if !<server.has_flag[gatheringJobs]>:
            - define parsedKey:<script[JobData].parsed_key[GatheringJobs]>
            - flag server gatheringJobs:|:<[parsedKey]>
        - if !<server.has_flag[huntingJobs]>:
            - define parsedKey:<script[JobData].parsed_key[HunterJobs]>
            - flag server huntingJobs:|:<[parsedKey]>
        - if !<server.has_flag[cookingJobs]>:
            - define parsedKey:<script[JobData].parsed_key[CookingJobs]>
            - flag server cookingJobs:|:<[parsedKey]>
        - if !<server.has_flag[craftingJobs]>:
            - define parsedKey:<script[JobData].parsed_key[CraftingJobs]>
            - flag server craftingJobs:|:<[parsedKey]>
        #line break
        - if !<server.has_flag[helperLores]>:
            - define parsedKey:<script[JobLoreData].parsed_key[HelperLores]>
            - flag server helperLores:|:<[parsedKey]>
        #job lores flag
        - if !<server.has_flag[jobInfoLores]>:
            - define parsedKey:<script[JobLoreData].parsed_key[JobInfoLores]>
            - flag server jobInfoLores:|:<[parsedKey]>
        #job progresssions flag
        - if !<server.has_flag[jobProgressions]>:
            - flag server jobProgressions:|:<script[Referance].parsed_key[JobProgressionReferance]>
        #job pay flag
        - if !<server.has_flag[jobPay]>:
            - flag server jobPay:|:<script[Referance].parsed_key[JobPayReferance]>
JobItemFlags:
    type: task
    script:
    #mining catagorie
    - if !<server.flag[dirtMiner]>:
        - flag server dirtMiner:|:<script[JobData].parsed_key[DirtMinerItems]>
    - if !<server.flag[sandMiner]>:
        - flag server sandMiner:|:<script[JobData].parsed_key[SandMinerItems]>
    - if !<server.flag[stoneMiner]>:
        - flag server stoneMiner:|:<script[JobData].parsed_key[StoneMinerItems]>
    - if !<server.flag[coalMiner]>:
        - flag server coalMiner:|:<script[JobData].parsed_key[CoalMinerItems]>
    - if !<server.flag[ironMiner]>:
        - flag server ironMiner:|:<script[JobData].parsed_key[IronMinerItems]>
    - if !<server.flag[redstoneMiner]>:
        - flag server redstoneMiner:|:<script[JobData].parsed_key[RedstoneMinerItems]>
    - if !<server.flag[lapisMiner]>:
        - flag server lapisMiner:|:<script[JobData].parsed_key[LapisMinerItems]>
    - if !<server.flag[goldMiner]>:
        - flag server goldMiner:|:<script[JobData].parsed_key[GoldMinerItems]>
    - if !<server.flag[emeraldMiner]>:
        - flag server emeraldMiner:|:<script[JobData].parsed_key[EmeraldMinerItems]>
    - if !<server.flag[obsidianMiner]>:
        - flag server obsidianMiner:|:<script[JobData].parsed_key[ObsidianMinerItems]>
    - if !<server.flag[quartzMiner]>:
        - flag server quartzMiner:|:<script[JobData].parsed_key[QuartzMinerItems]>
    - if !<server.flag[diamondMiner]>:
        - flag server diamondMiner:|:<script[JobData].parsed_key[DiamondMinerItems]>
    - if !<server.flag[ancientMiner]>:
        - flag server ancientMiner:|:<script[JobData].parsed_key[AncientMinerItems]>
    #lumberjack catagorie
    - if !<server.flag[oakLumberjack]>:
        - flag server oakLumberjack:|:<script[JobData].parsed_key[OakLumberjackItems]>
    - if !<server.flag[birchLumberjack]>:
        - flag server birchLumberjack:|:<script[JobData].parsed_key[BirchLumberjackItems]>
    - if !<server.flag[spruceLumberjack]>:
        - flag server spruceLumberjack:|:<script[JobData].parsed_key[SpruceLumberjackItems]>
    - if !<server.flag[darkOakLumberjack]>:
        - flag server darkOakLumberjack:|:<script[JobData].parsed_key[DarkOakLumberjackItems]>
    - if !<server.flag[acaciaLumberjack]>:
        - flag server acaciaLumberjack:|:<script[JobData].parsed_key[AcaciaLumberjackItems]>
    - if !<server.flag[jungleLumberjack]>:
        - flag server jungleLumberjack:|:<script[JobData].parsed_key[JungleLumberjackItems]>
    - if !<server.flag[crimsonLumberjack]>:
        - flag server crimsonLumberjack:|:<script[JobData].parsed_key[CrimsonLumberjackItems]>
    - if !<server.flag[warpedLumberjack]>:
        - flag server warpedLumberjack:|:<script[JobData].parsed_key[WarpedLumberjackItems]>
    #farming catagorie
    - if !<server.flag[wheatFarmer]>:
        - flag server wheatFarmer:|:<script[JobData].parsed_key[WheatFarmerItems]>
    - if !<server.flag[potatoFarmer]>:
        - flag server potatoFarmer:|:<script[JobData].parsed_key[PotatoFarmerItems]>
    - if !<server.flag[carrotFarmer]>:
        - flag server carrotFarmer:|:<script[JobData].parsed_key[CarrotFarmerItems]>
    - if !<server.flag[beetrootFarmer]>:
        - flag server beetrootFarmer:|:<script[JobData].parsed_key[BeetrootFarmerItems]>
    - if !<server.flag[pumpkinFarmer]>:
        - flag server pumpkinFarmer:|:<script[JobData].parsed_key[PumpkinFarmerItems]>
    - if !<server.flag[melonFarmer]>:
        - flag server melonFarmer:|:<script[JobData].parsed_key[MelonFarmerItems]>
    - if !<server.flag[cocoaFarmer]>:
        - flag server cocoaFarmer:|:<script[JobData].parsed_key[CocoaFarmerItems]>
    - if !<server.flag[beeFarmer]>:
        - flag server beeFarmer:|:<script[JobData].parsed_key[BeeFarmerItems]>
    - if !<server.flag[mushroomFarmer]>:
        - flag server mushroomFarmer:|:<script[JobData].parsed_key[MushroomFarmerItems]>
    - if !<server.flag[bambooFarmer]>:
        - flag server bambooFarmer:|:<script[JobData].parsed_key[BambooFarmerItems]>
    - if !<server.flag[pickleFarmer]>:
        - flag server pickleFarmer:|:<script[JobData].parsed_key[PickleFarmerItems]>
    - if !<server.flag[kelpFarmer]>:
        - flag server kelpFarmer:|:<script[JobData].parsed_key[KelpFarmerItems]>
    - if !<server.flag[sweetBerryFarmer]>:
        - flag server sweetBerryFarmer:|:<script[JobData].parsed_key[SweetBerryFarmerItems]>
    - if !<server.flag[netherWartFarmer]>:
        - flag server netherWartFarmer:|:<script[JobData].parsed_key[NetherWartFarmerItems]>
    - if !<server.flag[chorusFruitFarmer]>:
        - flag server chorusFruitFarmer:|:<script[JobData].parsed_key[ChorusFruitFarmerItems]>
    #gathering catagorie
    - if !<server.flag[appleGatherer]>:
        - flag server appleGatherer:|:<script[JobData].parsed_key[AppleGathererItems]>
    - if !<server.flag[leafGatherer]>:
        - flag server leafGatherer:|:<script[JobData].parsed_key[LeafGathererItems]>
    - if !<server.flag[flowerGatherer]>:
        - flag server flowerGatherer:|:<script[JobData].parsed_key[FlowerGathererItems]>
    - if !<server.flag[plantGatherer]>:
        - flag server plantGatherer:|:<script[JobData].parsed_key[PlantGathererItems]>
    - if !<server.flag[mushroomGatherer]>:
        - flag server mushroomGatherer:|:<script[JobData].parsed_key[MushroomGathererItems]>
    - if !<server.flag[coralGatherer]>:
        - flag server coralGatherer:|:<script[JobData].parsed_key[CoralGathererItems]>
    - if !<server.flag[netherGatherer]>:
        - flag server netherGatherer:|:<script[JobData].parsed_key[NetherGathererItems]>
    #cooking jobs
    - if !<server.flag[breadCooker]>:
        - flag server breadCooker:|:<script[JobData].parsed_key[BreadCookerItems]>
    - if !<server.flag[potatoCooker]>:
        - flag server potatoCooker:|:<script[JobData].parsed_key[PotatoCookerItems]>
    - if !<server.flag[meatCooker]>:
        - flag server meatCooker:|:<script[JobData].parsed_key[MeatCookerItems]>
    - if !<server.flag[fishCooker]>:
        - flag server fishCooker:|:<script[JobData].parsed_key[FishCookerItems]>
    - if !<server.flag[soupCooker]>:
        - flag server soupCooker:|:<script[JobData].parsed_key[SoupCookerItems]>
    - if !<server.flag[aquaticCook]>:
        - flag server aquaticCook:|:<script[JobData].parsed_key[AquaticCookItems]>
    - if !<server.flag[dessertCook]>:
        - flag server dessertCook:|:<script[JobData].parsed_key[DessertCookItems]>
    #crafting catagorie
    - if !<server.flag[woodCarver]>:
        - flag server woodCarver:|:<script[JobData].parsed_key[WoodCarverItems]>
    - if !<server.flag[sandMaster]>:
        - flag server sandMaster:|:<script[JobData].parsed_key[SandMasterItems]>
    - if !<server.flag[stoneCarver]>:
        - flag server stoneCarver:|:<script[JobData].parsed_key[StoneCarverItems]>
    - if !<server.flag[wallMaster]>:
        - flag server wallMaster:|:<script[JobData].parsed_key[WallMasterItems]>
    - if !<server.flag[stairMaster]>:
        - flag server stairMaster:|:<script[JobData].parsed_key[StairMasterItems]>
    - if !<server.flag[concreteMaster]>:
        - flag server concreteMaster:|:<script[JobData].parsed_key[ConcreteMasterItems]>
    - if !<server.flag[woolLoomer]>:
        - flag server woolLoomer:|:<script[JobData].parsed_key[WoolLoomerItems]>
    - if !<server.flag[terracottaArtist]>:
        - flag server terracottaArtist:|:<script[JobData].parsed_key[TerracottaArtistItems]>
    - if !<server.flag[honeyMaster]>:
        - flag server honeyMaster:|:<script[JobData].parsed_key[HoneyMasterItems]>
    - if !<server.flag[oreRefiner]>:
        - flag server oreRefiner:|:<script[JobData].parsed_key[OreRefinerItems]>
    - if !<server.flag[blacksmith]>:
        - flag server blacksmith:|:<script[JobData].parsed_key[BlacksmithItems]>
    - if !<server.flag[lightMaster]>:
        - flag server lightMaster:|:<script[JobData].parsed_key[LightMasterItems]>
    - if !<server.flag[transportationEngineer]>:
        - flag server transportationEngineer:|:<script[JobData].parsed_key[TransportationEngineerItems]>
    - if !<server.flag[redstoneGenius]>:
        - flag server redstoneGenius:|:<script[JobData].parsed_key[RedstoneGeniusItems]>
    - if !<server.flag[shulkerMaster]>:
        - flag server shulkerMaster:|:<script[JobData].parsed_key[ShulkerMasterItems]>
SkullFlags:
    type: task
    script:
        #cow head
        - if !<server.has_flag[cowHead]>:
            - flag server cowHead:<item[player_head].with[skull_skin=Cow]>
        #pig head
        - if !<server.has_flag[pigHead]>:
            - flag server pigHead:<item[player_head].with[skull_skin=Pig]>
        #chicken head
        - if !<server.has_flag[chickenHead]>:
            - flag server chickenHead:<item[player_head].with[skull_skin=BasilMarket]>
        #rabbit head
        - if !<server.has_flag[rabbitHad]>:
            - flag server rabbitHad:<item[player_head].with[skull_skin=Rabbbbit]>
        #sheep head
        - if !<server.has_flag[sheepHead]>:
            - flag server sheepHead:<item[player_head].with[skull_skin=Alex16Lee]>
        #hog head
        - if !<server.has_flag[hogHead]>:
            - flag server hogHead:<item[player_head].with[skull_skin=boar]>
        #fish head
        - if !<server.has_flag[fishHead]>:
            - flag server fishHead:<item[player_head].with[skull_skin=A1_Fish]>
        #spider head
        - if !<server.has_flag[spiderHead]>:
            - flag server spiderHead:<item[player_head].with[skull_skin=MHF_Spider]>
        #skeleton head
        - if !<server.has_flag[skeletonHead]>:
            - flag server skeletonHead:<item[player_head].with[skull_skin=Skeleton]>
        #zombie head
        - if !<server.has_flag[zombieHead]>:
            - flag server zombieHead:<item[player_head].with[skull_skin=Zombie]>
        #creeper head
        - if !<server.has_flag[creeperHead]>:
            - flag server creeperHead:<item[player_head].with[skull_skin=Creeper]>
        #guardian head
        - if !<server.has_flag[guardianHead]>:
            - flag server guardianHead:<item[player_head].with[skull_skin=Guardian]>
        #phantom head
        - if !<server.has_flag[phantomHead]>:
            - flag server phantomHead:<item[player_head].with[skull_skin=Joshua_Chris]>
        #pillager head
        - if !<server.has_flag[pillagerHead]>:
            - flag server pillagerHead:<item[player_head].with[skull_skin=Pillager]>
        #slime head
        - if !<server.has_flag[slimeHead]>:
            - flag server slimeHead:<item[player_head].with[skull_skin=AgentStarr]>
        #strider head
        - if !<server.has_flag[striderHead]>:
            - flag server striderHead:<item[player_head].with[skull_skin=0x5a71]>
        #squid head
        - if !<server.has_flag[squidHead]>:
            - flag server squidHead:<item[player_head].with[skull_skin=Squid]>
        #witch head
        - if !<server.has_flag[witchHead]>:
            - flag server witchHead:<item[player_head].with[skull_skin=belacking]>
        #blaze head
        - if !<server.has_flag[blazeHead]>:
            - flag server blazeHead:<item[player_head].with[skull_skin=15006]>
        #enderman head
        - if !<server.has_flag[endermanHead]>:
            - flag server endermanHead:<item[player_head].with[skull_skin=0276959007]>
        #magma cube head
        - if !<server.has_flag[magmaCubeHead]>:
            - flag server magmaCubeHead:<item[player_head].with[skull_skin=MagmaCube]>
        #wither skeleton head
        - if !<server.has_flag[witherSkeletonHead]>:
            - flag server witherSkeletonHead:<item[player_head].with[skull_skin=WitherSkeleton]>
        #wither head
        - if !<server.has_flag[witherHead]>:
            - flag server witherHead:<item[player_head].with[skull_skin=kroma_2]>
        #ender dragon head
        - if !<server.has_flag[enderDragonHead]>:
            - flag server enderDragonHead:<item[player_head].with[skull_skin=EnderDragon]>
#RELOAD FLAGS
ReloadFlags:
    type: command
    name: reloadflags
    description: reload internal flags
    usage: /reloadflags
    aliases:
    - rf
    script:
        - if !<player.is_op>:
            - stop
        - inject ReloadVaultFlags
        - inject ReloadJobFlags
        - inject ReloadJobItemFlags
        - inject ReloadSkullFlags
        - narrate "<green>Flags Reloaded"
ReloadVaultFlags:
    type: task
    script:
    #vaultNameFormat
    - flag server vaultNameFormat:!
    - flag server vaultNameFormat:<script[VaultData].parsed_key[vaultNameFormat].get[1]>
    #vaultCosts
    - flag server vault1Cost:!
    - flag server vault1Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[1]>
    - flag server vault2Cost:!
    - flag server vault2Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[2]>
    - flag server vault3Cost:!
    - flag server vault3Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[3]>
    - flag server vault4Cost:!
    - flag server vault4Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[4]>
    - flag server vault5Cost:!
    - flag server vault5Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[5]>
    - flag server vault6Cost:!
    - flag server vault6Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[6]>
    - flag server vault7Cost:!
    - flag server vault7Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[7]>
    - flag server vault8Cost:!
    - flag server vault8Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[8]>
    - flag server vault9Cost:!
    - flag server vault9Cost:<script[VaultData].parsed_key[vaultUpgradeCosts].get[9]>
    #vaultSlotUpgradeCosts
    - flag server vault1SlotUpgradeCost:!
    - flag server vault1SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[1]>
    - flag server vault2SlotUpgradeCost:!
    - flag server vault2SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[2]>
    - flag server vault3SlotUpgradeCost:!
    - flag server vault3SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[3]>
    - flag server vault4SlotUpgradeCost:!
    - flag server vault4SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[4]>
    - flag server vault5SlotUpgradeCost:!
    - flag server vault5SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[5]>
    - flag server vault6SlotUpgradeCost:!
    - flag server vault6SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[6]>
    - flag server vault7SlotUpgradeCost:!
    - flag server vault7SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[7]>
    - flag server vault8SlotUpgradeCost:!
    - flag server vault8SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[8]>
    - flag server vault9SlotUpgradeCost:!
    - flag server vault9SlotUpgradeCost:<script[VaultData].parsed_key[vaultSlotUpgradeCosts].get[9]>
ReloadJobFlags:
    type: task
    script:
    #job catagories
    - flag server jobCatagories:!
    - define parsedKey:<script[JobData].parsed_key[jobCatagories]>
    - flag server jobCatagories:|:<[parsedKey]>
    #mining Jobs
    - flag server miningJobs:!
    - define parsedKey:<script[JobData].parsed_key[miningJobs]>
    - flag server miningJobs:|:<[parsedKey]>
    #lumber Jobs
    - flag server lumberJobs:!
    - define parsedKey:<script[JobData].parsed_key[lumberJobs]>
    - flag server lumberJobs:|:<[parsedKey]>
    #farming Jobs
    - flag server farmingJobs:!
    - define parsedKey:<script[JobData].parsed_key[farmingJobs]>
    - flag server farmingJobs:|:<[parsedKey]>
    #butcher Jobs
    - flag server butcherJobs:!
    - define parsedKey:<script[JobData].parsed_key[ButcherJobs]>
    - flag server butcherJobs:|:<[parsedKey]>
    #gathering Jobs
    - flag server gatheringJobs:!
    - define parsedKey:<script[JobData].parsed_key[GatheringJobs]>
    - flag server gatheringJobs:|:<[parsedKey]>
    #hunting Jobs
    - flag server huntingJobs:!
    - define parsedKey:<script[JobData].parsed_key[HunterJobs]>
    - flag server huntingJobs:|:<[parsedKey]>
    #cooking Jobs
    - flag server cookingJobs:!
    - define parsedKey:<script[JobData].parsed_key[CookingJobs]>
    - flag server cookingJobs:|:<[parsedKey]>
    #crafting Jobs
    - flag server craftingJobs:!
    - define parsedKey:<script[JobData].parsed_key[CraftingJobs]>
    - flag server craftingJobs:|:<[parsedKey]>
    #helper Lores
    - flag server helperLores:!
    - define parsedKey:<script[JobLoreData].parsed_key[HelperLores]>
    - flag server helperLores:|:<[parsedKey]>
    #job lores
    - flag server jobInfoLores:!
    - define parsedKey:<script[JobLoreData].parsed_key[JobInfoLores]>
    - flag server jobInfoLores:|:<[parsedKey]>
    #job progressions
    - flag server jobProgressions:!
    - flag server jobProgressions:|:<script[Referance].parsed_key[JobProgressionReferance]>
    #jobs pay
    - flag server jobPay:!
    - flag server jobPay:|:<script[Referance].parsed_key[JobPayReferance]>
ReloadJobItemFlags:
    type: task
    script:
    #mining catagorie
    - flag server dirtMiner:!
    - flag server dirtMiner:|:<script[JobData].parsed_key[DirtMinerItems]>
    - flag server sandMiner:!
    - flag server sandMiner:|:<script[JobData].parsed_key[SandMinerItems]>
    - flag server stoneMiner:!
    - flag server stoneMiner:|:<script[JobData].parsed_key[StoneMinerItems]>
    - flag server coalMiner:!
    - flag server coalMiner:|:<script[JobData].parsed_key[CoalMinerItems]>
    - flag server ironMiner:!
    - flag server ironMiner:|:<script[JobData].parsed_key[IronMinerItems]>
    - flag server redstoneMiner:!
    - flag server redstoneMiner:|:<script[JobData].parsed_key[RedstoneMinerItems]>
    - flag server lapisMiner:!
    - flag server lapisMiner:|:<script[JobData].parsed_key[LapisMinerItems]>
    - flag server goldMiner:!
    - flag server goldMiner:|:<script[JobData].parsed_key[GoldMinerItems]>
    - flag server emeraldMiner:!
    - flag server emeraldMiner:|:<script[JobData].parsed_key[EmeraldMinerItems]>
    - flag server obsidianMiner:!
    - flag server obsidianMiner:|:<script[JobData].parsed_key[ObsidianMinerItems]>
    - flag server quartzMiner:!
    - flag server quartzMiner:|:<script[JobData].parsed_key[QuartzMinerItems]>
    - flag server diamondMiner:!
    - flag server diamondMiner:|:<script[JobData].parsed_key[DiamondMinerItems]>
    - flag server ancientMiner:!
    - flag server ancientMiner:|:<script[JobData].parsed_key[AncientMinerItems]>
    #lumberjack catagorie
    - flag server oakLumberjack:!
    - flag server oakLumberjack:|:<script[JobData].parsed_key[OakLumberjackItems]>
    - flag server birchLumberjack:!
    - flag server birchLumberjack:|:<script[JobData].parsed_key[BirchLumberjackItems]>
    - flag server spruceLumberjack:!
    - flag server spruceLumberjack:|:<script[JobData].parsed_key[SpruceLumberjackItems]>
    - flag server darkOakLumberjack:!
    - flag server darkOakLumberjack:|:<script[JobData].parsed_key[DarkOakLumberjackItems]>
    - flag server acaciaLumberjack:!
    - flag server acaciaLumberjack:|:<script[JobData].parsed_key[AcaciaLumberjackItems]>
    - flag server jungleLumberjack:!
    - flag server jungleLumberjack:|:<script[JobData].parsed_key[JungleLumberjackItems]>
    - flag server crimsonLumberjack:!
    - flag server crimsonLumberjack:|:<script[JobData].parsed_key[CrimsonLumberjackItems]>
    - flag server warpedLumberjack:!
    - flag server warpedLumberjack:|:<script[JobData].parsed_key[WarpedLumberjackItems]>
    #farming catagorie
    - flag server wheatFarmer:!
    - flag server wheatFarmer:|:<script[JobData].parsed_key[WheatFarmerItems]>
    - flag server potatoFarmer:!
    - flag server potatoFarmer:|:<script[JobData].parsed_key[PotatoFarmerItems]>
    - flag server carrotFarmer:!
    - flag server carrotFarmer:|:<script[JobData].parsed_key[CarrotFarmerItems]>
    - flag server beetrootFarmer:!
    - flag server beetrootFarmer:|:<script[JobData].parsed_key[BeetrootFarmerItems]>
    - flag server pumpkinFarmer:!
    - flag server pumpkinFarmer:|:<script[JobData].parsed_key[PumpkinFarmerItems]>
    - flag server melonFarmer:!
    - flag server melonFarmer:|:<script[JobData].parsed_key[MelonFarmerItems]>
    - flag server cocoaFarmer:!
    - flag server cocoaFarmer:|:<script[JobData].parsed_key[CocoaFarmerItems]>
    - flag server beeFarmer:!
    - flag server beeFarmer:|:<script[JobData].parsed_key[BeeFarmerItems]>
    - flag server mushroomFarmer:!
    - flag server mushroomFarmer:|:<script[JobData].parsed_key[MushroomFarmerItems]>
    - flag server bambooFarmer:!
    - flag server bambooFarmer:|:<script[JobData].parsed_key[BambooFarmerItems]>
    - flag server pickleFarmer:!
    - flag server pickleFarmer:|:<script[JobData].parsed_key[PickleFarmerItems]>
    - flag server kelpFarmer:!
    - flag server kelpFarmer:|:<script[JobData].parsed_key[KelpFarmerItems]>
    - flag server sweetBerryFarmer:!
    - flag server sweetBerryFarmer:|:<script[JobData].parsed_key[SweetBerryFarmerItems]>
    - flag server netherWartFarmer:!
    - flag server netherWartFarmer:|:<script[JobData].parsed_key[NetherWartFarmerItems]>
    - flag server chorusFruitFarmer:!
    - flag server chorusFruitFarmer:|:<script[JobData].parsed_key[ChorusFruitFarmerItems]>
    #gathering catagorie
    - flag server appleGatherer:!
    - flag server appleGatherer:|:<script[JobData].parsed_key[AppleGathererItems]>
    - flag server leafGatherer:!
    - flag server leafGatherer:|:<script[JobData].parsed_key[LeafGathererItems]>
    - flag server flowerGatherer:!
    - flag server flowerGatherer:|:<script[JobData].parsed_key[FlowerGathererItems]>
    - flag server plantGatherer:!
    - flag server plantGatherer:|:<script[JobData].parsed_key[PlantGathererItems]>
    - flag server mushroomGatherer:!
    - flag server mushroomGatherer:|:<script[JobData].parsed_key[MushroomGathererItems]>
    - flag server coralGatherer:!
    - flag server coralGatherer:|:<script[JobData].parsed_key[CoralGathererItems]>
    - flag server netherGatherer:!
    - flag server netherGatherer:|:<script[JobData].parsed_key[NetherGathererItems]>
    #cooking catagorie
    - flag server breadCooker:!
    - flag server breadCooker:|:<script[JobData].parsed_key[BreadCookerItems]>
    - flag server potatoCooker:!
    - flag server potatoCooker:|:<script[JobData].parsed_key[PotatoCookerItems]>
    - flag server meatCooker:!
    - flag server meatCooker:|:<script[JobData].parsed_key[MeatCookerItems]>
    - flag server fishCooker:!
    - flag server fishCooker:|:<script[JobData].parsed_key[FishCookerItems]>
    - flag server soupCooker:!
    - flag server soupCooker:|:<script[JobData].parsed_key[SoupCookerItems]>
    - flag server aquaticCook:!
    - flag server aquaticCook:|:<script[JobData].parsed_key[AquaticCookItems]>
    - flag server dessertCook:!
    - flag server dessertCook:|:<script[JobData].parsed_key[DessertCookItems]>
    #crafting catagorie
    - flag server woodCarver:!
    - flag server woodCarver:|:<script[JobData].parsed_key[WoodCarverItems]>
    - flag server sandMaster:!
    - flag server sandMaster:|:<script[JobData].parsed_key[SandMasterItems]>
    - flag server stoneCarver:!
    - flag server stoneCarver:|:<script[JobData].parsed_key[StoneCarverItems]>
    - flag server wallMaster:!
    - flag server wallMaster:|:<script[JobData].parsed_key[WallMasterItems]>
    - flag server stairMaster:!
    - flag server stairMaster:|:<script[JobData].parsed_key[StairMasterItems]>
    - flag server concreteMaster:!
    - flag server concreteMaster:|:<script[JobData].parsed_key[ConcreteMasterItems]>
    - flag server woolLoomer:!
    - flag server woolLoomer:|:<script[JobData].parsed_key[WoolLoomerItems]>
    - flag server terracottaArtist:!
    - flag server terracottaArtist:|:<script[JobData].parsed_key[TerracottaArtistItems]>
    - flag server honeyMaster:!
    - flag server honeyMaster:|:<script[JobData].parsed_key[HoneyMasterItems]>
    - flag server oreRefiner:!
    - flag server oreRefiner:|:<script[JobData].parsed_key[OreRefinerItems]>
    - flag server blacksmith:!
    - flag server blacksmith:|:<script[JobData].parsed_key[BlacksmithItems]>
    - flag server lightMaster:!
    - flag server lightMaster:|:<script[JobData].parsed_key[LightMasterItems]>
    - flag server transportationEngineer:!
    - flag server transportationEngineer:|:<script[JobData].parsed_key[TransportationEngineerItems]>
    - flag server redstoneGenius:!
    - flag server redstoneGenius:|:<script[JobData].parsed_key[RedstoneGeniusItems]>
    - flag server shulkerMaster:!
    - flag server shulkerMaster:|:<script[JobData].parsed_key[ShulkerMasterItems]>
ReloadSkullFlags:
    type: task
    script:
    - flag server cowHead:<item[player_head].with[skull_skin=Cow]>
    - flag server pigHead:<item[player_head].with[skull_skin=Pig]>
    - flag server chickenHead:<item[player_head].with[skull_skin=BasilMarket]>
    - flag server rabbitHead:<item[player_head].with[skull_skin=Rabbbbit]>
    - flag server sheepHead:<item[player_head].with[skull_skin=Alex16Lee]>
    - flag server hogHead:<item[player_head].with[skull_skin=boar]>
    - flag server fishHead:<item[player_head].with[skull_skin=A1_Fish]>
    - flag server spiderHead:<item[player_head].with[skull_skin=MHF_Spider]>
    - flag server skeletonHead:<item[player_head].with[skull_skin=Skeleton]>
    - flag server zombieHead:<item[player_head].with[skull_skin=Zombie]>
    - flag server creeperHead:<item[player_head].with[skull_skin=Creeper]>
    - flag server guardianHead:<item[player_head].with[skull_skin=Guardian]>
    - flag server phantomHead:<item[player_head].with[skull_skin=Joshua_Chris]>
    - flag server pillagerHead:<item[player_head].with[skull_skin=Pillager]>
    - flag server slimeHead:<item[player_head].with[skull_skin=AgentStarr]>
    - flag server striderHead:<item[player_head].with[skull_skin=0x5a71]>
    - flag server squidHead:<item[player_head].with[skull_skin=Squid]>
    - flag server witchHead:<item[player_head].with[skull_skin=belacking]>
    - flag server blazeHead:<item[player_head].with[skull_skin=15006]>
    - flag server endermanHead:<item[player_head].with[skull_skin=0276959007]>
    - flag server magmaCubeHead:<item[player_head].with[skull_skin=MagmaCube]>
    - flag server witherSkeletonHead:<item[player_head].with[skull_skin=WitherSkeleton]>
    - flag server witherHead:<item[player_head].with[skull_skin=kroma_2]>
    - flag server enderDragonHead:<item[player_head].with[skull_skin=EnderDragon]>