Paste #38792: Untitled Paste

Date: 2017/01/06 01:45:34 UTC-08: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
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338


####################################################################################################################################################################################
#This script is designed to work with the Quests Citizens, MythicDrops and PEX plugins which are dependencies for this script. You can use other permissions plugins, but will need# #to edit the script (instructions are in the script itself). Mythic drops is so the reward items can have sockets. This script works as-is and doesn't require any kind of         #
#configuration on the admin's part, but can be customized. Simply drop this into your Scripts folder.
#The point is to offer more functionality to Quest Points that are awarded when completing quests using the quests plugin. Quest Points can now earn players special Titles and    # #rewards for reporting their deeds to designated NPCs or                                                                                                                           # "Bards".                                                                                                                                                                           #
#They may use the /repcheck command to check on their quest points, title they should have, when they are eligible for new titles and whether or not they need to speak to a bard. # #This will also "initiate" a player into the system or they can talk to a bard.                                                                                                    #
#/resetrep will allow players to reset their reputation.                                                                                                                           #
#Detailed instructions and use are within the script.                                                                                                                              #
####################################################################################################################################################################################

################################################
######Reset Reputation Command /resetrep########
####To Do: Allow for OPs to specify players.####
################################################
resetrep:
  type: command
  name: resetrep
  usage: /resetrep
  description: Reset Quest Points and Reputation Flags
  permission: denizen.resetrep
  script:
  - execute as_op "questadmin reset <player.name>"
  - execute as_op "ex flag player myth:!"
  - execute as_op "ex flag player legend:!"
  - execute as_op "ex flag player hero:!"
  - execute as_op "ex flag player celebrity:!"
  - execute as_op "ex flag player champion:!"
  - execute as_op "ex flag player unsung:!"
  - execute as_op "ex flag player unknown:!"
######################################################################################################################################################################################
####Reputation Check Command /repcheck################################################################################
#This commnand is used for players to check their current status. "Tell the bards of your deeds" will only come up if the player has enough quest pointst to gain a new title and #have not spoken with the bard since they became eligible. If a player has never spoken with a bard, this command will grant them the starting title. If you wish to use another     #plugin to grant this title you will need to replace the command to change a player's suffix listed below. There is only one such line for the /repcheck command.                    
######################################################################################################################################################################################
repcheck:
  type: command
  name: repcheck
  usage: /repcheck
  description: Check your reputation!
  script:
  - if <player.quests.points> < 251 && <player.has_flag[unknown]> == false {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - wait 1
    - narrate "<&7>Unknown:<&r> A new comer or complete recluse, no one knows you exist."
    - narrate "The next title requires over <&c>250 Quest Points!"
    - flag player unknown
    - execute as_op "pex user <player.name> suffix <&f>|the|<&7>Unknown"
    - queue clear
    }
  - if <player.quests.points> < 251 && <player.has_flag[unknown]> {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - wait 1
    - narrate "<&7>Unknown:<&r> A new comer or complete recluse, no one knows you exist."
    - narrate "The next title requires over <&c>250 Quest Points!"
    - queue clear
    }
  - if <player.quests.points> > 250 && <player.quests.points> < 501 && <player.has_flag[unsung]> == false {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - narrate "Tell the bards of your deeds to increase your reputation!"
    - wait 1
    - narrate "<&7>Unsung:<&r> No more a hero than the next person."
    - narrate "The next title requires over <&c>500 Quest Points!"
    - queue clear
    }
  - if <player.quests.points> > 250 && <player.quests.points> < 501 && <player.has_flag[unsung]> {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - wait 1
    - narrate "<&7>Unsung:<&r> No more a hero than the next person."
    - narrate "The next title requires over <&c>250 Quest Points!"
    - queue clear
    }
  - if <player.quests.points> > 500 && <player.quests.points> < 751 && <player.has_flag[champion]> == false {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - narrate "Tell the bards of your deeds to increase your reputation!"
    - wait 1
    - narrate "<&a>Local Champion:<&r> A name amongst the locals, the one the Unsung aspire to be."
    - narrate "The next title requires over <&c>750 Quest Points!"
    - queue clear
    }
  - if <player.quests.points> > 500 && <player.quests.points> < 751 && <player.has_flag[champion]> {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - wait 1
    - narrate "<&a>Local Champion:<&r> A name amongst the locals, the one the Average Joes aspire to be."
    - narrate "The next title requires over <&c>750 Quest Points!"
    - queue clear
    }
  - if <player.quests.points> > 750 && <player.quests.points> < 1001 && <player.has_flag[celebrity]> == false {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - narrate "Tell the bards of your deeds to increase your reputation!"
    - wait 1
    - narrate "<&a>Celebrity:<&r> Your name has spread beyond your home as others speak of your exploits."
    - narrate "The next title requires over <&c>1000 Quest Points!"
    - queue clear
    }
  - if <player.quests.points> > 750 && <player.quests.points> < 1001 && <player.has_flag[celebrity]> {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - wait 1
    - narrate "<&a>Celebrity:<&r> Your name has spread beyond your home as others speak of your exploits."
    - narrate "The next title requires over <&c>1000 Quest Points!"
    - queue clear
    }
  - if <player.quests.points> > 1000 && <player.quests.points> < 1501 && <player.has_flag[hero]> == false {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - narrate "Tell the bards of your deeds to increase your reputation!"
    - wait 1
    - narrate "<&9>Hero:<&r> Very few have not heard of your recent exploits and many within your profession look to you as a role model."
    - narrate "The next title requires over <&c>1500 Quest Points!"
    - queue clear
    }
  - if <player.quests.points> > 1000 && <player.quests.points> < 1501 && <player.has_flag[hero]> {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - wait 1
    - narrate "<&9>Hero:<&r> Very few have not heard of your recent exploits and many within your profession look to you as a role model."
    - narrate "The next title requires over <&c>1500 Quest Points!"
    - queue clear
    }
  - if <player.quests.points> > 1500 && <player.quests.points> < 2001 && <player.has_flag[legend]> == false {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - narrate "Tell the bards of your deeds to increase your reputation!"
    - wait 1
    - narrate "<&6>Legend:<&r> Your tales are told around the campfire, your travels having taken you to the end of the world and back again."
    - narrate "The next title requires over <&c>2000 Quest Points!"
    - queue clear
    }
  - if <player.quests.points> > 1500 && <player.quests.points> < 2001 && <player.has_flag[legend]> {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - wait 1
    - narrate "<&6>Legend:<&r> Your tales are told around the campfire, your travels having taken you to the end of the world and back again."
    - narrate "The next title requires over <&c>2000 Quest Points!"
    - queue clear
    }
  - if <player.quests.points> >= 2001 && <player.has_flag[myth]> == false {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - narrate "Tell the bards of your deeds to increase your reputation!"
    - wait 1
    - narrate "<&c>Mythical:<&r> Your fans worship you, your exploits are considered myth for only a walking god could accomplish so much."
    - queue clear
    }
  - if <player.quests.points> >= 2001 && <player.has_flag[myth]> {
    - narrate "<&c>Current Quest Points:<&r> <player.quests.points>"
    - wait 1
    - narrate "<&c>Mythical:<&r> Your fans worship you, your exploits are considered myth for only a walking god could accomplish so much."
    - queue clear
    }
######################################################################################################################################################################################
####Reputation NPC Assignment####
#Assign this to any NPC you wish for players to report to to gain a new title and the awards that go with it. Again if you wish to use a different permission system than pex, you #will need to edit each and every line that includes "- execute as_op "pex user...." There are a lot of them. Each new title that is given to the player, also flags the player. #These flags can be used in other denizen scripts, such as quests written in denizen or denizen scripts being executed by the Quests plugin itself. These could be used for a #variety of applications and are simply the name of the title itself, e.g. "unkown", "unsung", "champion" etc.
#One such example are quests that unfold differently if a character has or had a certain title at one point.
######################################################################################################################################################################################
repcheckasn:
  type: assignment
  actions:
    on assignment:
      - trigger name:click state:true
    on click:
      - if <player.quests.points> < 251 && <player.has_flag[unknown]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&7>Unknown:<&r> A new comer or complete recluse, no one knows you exist."
         - flag player unknown
         - execute as_op "pex user <player.name> suffix <&f>|the|<&7>Unknown<&r>"
         - queue clear
        }
      - if <player.quests.points> < 251 && <player.has_flag[unknown]> {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&7>Unknown:<&r> A new comer or complete recluse, no one knows you exist."
         - narrate "The next title requires over <&c>250 Quest Points!"
         - queue clear
         }
      - if <player.quests.points> > 250 && <player.quests.points> < 501 && <player.has_flag[unknown]> == false && <player.has_flag[unsung]> == false {
         - narrate "You tell the Bard of your deeds."
         - wait 1
         - narrate "Hmm it seems you're nothing more than an <&7>Unsung<&r> No more a hero than the next person,"
         - narrate "but you are moving up in the world and with fame often comes fortune!"           
         - flag player unknown
         - flag player unsung
         - execute as_op "pex user <player.name> suffix <&f>|the|<&7>Unsung<&r>"
         - execute as_op "eco give <player.name> 1000"
         - queue clear
         }
      - if <player.quests.points> > 250 && <player.quests.points> < 501 && <player.has_flag[unsung]> == false {
         - narrate "You tell the Bard of your deeds."
         - wait 1
         - narrate "Hmm it seems you're nothing more than an <&7>Unsung<&r> No more a hero than the next person,"
         - narrate "but you are moving up in the world and with fame often comes fortune!"           
         - flag player unsung
         - execute as_op "eco give <player.name> 1000"
         - execute as_op "pex user <player.name> suffix <&f>|the|<&7>Unsung<&r>"
         - queue clear
         }
      - if <player.quests.points> > 250 && <player.quests.points> < 501 && <player.has_flag[unsung]> {
         - narrate "You tell the Bard of your deeds."
         - wait 1
         - narrate "Hmm it seems you're nothing more than an <&7>Unsung<&r> No more a hero than the next person."    
         - narrate "The next title requires over <&c>500 Quest Points!"         
         - queue clear
         }    
      - if <player.quests.points> > 500 && <player.quests.points> < 751 && <player.has_flag[unkown]> == false && <player.has_flag[unsung]> == false && <player.has_flag[champion]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&a>Local Champion:<&r> A name amongst the locals, the one the Unsung aspire to be."
         - narrate "It seems you had a lot to get off your chest!"
         - execute as_op "eco give <player.name> 3000"
         - flag player unknown
         - flag player unsung
         - flag player champion
         - execute as_op "pex user <player.name> suffix <&f>|the|<&9>Champion"
         - narrate "<player.name> please choose an award for the <&9>Champion title!<&r>"
         - wait 1
         - inventory open d:in@championreward         
         - queue clear
         }
      - if <player.quests.points> > 500 && <player.quests.points> < 751 && <player.has_flag[unsung]> == false&& <player.has_flag[champion]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&a>Local Champion:<&r> A name amongst the locals, the one the Unsung aspire to be."
         - narrate "It seems you had a lot to get off your chest!"
         - execute as_op "eco give <player.name> 3000"
         - flag player unsung
         - flag player champion
         - execute as_op "pex user <player.name> suffix <&f>|the|<&9>Champion<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> > 500 && <player.quests.points> < 751 && <player.has_flag[champion]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&a>Local Champion:<&r> A name amongst the locals, the one the Unsung aspire to be."
         - execute as_op "eco give <player.name> 2000"
         - flag player champion
         - execute as_op "pex user <player.name> suffix <&f>|the|<&9>Champion<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> > 500 && <player.quests.points> < 751 && <player.has_flag[champion]> {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&a>Local Champion:<&r> A name amongst the locals, the one the Unsung aspire to be."
         - narrate "The next title requires over <&c>750 Quest Points!"
         - queue clear
         }
      - if <player.quests.points> > 750 && <player.quests.points> < 1001 && <player.has_flag[unkown]> == false && <player.has_flag[unsung]> == false && <player.has_flag[champion]> == false && <player.has_flag[celebrity]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&a>Celebrity:<&r> Your name has spread beyond your home as others speak of your exploits."
         - narrate "It's amazing I am only hearing of this now!"
         - execute as_op "eco give <player.name> 6000"
         - flag player unknown
         - flag player unsung
         - flag player champion
         - flag player celebrity
         - execute as_op "pex user <player.name> suffix <&f>|the|<&5>Celebrity<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> > 750 && <player.quests.points> < 1001 && <player.has_flag[unsung]> == false && <player.has_flag[champion]> == false && <player.has_flag[celebrity]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&a>Celebrity:<&r> Your name has spread beyond your home as others speak of your exploits."
         - narrate "It's amazing I am only hearing of this now!"
         - execute as_op "eco give <player.name> 6000"
         - flag player unsung
         - flag player champion
         - flag player celebrity
         - execute as_op "pex user <player.name> suffix <&f>|the|<&5>Celebrity<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> > 750 && <player.quests.points> < 1001 && <player.has_flag[champion]> == false && <player.has_flag[celebrity]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&a>Celebrity:<&r> Your name has spread beyond your home as others speak of your exploits."
         - narrate "It's amazing I am only hearing of this now!"
         - execute as_op "eco give <player.name> 5000"
         - flag player champion
         - flag player celebrity
         - execute as_op "pex user <player.name> suffix <&f>|the|<&5>Celebrity<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> > 750 && <player.quests.points> < 1001 && <player.has_flag[celebrity]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&a>Celebrity:<&r> Your name has spread beyond your home as others speak of your exploits."
         - narrate "About time your name spreads beyond your home!"
         - execute as_op "eco give <player.name> 3000"
         - flag player celebrity
         - execute as_op "pex user <player.name> suffix <&f>|the|<&5>Celebrity<&r>"
         - narrate "<player.name> please choose an award for the <&5>Celebrity title!"
         - wait 1
         - inventory open d:in@celebrityreward
         - queue clear
         }
      - if <player.quests.points> > 750 && <player.quests.points> < 1001 && <player.has_flag[celebrity]> {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&a>Celebrity:<&r> Your name has spread beyond your home as others speak of your exploits."
         - narrate "The next title requires over <&c>1000 Quest Points!"
         - queue clear
         }
      - if <player.quests.points> > 1000 && <player.quests.points> < 1501 && <player.has_flag[unknown]> == false && <player.has_flag[unsung]> == false && <player.has_flag[champion]> == false && <player.has_flag[celebrity]> == false && <player.has_flag[hero]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&9>Hero:<&r> Your exploits travel far and wide." 
         - narrate "How I've been left out of the loop is beyond me!"
         - execute as_op "eco give <player.name> 10000"
         - flag player unknown
         - flag player unsung
         - flag player champion
         - flag player celebrity
         - flag player hero
         - execute as_op "pex user <player.name> suffix <&f>|the|<&c>Hero<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> > 1000 && <player.quests.points> < 1501 && <player.has_flag[unsung]> == false && <player.has_flag[champion]> == false && <player.has_flag[celebrity]> == false && <player.has_flag[hero]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&9>Hero:<&r> Your exploits travel far and wide." 
         - narrate "How I've been left out of the loop is beyond me!"
         - execute as_op "eco give <player.name> 10000"
         - flag player unsung
         - flag player champion
         - flag player celebrity
         - flag player hero
         - execute as_op "pex user <player.name> suffix <&f>|the|<&c>Hero<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> > 1000 && <player.quests.points> < 1501 && <player.has_flag[champion]> == false && <player.has_flag[celebrity]> == false && <player.has_flag[hero]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&9>Hero:<&r> Your exploits travel far and wide." 
         - narrate "How I've been left out of the loop is beyond me!"
         - execute as_op "eco give <player.name> 9000"
         - flag player champion
         - flag player celebrity
         - flag player hero
         - execute as_op "pex user <player.name> suffix <&f>|the|<&c>Hero<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }       
      - if <player.quests.points> > 1000 && <player.quests.points> < 1501 && <player.has_flag[celebrity]> == false && <player.has_flag[hero]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&9>Hero:<&r> Your exploits travel far and wide." 
         - narrate "Sounds like there's some deeds even I had missed!"
         - execute as_op "eco give <player.name> 7000"
         - flag player celebrity
         - flag player hero
         - execute as_op "pex user <player.name> suffix <&f>|the|<&c>Hero<&r>"
         - narrate "<player.name> please choose an award for the <&5>Celebrity title!"
         - wait 1
         - inventory open d:in@celebrityreward
         - queue clear
         }
      - if <player.quests.points> > 1000 && <player.quests.points> < 1501 && <player.has_flag[hero]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&9>Hero:<&r> Your exploits travel far and wide." 
         - execute as_op "eco give <player.name> 4000"
         - flag player hero
         - execute as_op "pex user <player.name> suffix <&f>|the|<&c>Hero<&r>"
         - narrate "<player.name> please choose an award for the <&c>Hero title!"
         - wait 1
         - inventory open d:in@heroreward
         - queue clear
         }
      - if <player.quests.points> > 1000 && <player.quests.points> < 1501 && <player.has_flag[hero]> {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&9>Hero:<&r> Your exploits travel far and wide." 
         - narrate "The next title requires over <&c>1500 Quest Points!"
         - queue clear
         }
      - if <player.quests.points> > 1500 && <player.quests.points> < 2001 && <player.has_flag[unknown]> == false && <player.has_flag[unsung]> == false && <player.has_flag[champion]> == false && <player.has_flag[celebrity]> == false && <player.has_flag[hero]> == false && <player.has_flag[legend]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&6>Legend:<&r> Your tales are told around the campfire, your deeds heard throughout the world."
         - narrate "A hidden legend, soon to be sung the world over!"
         - execute as_op "eco give <player.name> 15000"
         - flag player unknown
         - flag player unsung
         - flag player champion
         - flag player celebrity
         - flag player hero
         - flag player legend
         - execute as_op "pex user <player.name> suffix <&f>|the|<&3>Legend<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> > > 1500 && <player.quests.points> < 2001 && <player.has_flag[unsung]> == false && <player.has_flag[champion]> == false && <player.has_flag[celebrity]> == false && <player.has_flag[hero]> == false && <player.has_flag[legend]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&6>Legend:<&r> Your tales are told around the campfire, your deeds heard throughout the world."
         - narrate "A hidden legend, soon to be sung the world over!"
         - execute as_op "eco give <player.name> 15000"
         - flag player unsung
         - flag player champion
         - flag player celebrity
         - flag player hero
         - flag player legend
         - execute as_op "pex user <player.name> suffix <&f>|the|<&3>Legend<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> > 1500 && <player.quests.points> < 2001 && <player.has_flag[champion]> == false && <player.has_flag[celebrity]> == false && <player.has_flag[hero]> == false && <player.has_flag[legend]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&6>Legend:<&r> Your tales are told around the campfire, your deeds heard throughout the world."
         - narrate "A hidden legend, soon to be sung the world over!"
         - execute as_op "eco give <player.name> 14000"
         - flag player champion
         - flag player celebrity
         - flag player hero
         - flag player legend
         - execute as_op "pex user <player.name> suffix <&f>|the|<&3>Legend<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> > 1500 && <player.quests.points> < 2001 && <player.has_flag[celebrity]> == false && <player.has_flag[hero]> == false && <player.has_flag[legend]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&6>Legend:<&r> Your tales are told around the campfire, your deeds heard throughout the world."
         - narrate "Amazing that I am only hearing many of these stories now!"
         - execute as_op "eco give <player.name> 12000"
         - flag player celebrity
         - flag player hero
         - flag player legend
         - execute as_op "pex user <player.name> suffix <&f>|the|<&3>Legend<&r>"
         - narrate "<player.name> please choose an award for the <&5>Celebrity title!"
         - wait 1
         - inventory open d:in@celebrityreward
         - queue clear
         }
      - if <player.quests.points> > 1500 && <player.quests.points> < 2001 && <player.has_flag[hero]> == false && <player.has_flag[legend]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&6>Legend:<&r> Your tales are told around the campfire, your deeds heard throughout the world."
         - narrate "And still inspiring more tales!"
         - execute as_op "eco give <player.name> 9000"
         - flag player hero
         - flag player legend
         - execute as_op "pex user <player.name> suffix <&f>|the|<&3>Legend<&r>"
         - narrate "<player.name> please choose an award for the <&c>Hero title!"
         - wait 1
         - inventory open d:in@heroreward
         - queue clear
         }
      - if <player.quests.points> > 1500 && <player.quests.points> < 2001 && <player.has_flag[legend]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&6>Legend:<&r> Your tales are told around the campfire, your deeds heard throughout the world."
         - execute as_op "eco give <player.name> 5000"
         - flag player legend
         - execute as_op "pex user <player.name> suffix <&f>|the|<&3>Legend<&r>"
         - narrate "<player.name> please choose an award for the <&3>Legend title!"
         - wait 1
         - inventory open d:in@legendreward
         - queue clear
         }
      - if <player.quests.points> > 1500 && <player.quests.points> < 2001 && <player.has_flag[legend]> {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&6>Legend:<&r> Your tales are told around the campfire, your deeds heard throughout the world."
         - narrate "The next title requires over <&c>2000 Quest Points!"
         - queue clear
         }
      - if <player.quests.points> >= 2001 && <player.has_flag[unknown]> == false && <player.has_flag[unsung]> == false && <player.has_flag[champion]> == false && <player.has_flag[celebrity]> == false && <player.has_flag[hero]> == false && <player.has_flag[legend]> == false && <player.has_flag[myth]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&c>Mythical:<&r> Your fans worship you, your exploits are considered myth, the deeds of a walking god."
         - narrate "It shames me to think I am only hearing these tales now."
         - execute as_op "eco give <player.name> 21000"
         - flag player unknown
         - flag player unsung
         - flag player champion
         - flag player celebrity
         - flag player hero
         - flag player legend
         - flag player myth
         - execute as_op "pex user <player.name> suffix <&f>|the|<&6>Myth<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> >= 2001 <player.has_flag[unsung]> == false && <player.has_flag[champion]> == false && <player.has_flag[celebrity]> == false && <player.has_flag[hero]> == false && <player.has_flag[legend]> == false && <player.has_flag[myth]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&c>Mythical:<&r> Your fans worship you, your exploits are considered myth, the deeds of a walking god."
         - narrate "It shames me to think I am only hearing these tales now."
         - execute as_op "eco give <player.name> 21000"
         - flag player unsung
         - flag player champion
         - flag player celebrity
         - flag player hero
         - flag player legend
         - flag player myth
         - execute as_op "pex user <player.name> suffix <&f>|the|<&6>Myth<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> >= 2001 && <player.has_flag[champion]> == false && <player.has_flag[celebrity]> == false && <player.has_flag[hero]> == false && <player.has_flag[legend]> == false && <player.has_flag[myth]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&c>Mythical:<&r> Your fans worship you, your exploits are considered myth, the deeds of a walking god."
         - narrate "It shames me to think I am only hearing these tales now."
         - execute as_op "eco give <player.name> 20000"
         - flag player champion
         - flag player celebrity
         - flag player hero
         - flag player legend
         - flag player myth
         - execute as_op "pex user <player.name> suffix <&f>|the|<&6>Myth<&r>"
         - narrate "<player.name> please choose an award for the <&9>Champion title!"
         - wait 1
         - inventory open d:in@championreward
         - queue clear
         }
      - if <player.quests.points> >= 2001 && <player.has_flag[celebrity]> == false && <player.has_flag[hero]> == false && <player.has_flag[legend]> == false && <player.has_flag[myth]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&c>Mythical:<&r> Your fans worship you, your exploits are considered myth, the deeds of a walking god."
         - narrate "It shames me to think I am only hearing these tales now."
         - execute as_op "eco give <player.name> 18000"
         - flag player celebrity
         - flag player hero
         - flag player legend
         - flag player myth
         - execute as_op "pex user <player.name> suffix <&f>|the|<&6>Myth<&r>"
         - narrate "<player.name> please choose an award for the <&5>Celebrity title!"
         - wait 1
         - inventory open d:in@celebrityreward
         - queue clear
         }
      - if <player.quests.points> >= 2001 && <player.has_flag[hero]> == false && <player.has_flag[legend]> == false && <player.has_flag[myth]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&c>Mythical:<&r> Your fans worship you, your exploits are considered myth, the deeds of a walking god."
         - narrate "To only call you Champion would be an insult."
         - execute as_op "eco give <player.name> 15000"
         - flag player hero
         - flag player legend
         - flag player myth
         - execute as_op "pex user <player.name> suffix <&f>|the|<&6>Myth<&r>"
         - narrate "<player.name> please choose an award for the <&c>Hero title!"
         - wait 1
         - inventory open d:in@heroreward
         - queue clear
         }
      - if <player.quests.points> >= 2001 && <player.has_flag[legend]> == false && <player.has_flag[myth]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&c>Mythical:<&r> Your fans worship you, your exploits are considered myth, the deeds of a walking god."
         - narrate "It shames me to think I am only hearing these tales now."
         - execute as_op "eco give <player.name> 11000"
         - flag player legend
         - flag player myth
         - execute as_op "pex user <player.name> suffix <&f>|the|<&6>Myth<&r>"
         - narrate "<player.name> please choose an award for the <&3>Legend title!"
         - wait 1
         - inventory open d:in@legendreward
         - queue clear
         }
      - if <player.quests.points> >= 2001 && <player.has_flag[myth]> == false {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&c>Mythical:<&r> Your fans worship you, your exploits are considered myth, the deeds of a walking god."
         - narrate "It shames me to think I am only hearing these tales now."
         - execute as_op "eco give <player.name> 6000"
         - flag player myth
         - execute as_op "pex user <player.name> suffix <&f>|the|<&6>Myth<&r>"
         - narrate "<player.name> please choose an award for the <&6>Myth title!"
         - wait 1
         - inventory open d:in@mythreward
         - queue clear
         }
      - if <player.quests.points> >= 2001 && <player.has_flag[myth]> {
         - narrate "You tell the bard of your deeds."
         - wait 1
         - narrate "<&c>Mythical:<&r> Your fans worship you, your exploits are considered myth, the deeds of a walking god."
         - narrate "It shames me to think I am only hearing these tales now."
         - narrate "Your Reputation is at maximum."
         - queue clear
         }
######################################################################################################################################################################################
####Reputation Reward Menus####
#Below is the inventoriesfor the rewards. If you wish to add different rewards you will need to make sure to add them to one of the inventory slots below. This is step one for #adding items. Step two and three are below.
######################################################################################################################################################################################
championreward:
  type: inventory
  title: Champion
  size: 9
  slots:
  - "[] [] [i@champaxei] [i@champlancei] [i@champscepteri] [i@champscythei] [i@champswordi] [] []"
celebrityreward:
  type: inventory
  title: Celebrity
  size: 9
  slots:
  - "[] [] [] [] [i@celebrityi] [] [] [] []"
heroreward:
  type: inventory
  title: Hero
  size: 9
  slots:
  - "[] [] [] [i@cheroset] [i@gheroset] [i@lheroset] [] [] []"
legendreward:
  type: inventory
  title: Legend
  size: 9
  slots:
  - "[] [] [i@legendaxei] [i@legendclubi] [i@legendscythei] [i@legendspeari] [i@legendswordi] [] []"
mythreward:
  type: inventory
  title: Myth
  size: 9
  slots:
  - "[] [] [i@mythaxei] [i@mythscythei] [i@mythspeari] [i@mythstaffi] [i@mythswordi] [] []"

######################################################################################################################################################################################
#This is the inventory handler for the rewards. If you wish to add in your own items, you will need to add an appropriate "on click" event. This can be easily done by copying an existing on click event for the title in question. Simply replace the item name on the "on click" event itself, as well as the "- give" command directly below it.
#This is step two of adding custom items, step three is below.
######################################################################################################################################################################################
Reputation_Reward_Handler:
  type: world
  events:
    on player clicks in championreward:
    - determine cancelled
    on player drags in championreward:
    - determine cancelled
    on player clicks in celebrityreward:
    - determine cancelled
    on player drags in celebrityreward:
    - determine cancelled
    on player clicks in heroreward:
    - determine cancelled
    on player drags in heroreward:
    - determine cancelled
    on player clicks in legendreward:
    - determine cancelled
    on player drags in legendreward:
    - determine cancelled
    on player clicks in mythreward:
    - determine cancelled
    on player drags in mythreward:
    - determine cancelled
    on player left clicks champaxei in championreward:
    - give champaxei
    - inventory close
    - if <player.has_flag[celebrity]> {
       - wait 1
       - narrate "<player.name> please choose an award for the <&5>Celebrity title!"
       - inventory open d:in@celebrityreward
       } else {
       - inventory close
       {
    on player left clicks champlancei in championreward:
    - give champlancei
    - inventory close
    - if <player.has_flag[celebrity]> {
       - wait 1
       - narrate "<player.name> please choose an award for the <&5>Celebrity title!"
       - inventory open d:in@celebrityreward
       } else {
       - inventory close
       {
    on player left clicks champscepteri in championreward:
    - give champscepteri
    - inventory close 
    - if <player.has_flag[celebrity]> {
       - wait 1
       - narrate "<player.name> please choose an award for the <&5>Celebrity title!"
       - inventory open d:in@celebrityreward
       } else {
       - inventory close
       {
    on player left clicks champscythei in championreward:
    - give champscythei
    - inventory close
    - if <player.has_flag[celebrity]> {
       - wait 1
       - narrate "<player.name> please choose an award for the <&5>Celebrity title!"
       - inventory open d:in@celebrityreward
       } else {
       - inventory close
       {
    on player left clicks champswordi in championreward:
    - give champswordi
    - inventory close
    - if <player.has_flag[celebrity]> {
       - wait 1
       - narrate "<player.name> please choose an award for the <&5>Celebrity title!"
       - inventory open d:in@celebrityreward
       } else {
       - inventory close
       {
    on player left clicks celebrityi in celebrityreward:
    - give celebrityi
    - inventory close
    - if <player.has_flag[hero]> {
       - wait 1
       - narrate "<player.name> please choose an award for the <&c>Hero title!"
       - inventory open d:in@heroreward
       } else {
       - inventory close
       {
    on player left clicks cheroset in heroreward:
    - give cheroheadi
    - give cherofeeti
    - give cherochesti
    - give cherolegsi
    - inventory close
    - if <player.has_flag[legend]> {
       - wait 1
       - narrate "<player.name> please choose an award for the <&3>Legend title!"
       - inventory open d:in@legendreward
       } else {
       - inventory close
       {
    on player left clicks gheroset in heroreward:
    - give gheroheadi
    - give gherofeeti
    - give gherochesti
    - give gherolegsi
    - inventory close
    - if <player.has_flag[legend]> {
      - wait 1
      - narrate "<player.name> please choose an award for the <&3>Legend title!"
      - inventory open d:in@legendreward
       } else {
       - inventory close
       {
    on player left clicks lheroset in heroreward:
    - give lheroheadi
    - give lherochesti
    - give lherolegsi
    - give lherofeeti
    - inventory close
    - if <player.has_flag[legend]> {
      - wait 1
      - narrate "<player.name> please choose an award for the <&3>Legend title!"
      - inventory open d:in@legendreward
       } else {
       - inventory close
       {
    on player left clicks legendaxei in legendreward:
    - give legendaxei
    - inventory close
    - if <player.has_flag[myth]> {
       - wait 1
       - narrate "<player.name> please choose an award for the <&6>Myth title!"
       - inventory open d:in@mythreward
       } else {
       - inventory close
       {
    on player left clicks legendclubi in legendreward:
    - give player legendclubi
    - inventory close
    - if <player.has_flag[myth]> {
       - wait 1
       - narrate "<player.name> please choose an award for the <&6>Myth title!"
       - inventory open d:in@mythreward
       } else {
       - inventory close
       {
    on player left clicks legendscythei in legendreward:
    - give legendscythei
    - inventory close
    - if <player.has_flag[myth]> {
       - wait 1
       - narrate "<player.name> please choose an award for the <&6>Myth title!"
       - inventory open d:in@mythreward
       } else {
       - inventory close
       {
    on player left clicks legendspeari in legendreward:
    - give legendspeari
    - inventory close
    - if <player.has_flag[myth]> {
       - wait 1
       - narrate "<player.name> please choose an award for the <&6>Myth title!"
       - inventory open d:in@mythreward
       } else {
       - inventory close
       {
    on player left clicks legendswordi in legendreward:
    - give legendswordi
    - inventory close\
    - if <player.has_flag[myth]> {
       - wait 1
       - narrate "<player.name> please choose an award for the <&6>Myth title!"
       - inventory open d:in@mythreward
       } else {
       - inventory close
       {
    on player left clicks mythaxei in mythreward:
    - give mythaxei
    - inventory close
    on player left clicks mythspeari in mythreward:
    - give mythspeari
    - inventory close
    on player left clicks mythstaffi in mythreward:
    - give mythstaffi
    - inventory close
    on player left clicks mythscythei in mythreward:
    - give mythscythei
    - inventory close
    on player left clicks mythswordi in mythreward:
    - give mythswordi
    - inventory close
######################################################################################################################################################################################
## Reputation Items
#These are the items proper that are awarded when a player earns a new title. This is where you can add in your own custom items, using the format below. Make the name of the item is unique and is the one used in Steps one and two.
######################################################################################################################################################################################

##------------------------------------------
## Champion
##------------------------------------------
champswordi:
  type: item
  material: i@GOLD_SWORD
  display Name: '<&9>Champion<&sq>s Sword <&b>(Reputation)'
  enchantments:
  - Damage_All: 4 
  - Durability: 4
  lore:
  - 'A weapon befitting of a Champion.'
  - '<&7>This sword has sockets!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
champaxei:
  type: item
  material: i@GOLD_AXE
  display Name: '<&9>Champion<&sq>s Axe <&b>(Reputation)'
  enchantments:
  - Damage_All: 4 
  - Durability: 4
  lore:
  - 'A weapon befitting of a Champion.'
  - '<&7>This axe has sockets!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
champscepteri:
  type: item
  material: i@GOLD_HOE
  display Name: '<&9>Champion<&sq>s Scepter <&b>(Reputation)'
  enchantments:
  - Damage_All: 4 
  - Durability: 4
  lore:
  - 'A weapon befitting of a Champion.'
  - '<&7>This scepter has sockets!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
champscythei:
  type: item
  material: i@GOLD_PICKAXE
  display Name: '<&9>Champion<&sq>s Scythe <&b>(Reputation)'
  enchantments:
  - Damage_All: 4 
  - Durability: 4
  lore:
  - 'A weapon befitting of a Champion.'
  - '<&7>This scythe has sockets!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
champlancei:
  type: item
  material: i@GOLD_SPADE
  display Name: '<&9>Champion<&sq>s Lance <&b>(Reputation)'
  enchantments:
  - Damage_All: 4 
  - Durability: 4
  lore:
  - 'A weapon befitting of a Champion.'
  - '<&7>This lance has sockets!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
##------------------------------------------
## Celebrity
##------------------------------------------
celebrityi:
  type: item
  material: i@bow
  display name: "<&5>Rising Star <&b>(Reputation)"
  enchantments:
  - Arrow_Fire: 1
  - Arrow_Damage: 3
  - Arrow_Knockback: 3
  - Arrow_Infinite: 1
  - Loot_Bonus_Mobs: 5
  - Durability: 3
  lore:
  - 'Your arrows fly high like'
  - 'your rising fame and glory.'
  - '<&7>This bow has a socket!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
##------------------------------------------
## Hero
##------------------------------------------
## Boots
cherofeeti:
  type: item
  material: i@CHAINMAIL_BOOTS
  display name: "<&c>Heroic Slippers<&b> (Reputation)"
  enchantments:
  - protection_environmental: 3
  - protection_fall: 3
  - Durability: 5
  lore:
  - 'Look at these wee lil<&sq> boots!'
  - '<&7>These slippers have a socket!'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
lherofeeti:
  type: item
  material: i@LEATHER_BOOTS
  display name: "<&c>Heroic Footgear<&b> (Reputation)"
  enchantments:
  - protection_environmental: 4
  - protection_fall: 3
  - Durability: 5
  lore:
  - 'Look at these stompers!'
  - '<&7>This footgear has a socket!'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
gherofeeti:
  type: item
  material: i@GOLD_BOOTS
  display name: "<&c>Heroic Greaves<&b> (Reputation)"
  enchantments:
  - protection_environmental: 5
  - protection_fall: 3
  - Durability: 5
  lore:
  - 'Look at these ass-kickers!'
  - '<&7>These greaves have a socket!'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
## Leggings
cherolegsi:
  type: item
  material: i@CHAINMAIL_LEGGINGS
  display name: "<&c>Heroic Tights<&b> (Reputation)"
  enchantments:
  - protection_environmental: 3
  - protection_fire: 3
  - Durability: 5
  lore:
  - 'Look at them gams!'
  - '<&7>These tights have a socket!'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
lherolegsi:
  type: item
  material: i@LEATHER_LEGGINGS
  display name: "<&c>Heroic Chaps<&b> (Reputation)"
  enchantments:
  - protection_environmental: 4
  - protection_fire: 3
  - Durability: 5
  lore:
  - 'Now in assless!'
  - '<&7>These chaps have a socket!'
  - '<&2>(Socket)'
  - '<&7>Find a &2Socket Gem<&7> to fill a <&2>(Socket)'
gherolegsi:
  type: item
  material: i@GOLD_LEGGINGS
  display name: "<&c>Heroic Legplates<&b> (Reputation)"
  enchantments:
  - protection_environmental: 5
  - protection_fire: 3
  - Durability: 5
  lore:
  - 'Complete with extra knee-padding!'
  - '<&7>These legplates have a socket!'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
## Chestplate
cherochesti:
  type: item
  material: i@CHAINMAIL_CHESTPLATE
  display name: "<&c>Heroic Vestment<&b> (Reputation)"
  enchantments:
  - protection_environmental: 3
  - thorns: 3
  - Durability: 5
  lore:
  - 'Rose thorns have been sewn in these robes!'
  - '<&7>These robes have a socket!'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
lherochesti:
  type: item
  material: i@LEATHER_CHESTPLATE
  display name: "<&c>Heroic Jacket<&b> (Reputation)"
  enchantments:
  - protection_environmental: 4
  - thorns: 3
  - Durability: 5
  lore:
  - 'Barbed wire wraps around this jacket!'
  - '<&7>This jacket has a socket!'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
gherochesti:
  type: item
  material: i@GOLD_CHESTPLATE
  display name: "<&c>Heroic Breastplate<&b> (Reputation)"
  enchantments:
  - protection_environmental: 5
  - thorns: 3
  - Durability: 5
  lore:
  - 'Spiked for added protection!'
  - '<&7>This breastplate has a socket!'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
## Helmet
cheroheadi:
  type: item
  material: i@CHAINMAIL_HELMET
  display name: "<&c>Heroic Hood<&b> (Reputation)"
  enchantments:
  - protection_environmental: 3
  - oxygen: 3
  - Durability: 5
  lore:
  - 'Imbued with magical respiration!'
  - '<&7>This hood has a socket!'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
lheroheadi:
  type: item
  material: i@LEATHER_HELMET
  display name: "<&c>Heroic Skullcap<&b> (Reputation)"
  enchantments:
  - protection_environmental: 4
  - oxygen: 3
  - Durability: 5
  lore:
  - 'Installed with a gillyweed dispenser!'
  - '<&7>This skullcap has a socket!'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
gheroheadi:
  type: item
  material: i@GOLD_HELMET
  display name: "<&c>Heroic Crown<&b> (Reputation)"
  enchantments:
  - protection_environmental: 5
  - oxygen: 3
  - Durability: 5
  lore:
  - 'Snorkle included!'
  - '<&7>This crown has a socket!'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
##------------------------------------------
## Legend
##------------------------------------------
legendswordi:
  type: item
  material: i@DIAMOND_SWORD
  display Name: '<&3>Thuận Thiên <&b>(Reputation)'
  enchantments:
  - Damage_All: 6
  - Fire_Aspect: 2
  - Durability: 3
  - Knockback: 1
  lore:
  - 'This legendary blade liberated an'
  - 'entire people from oppression and'
  - 'tyrannical rule lasting almost 10'
  - 'long years.'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
legendaxei:
  type: item
  material: i@DIAMOND_AXE
  display Name: '<&3>Gesta Herewardi <&b>(Reputation)'
  enchantments:
  - Damage_All: 6
  - Fire_Aspect: 2
  - Durability: 3
  - Knockback: 1
  lore:
  - 'This legendary axe was weilded by'
  - 'a man who led a rebellion against'
  - 'an army of overwhelming numbers.'
  - 'It was gifted to the leader by a'
  - 'man whose sirname was <&sq>Lightfoot<&sq>.'
  - 'Whether this has any correlation'
  - 'with Lightfoot Industries has yet'
  - 'to be confirmed.'
  - '<&7>This axe has sockets!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
legendclubi:
  type: item
  material: i@DIAMOND_HOE
  display Name: "<&3>Dagda <&b>(Reputation)"
  enchantments:
  - Damage_All: 6
  - Fire_Aspect: 2
  - Durability: 3
  - Knockback: 1
  lore:
  - "This legendary club was said to"
  - "be able to kill nine men in a"
  - "single blow and it was once able"
  - "to return the dead to life, but"
  - "cracked during the Transitioning"
  - "lowering its magical potency."
  - "<&7>This club has sockets!"
  - "<&2>(Socket)"
  - "<&2>(Socket)"
  - "<&2>(Socket)"
  - "<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)"
legendspeari:
  type: item
  material: i@DIAMOND_SPADE
  display Name: '<&3>Jiuchidingpa <&b>(Reputation)'
  enchantments:
  - Damage_All: 6
  - Fire_Aspect: 2
  - Durability: 3
  - Knockback: 1
  lore:
  - 'This legendary spear was said to'
  - 'have belonged to a pig-like man'
  - 'who wielded it in such a dazzling'
  - 'display that it appeared to darken'
  - 'the sky. Literally translated as'
  - 'the <&sq>Nine-Toothed Rake<&sq>.'
  - '<&7>This spear has sockets!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
legendscythei:
  type: item
  material: i@DIAMOND_PICKAXE
  display Name: '<&3>Kamaitachi <&b>(Reputation)'
  enchantments:
  - Damage_All: 6
  - Fire_Aspect: 2
  - Durability: 3
  - Knockback: 1
  lore:
  - 'This legendary scythe was said to'
  - 'be fashioned from the claws of an'
  - 'ancient weasle-like creature that'
  - 'rode atop of dust devils and'
  - 'eviscerated their prey with its'
  - 'devastatingly curved blade-like'
  - 'claws.'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
##------------------------------------------
## Myth
##------------------------------------------
mythswordi:
  type: item
  material: i@DIAMOND_SWORD
  display Name: '<&6>Kusanagi-no-Tsurgi <&b>(Reputation)'
  enchantments:
  - Damage_All: 8 
  - Damage_Undead: 5
  - Fire_Aspect: 5
  - Durability: 5
  - Knockback: 3
  lore:
  - 'This mythic blade was said to'
  - 'kill the eight-headed serpent,'
  - 'Yamata-no-Orochi. Literally'
  - 'translated as Grass Cutting Sword.'
  - '<&7>This sword has sockets!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
mythaxei:
  type: item
  material: i@DIAMOND_AXE
  display Name: '<&6>Parashu <&b>(Reputation)'
  enchantments:
  - Damage_All: 8 
  - Damage_Undead: 5
  - Fire_Aspect: 5
  - Durability: 5
  - Knockback: 3
  lore:
  - 'This mythic battle-axe was said'
  - 'to belong to a goddess known'
  - 'only as The Destroyer. It was'
  - 'once used to annihilate an entire'
  - 'caste of people.'
  - '<&7>This axe has sockets!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
mythstaffi:
  type: item
  material: i@DIAMOND_HOE
  display Name: '<&6>Ruyi Jingu Bang <&b>(Reputation)'
  enchantments:
  - Damage_All: 8 
  - Damage_Undead: 5
  - Fire_Aspect: 5
  - Durability: 5
  - Knockback: 3
  lore:
  - 'This mythic staff belonged to a'
  - 'god-like entity who took the'
  - 'appearance of a humanoid monkey.'
  - 'It is said to have the ability to'
  - 'alter its size from a tiny needle'
  - 'to a mighty pillar.'
  - '<&7>This staff has sockets!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
mythspeari:
  type: item
  material: i@DIAMOND_SPADE
  display Name: '<&6>Gungnir <&b>(Reputation)'
  enchantments:
  - Damage_All: 8 
  - Damage_Undead: 5
  - Fire_Aspect: 5
  - Durability: 5
  - Knockback: 3
  lore:
  - 'This mythic spear is described'
  - 'as being so well balanced that'
  - 'it could strike any target, no'
  - 'matter the skill or strength of'
  - 'the wielder.'
  - '<&7>This spear has sockets!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
mythscythei:
  type: item
  material: i@DIAMOND_PICKAXE
  display Name: '<&6>Father Time <&b>(Reputation)'
  enchantments:
  - Damage_All: 8 
  - Damage_Undead: 5
  - Fire_Aspect: 5
  - Durability: 5
  - Knockback: 3
  lore:
  - 'This mythic scythe was said to'
  - 'have belonged to the God of Time'
  - 'himself. It was once used to'
  - 'castrate the God of Gods.'
  - '<&7>This scythe has sockets!'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&2>(Socket)'
  - '<&7>Find a <&2>Socket Gem<&7> to fill a <&2>(Socket)'
cheroset:
  type: item
  material: i@CHAINMAIL_CHESTPLATE
  display name: "<&6>Heroic Chain Set"
  lore:
  - "Click here to choose the"
  - "Heroic Chainmail Set."
gheroset:
  type: item
  material: i@gold_chestplate
  display name: "<&6> Heroic Gold Set"
  lore:
  - "Click here to choose the"
  - "Heroic Gold set."
lheroset:
  type: item
  material: i@leather_chestplate
  display name: "<&6> Heroic Leather Set"
  lore:
  - "Click here to choose the"
  - "Heroic Leather Set."