forked from Archy-X/AuraSkills
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangelog.txt
1365 lines (1311 loc) · 81.5 KB
/
Changelog.txt
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
Version Beta 1.2.8
New Features:
- Add alchemy.ignore-custom-potions option to disable duration boosts for custom effects
Bug Fixes:
- Fix Forging XP dupe exploit
- Fix red sand, podzol, and coarse dirt blocks dropping with NBT tags when dug with silk touch and Bigger Scoop
Version Beta 1.2.7
Bug Fixes:
- Fix Aurelium Skills action bar overriding other action bars (requires ProtocolLib)
- Fix ItemListener memory leak
- Fix Towny incompatibility
Version Beta 1.2.6
Changes:
- Add support for Minecraft 1.18
- Update German messages
- Update Spanish messages
- Correct some Polish messages (requires message file regen)
Bug Fixes:
- Fix Repairing resulting in negative durability
- Fix disabled skills still showing in stats menu
- Fix deepslate ores not in lucky_miner_applicable tag
- Fix SlimeFun block placer bug
- Fix MyPet error
Version Beta 1.2.5
New Features:
- Add hex color message support in &# format
- Add Treecapitator max_blocks_multiplier option to scale the number of blocks broken
- Add auto save for online players
- Useful if your server experiences skill data losses due to server crashes
- You must set auto-save.enabled to true and restart the server to enable it
- The auto-save.interval-ticks option controls how often (in ticks) to auto-save
Changes:
- Endurance XP gain is now disabled in spectator mode
Bug Fixes:
- Add armor modifier timer options to fix rare bug where un-equipping armor did not remove modifiers
- Fix some numbers and placeholders truncating instead of rounding half up
Version Beta 1.2.4
New Features:
- Add XP requirement equation customization:
- Configure the expression used for XP requirements in the new xp_requirements.yml file
- The "default" section configures the expression for all skills
- The "expression" is used to calculate the XP required for each level. Supports any valid EvalEx expression. The level variable is the level that is unlocked upon reaching the required XP (starts at 2)
- Custom variables are supported as long as their values (must be a number) are specified under the section (multiplier and base are examples of custom variables added by default)
- Create different requirements for each skill by adding a "skills.[skillName]" section that will override the "default" section
- Add item and armor XP multipliers:
- Item multipliers increase XP when holding the item
- Armor multipliers increase XP when wearing the item
- Multipliers can be either global or only for a specific skill
- New commands (target can be either global or a skill name):
- /skills armor multiplier add <target> <value> [lore]
- /skills armor multiplier remove <target>
- /skills armor multiplier list
- /skills armor multiplier removeall
- /skills item multiplier add <target> <value> [lore]
- /skills item multiplier remove <target>
- /skills item multiplier list
- /skills item multiplier removeall
- Add health.keep-full-on-increase option to keep full health when the health stat increases
Changes:
- The /skills multiplier command will now show skill-specific multipliers if they are different from the global multiplier
- Update Russian messages
Bug Fixes:
- Fix stat and skill not found error messages being null
- Fix custom loot giving negative XP
- Fix deleted loot tables not being removed on reload
- Fix Sharp Hook damage shown on skill item not using hp-indicator-scaling
- Fix custom Foraging loot tables not working
Version Beta 1.2.3
Changes:
- Add Italian messages
- Update Polish messages
- Update Russian messages
API Changes:
- Add getPlugin method to more easily get AureliumSkills instance (not official API, use at own risk)
Bug Fixes:
- Fix sweet berry bush right click not checking for blocked situations
- Fix glow berries XP dupe
- Fix some skills resetting on Turkish systems
Version Beta 1.2.2
New Features:
- Add requirement.enabled to set whether requirements should checked
Changes:
- Update French messages
- Various performance optimizations
- Update Chinese Simplified messages
Bug Fixes:
- Fix loot selection "bound must be positive" error
- Fix excessive velocity crash with Grappler
- Fix lingering potion NoSuchMethod error on 1.12 and 1.13
- Fix Revival stat bonuses not being removed on disconnect
Version Beta 1.2.1
New Features:
- Add /skills version command
- Add durability item loot meta
- Add placeholder support to reward messages
- Add check-multiplier-permissions options to disable potentially laggy frequent permission checks
- Add skull meta item loot parsing:
- Create a skull_meta section and add one of the following keys
- uuid - The UUID of the player's skin you want
- base64 - The base64 texture string
- url - The full Mojang texture link
- Add ManaAbilityRefreshEvent for when a mana ability cooldown finishes
Changes:
- Update French messages
- Reduce default kelp XP
- Optimize mana abilities and agility
- Allow console to use item give command
- Change default health.hp-indicator-scaling to 1 to be more consistent with Minecraft damage numbers
Bug Fixes:
- Fix Terraform crash with EcoEnchants
Version Beta 1.2.0
New Features:
- Reworked loot tables:
- Loot tables are now separated into files for each skill in the loot folder
- Each loot table can have multiple pools, which are lists of loot entries
- Pool keys:
- base_chance - The chance to select this pool without any added ability bonuses (1 = 1% chance) (defaults to 1)
- selection_priority - The order the pools are potentially selected, a higher priority means that it will attempt to select before lower priority pools (defaults to 1)
- override_vanilla_loot - Whether the regular loot from the block should be replaced with the selected loot. Does not apply to fishing. (defaults to false)
- chance_per_luck - The amount the chance should increase per luck stat level the player has (0.1 = 0.1% added chance per luck) (defaults to 0)
- Each pool has a loot section containing a map list of the loot entries
- Currently, there are two types of loot: item loot and command loot
- Universal loot entry keys:
- type - The type of loot, either item or command
- weight - The weight of the entry compared to other loot in the same pool, higher weight means more likely to be selected (defaults to 10)
- message - Chat message to send to player when they get the loot, supports color codes and PlaceholderAPI (optional)
- sources - A list of sources or source tags that this loot should exclusively apply to (optional)
- xp - The amount of skill xp to give when this loot is dropped (defaults to the original source amount if not specified)
- Item loot keys:
- amount - Controls the amount of item to give. This can either be a single number like '5' or a range of number such as '1-5', which gives a random amount from 1 to 5 (defaults to 1)
- material - The material of the item, must be valid bukkit material name (not case sensitive). Use material:id to specify legacy data if on 1.12
- key - References an item key registered using /skills item register. If this is specified, material and all keys below do not apply
- display_name - The display name of the item, supports & for color codes unless escaped with \& (optional)
- lore - The lore of the item, must be a list of each line, supports & for color codes unless escaped with \& (optional)
- enchantments - A list of enchantments, one enchantment per line. Use a space between the enchantment name and the level, such as 'sharpness 5' (optional)
- potion_data - A section containing potion data, see below for keys (optional):
- type - The type of potion, must be a bukkit PotionType
- extended - Whether the potion has an extended duration
- upgraded - Whether the potion has an upgraded level
- custom_effects - A map list of effects, keys for each section below (optional):
- type - The name of the effect, must be a bukkit PotionEffectType
- duration - The duration of the effect, in ticks
- amplifier - The amplifier of the effect (0 means level 1)
- glow - Set to true to make the item glow without enchantments showing (optional)
- nbt - Section for any custom NBT data (optional)
- flags - List of item flags to add to the item (optional)
- ignore_legacy - If true, the plugin will skip loading the item if the server version is below 1.13 to prevent material parsing errors (optional)
- Command loot keys:
- executor - Who should execute the command, either console or player (defaults to console)
- command - The command without the beginning /, supports {player} placeholder and all PlaceholderAPI placeholders
- Add loot tables you can create for Mining and Foraging (create mining.yml or foraging.yml in the loot folder)
- The existing loot.yml will be converted to the new format and the old file will be renamed to loot-OLD.yml
- Add new Replenish options:
- show_particles - display green bone-meal particles when a crop is replanted (defaults to true)
- prevent_unripe_break - prevent breaking a crop that is not fully grown while Replenish is active (defaults to true)
- Add haste_level option to Speed Mine to change the level of haste given
- Add red particles when an entity is damaged by Bleed
- Add new Bleed options:
- base_ticks - The number of bleed ticks added when the entity is not bleeding
- added_ticks - The number of bleed ticks added when the entity is already bleeding
- max_ticks - The maximum number of bleed ticks (inclusive) that an entity can have stacked up
- tick_period - The number of minecraft ticks between the activation of bleed ticks
- show_particles - Whether or not to show bleeding particles
Changes:
- Improve Treecapitator algorithm to work better with all tree types
- Add new items to default loot tables (does not affect existing configs)
- Re-enable idle action bar by default
- Change HP in action bar messages to heart symbol
- Tweak modifier command message format
- Balance changes (does not affect existing configs):
- Health modifier: 0.5 -> 0.4 (this makes it 1 Health = 2 HP)
- Changed health.hearts to better match modifier (20 hearts at about max level in all skills)
- Strength modifier: 0.63 -> 0.5
- Crit Damage per level: 4 -> 3
- First Strike damage per level: 10 -> 8
- Bleed chance per level: 4 -> 3
- Regeneration mana modifier: 0.25 -> 0.1
- New players will not join with full mana
- Mana regen shown in stats menu will now include base mana regen
API Changes:
- Add AureliumAPI#getManaRegen
Bug Fixes:
- Fix inconsistent wisdom experience multiplier with some plugins
- Fix Healer and Forger abilities not working
- Fix Sharp Hook activating when PVP/PVE was disabled
- Fix health scaling reset when adding or removing health modifiers
- Fix inaccurate damage hologram rounding
- Fix level 0 Wise Effect stat modifiers being added
Version Beta 1.1.4
New Features:
- Add silent argument to xp commands to disable message (add true to the end of command)
- Add healing.exclude-negative-potions option to disable potions that give negative effects from giving Healing XP
- Add alchemy.give-xp-on-potion-combat option to give Alchemy XP when using splash/lingering potions to kill/damage mobs (follows archery options and xp source values)
Changes:
- Splash/lingering potions will no longer give Archery XP
Bug Fixes:
- Fix stat menu skills lore not updating based on rewards
- Fix damage holograms not displaying for thrown tridents and other projectiles
- Fix damage holograms displaying projectile damage on self
- Fix strength not working on thrown tridents and special arrows
- Fix item modifiers in offhand not being removed sometimes
- Fix incorrect French stat_level message
- Fix negative item modifiers not displaying properly
- Fix skill-level-requirements-multiplier not rounding properly
- Fix Replenish not replanting the first crop broken
Version Beta 1.1.3
Changes:
- Update es, fr, pl, ru, and zh-CN messages
- Region saving will now use a 5 minute timer instead of on WorldSaveEvent
Bug Fixes:
- Fix Russian language missing from default config
- Fix error by deleting corrupt region files and prevent loading regions while saving
- Fix Terraform broken blocks not giving loot drops
Version Beta 1.1.2
New Features:
- Add global.yml rewards file that applies rewards in it to all skills
- Add boss-bar.display-maxed option to hide boss bar when skill is maxed
- Add %aureliumskills_mana_max_int% placeholder
Changes:
- Command rewards will now default to console if executor is not specified
- Disenchanting enchanted books in a grindstone will now give Forging XP
- Treecaptitator broken blocks will now give Foraging XP
Bug Fixes:
- Fix extra line on skills menu when all stat rewards are removed
- Fix error when playerdata file is missing uuid or empty
- Fix NoSuchFieldError on 1.12
- Fix Forging XP dupe
- Fix Forging XP not being given in rare cases
Version Beta 1.1.1
Changes:
- Remove MythicMobs support:
- MythicMobs has removed public access to their maven repository due to abuse
- This makes it impossible for new users/machines and JitPack to build the plugin
- This is a necessary change to keep the plugin open source and the AureliumSkills API working
- Update aureliumskills.* permission with new permissions
Bug Fixes:
- Fix mana ability cooldown_per_level not working
- Fix modifier removeall ConcurrentModificationException
- Fix missing aureliumskills.item.give permission
Version Beta 1.1.0
New Features:
- Add customizable rewards for leveling up skills (commands, permissions, stats, items, and money):
- Rewards are configurable for each skill in the files in the rewards folder
- Each rewards file name corresponds to the skill it defines rewards for (eg. farming.yml defines only Farming rewards)
- See the example rewards file for syntax help: https://github.com/Archy-X/AureliumSkills/blob/master/src/main/resources/rewards/example_rewards.yml
- Rewards files have two sections:
- The 'patterns' section defines rewards that repeat multiple times
- Each reward must have a 'pattern' section that can have a 'start', 'interval', and 'stop'
- The 'levels' section defines rewards for individual levels
- Each reward must define a 'type' key/value
- Reward types:
- command:
- Executes a command on level up defined with 'command'
- The 'executor' can define whether the command should be run through 'console' or by the 'player' (defaults to console)
- Commands support {player}, {skill}, {level} placeholders and all PlaceholderAPI placeholders
- Can optionally define a 'revert_command' and 'revert_executor' to execute when a player loses that level because of admin commands
- Color codes will work using & unless escaped using \&
- stat:
- Levels up an Aurelium Skill stat (health, strength, luck, etc.) defined in the 'stat' value
- The 'value' defines how much the stat should increase by (defaults to 1)
- You can remove or change the default stats for each skill
- permission:
- Gives the player a permission (only works with LuckPerms right now) defined with 'permission'
- Optional 'value' to specify true/false (defaults to true)
- Permissions are automatically removed when skill levels are lost
- Permissions are automatically added to players on join when a new permission reward is added to a level players already have unlocked
- item:
- Gives an item to the player defined with 'key'
- The 'key' refers to a registered item registered using /skills item register [key]
- The optional 'amount' defines the amount of the item to give, defaults to the amount of the originally registered item
- If the player does not have enough inventory space to give the item, they can claim it using /skills claimitems
- Unclaimed items are saved between restarts
- money:
- Gives the player money through Vault Economy
- The 'amount' defines the amount of money to give
- Messages are handled automatically and are compatible with legacy money rewards
- Command, permission, and item rewards can define custom 'menu_message' and 'chat_message':
- 'menu_message' is displayed in the level progression menu on the level the reward is unlocked at
- 'chat_message' is displayed in chat with the other rewards when the player levels up
- These can be either a literal string or refer to a custom message key in the messages file
- Messages are optional and will just be an empty string if not defined
- 'message' can be used as a shorthand instead when you want both menu and chat messages to be the same
- Reward messages will not be displayed on new lines automatically, you must use \n if you want a new line
- Add Lightning Blade mana ability for Fighting:
- Increases attack speed by _% for _ seconds
- Right click sword and attack mob to activate
- Add item registry system:
- Register the item in your main hand using /skills item register [key]
- Unregister an item using /skills item unregister [key]
- This system makes it easy to use items with complex lore and meta in item rewards
- Registered items are stored in items.yml, this file should not be edited unless you know what you are doing
- Registered items can be given to players using /skills item give [player] [key] (amount)
Changes:
- Lore placeholders for skill items/templates in menus.yml have be changed for stat rewards compatibility
- Update XSeries version
Bug Fixes:
- Fix give-xp-on-takeout Alchemy option not working when using 1 ingredient
- Fix six-sided wood and hyphae not giving Foraging XP
Version Beta 1.0.8
New Features:
- Add Alchemy option give-xp-on-takeout to reward XP when the potion is taken out of the brewing stand
- Requirements can now disable fishing rod use
- Add ssl option for MySQL
API Changes:
- Move many internal classes to new packages, everything should still work as long as you only use the official API
Bug Fixes:
- Fix Fleeting speed boost not being removed on server shutdown
- Delay region saving status update by 20 ticks (hopefully fix errors)
Version Beta 1.0.7
Bug Fixes:
- Fix ProtocolLib action bar errors on 1.17
- Fix Fleeting not being disabled properly
Version Beta 1.0.6
New Features:
- Add 1.17 support
- New Fighting and Archery XP sources:
- Axolotl
- Glow Squid
- Goat
- New Mining XP sources:
- Deepslate
- Copper Ore
- Tuff
- Calcite
- Smooth Basalt
- Block of Amethyst
- Amethyst Cluster
- Deepslate Ores (coal, iron, copper, gold, redstone, lapis, emerald, diamond)
- Dripstone Block
- Ice (requires silk touch)
- Packed Ice (requires silk touch)
- Blue Ice (requires silk touch)
- New Foraging XP sources:
- Moss Block
- Moss Carpet
- Azalea
- Flowering Azalea
- Azalea Leaves
- Flowering Azalea Leaves
- Add Glow Berries as Farming XP source
- Add Rooted Dirt as Excavation XP source
- Add Source Tags:
- Source tags are configurable lists of XP sources used for certain plugin mechanics, such as which blocks abilities work on
- Loaded from new tags section in sources_config.yml
- Three ways to define an entry in a source tag:
- Use an exact source name defined in the sources section above (eg. 'dirt')
- Use a '*' to add all the sources in the skill
- Use a source name with an '!' in front, which removes the entry from the list (eg. '!dirt')
- Tags added:
- Farming: bountiful_harvest_applicable, triple_harvest_applicable
- Foraging: lumberjack_applicable
- Mining: lucky_miner_applicable, speed_mine_applicable
- Excavation: bigger_scoop_applicable, metal_detector_applicable, lucky_spades_applicable, terraform_applicable
- Note: This does not work for custom block/mob sources yet
Changes:
- Rename quartz_ore to nether_quartz_ore in sources_config.yml
- Recode internal sources system, add sources registry
- Updated NBT API to 2.8.0
Bug Fixes:
- Fix Archery damage based getting wrong xp amount
- Fix Enchanting Enchanter ability not working
- Fix Replenish changing blocks in protected regions
- Fix MySQL table creation not working on older MySQL versions
Version Beta 1.0.5
Changes:
- Updated French (fr) messages
Bug Fixes:
- Fix MySQL ClassNotFoundException when using older MySQL connector
- Fix health being applied multiple times in skill commands
Version Beta 1.0.4
Bug Fixes:
- Fix multiple Forging XP exploits
- Fix Disenchanter experience exploit
- Fix global requirements not showing up in requirement deny messages
- Fix incorrect item requirement use message
- Fix MySQL deprecation warning on Java 16
Version Beta 1.0.3
Bug Fixes:
- Fixed Forging XP dupe
Version Beta 1.0.2
New Features:
- Added lingering potions as Healing XP sources (includes regular, extended, and upgraded options in sources_config.yml)
- Added health_percent_required option for the fleeting ability to control the health the ability activates at
Changes:
- Updated French (fr), Portuguese-Brazilian (pt-BR), and Spanish (es) messages
- The skill levels required will now be listed in the message when players do not meet the requirements for an item
- Requires adding {requirements} placeholder to 'commands.armor.requirement.equip' and 'commands.item.requirement.use' messages or regen of messages file to work
API Changes:
- Added addItemModifier and addArmorModifier methods to API
Bug Fixes:
- Fixed falling block (sand/gravel) dupe
Version Beta 1.0.1
Changes:
- Automatic backups will no longer try to save player data again on shutdown
- The /skills save command now runs asynchronously
Bug Fixes:
- Fixed duplication when mining placed Excavation or Luck double drop blocks
Version Beta 1.0.0
New Features:
- Backups:
- Save a backup with /backup save
- Load a backup in the backups folder with /back load [file]
- You must specify the exact file name with the file extension, such as /backup load backup-date_time.yml
- Automatic backups will be taken by default at least 24 hours apart on server shutdowns
- Added automatic-backups.enabled and automatic-backups.minimum-interval-hours options
- Region storage:
- Placed blocks are now stored on file, which means gaining xp for placed blocks after a restart is no longer possible
- Stored in the regiondata folder organized by world and regions (32x32 chunk areas)
- Regions are dynamically loaded and unloaded as they are used to conserve memory
- Added new Farming XP sources:
- Cactus
- Brown/Red mushroom
- Kelp
- Sea pickle
- Sweet berry bush
- MySQL improvements:
- Added mysql.load-delay option to delay loading player data from database until a certain number of ticks passes
- Added mysql.always-load-on-join to load player data on join no matter if it is already cached in memory
- Added custom WorldGuard flags:
- Added aureliumskills-xp-gain flag to allow/deny XP gain in regions (works the same as blocked-regions in config)
- Only works in WorldGuard 7.0+ (1.13+)
- Added skill average leaderboards (/skills top average)
- Added grindstone disenchanting as Forging XP source
- Added check-for-updates option to toggle update checking
- Added aureliumskills.checkupdates permission to toggle sending plugin update messages on join
- Added replenish.replant_delay option in abilities_config.yml
Changes:
- Moved Yaml player data into individual files for each player in the playerdata folder
- Changed MySQL database format, NOT backwards compatible
- Each player's data will now be loaded on join and saved on leave
- Stat modifiers are now persistent
- Mana is now persistent
- Player language settings are now persistent
- Certain ability data is now persistent
- Complete recode and cleanup of the data and storage system
- Abstracted skills and stats, created skill and stat registry system
- Added Lithuanian (lt) messages
API Changes:
- Renamed Stat enum to Stats
- Renamed Skill enum to Skills
- Skill and Stat are now interfaces that can represent more than just the default skills/stats
- Moved util classes into more specific subpackages
Bug Fixes:
- Fixed Replenish consuming wrong mana amount
- Fixed players unable to do certain tasks (breaking/placing blocks) if their player data was not loaded
- Added chipped_anvil, damaged_anvil, flower_pot, and signs to blocked materials when equipping armor with modifiers
- Fixed wisdom.max-mana-per-wisdom changes not regenerating mana properly
Version Alpha 1.6.8
Changes:
- Made default English not enough mana messages more specific to show current and max mana
- Disabled idle action bar by default, changed default ability action bar messages
- Added new mana ability options to mana abilities that raise/lower a tool:
- Added check_offhand option to stop readying if a block is being placed in the offhand (true by default)
- Added sneak_offhand option to allow the player to bypass the offhand block check by sneaking (true by default)
- Added require_sneak option to require sneaking in all cases to ready an ability (false by default)
Bug Fixes:
- Fixed loot dropping with Terraform in protected Towny regions (added Towny support)
- Fixed melons dropping melon slices with silk touch in bountiful harvest/triple harvest abilities
- Fixed gaining fighting and archery xp in disabled worlds/regions if damage_based is enabled
Version Alpha 1.6.7
New Features:
- Added PlaceholderAPI support to menus:
- Added menus.placeholder-api config option (true by default)
- Works on all display names, lores, and messages used in menus
- Added per skill multiplier permissions:
- Format: aureliumskills.multiplier.[skill].[percent]
- Reminder that percent is the percent extra xp, so aureliumskills.multiplier.farming.100 would give 100% (2x) more Farming XP
- Added %aureliumskills_multiplier_[skill]% and %aureliumskills_multiplier_percent_[skill]% placeholders
- Added potion_type and custom_effect data tags for loot
- Format: potion_type:[PotionType]
- Format: custom_effect:[PotionEffectType],[duration],[amplifier]
- Added PlaceholderAPI support to loot commands
- Added ManaAbilityActivateEvent
- Added %aureliumskills_[stat]_int% placeholder to get stat levels as an integer
Bug Fixes:
- Fixed Bleed not being removed on some deaths
- Fixed enchanted book loot enchants not working in anvils
- Sharp hook will no longer work if the attacker is too far away or in a different world
Version Alpha 1.6.6
New Features:
- Added archery/fighting.damage-based options to grant XP every time a player attacks per damage dealt instead of killing the mob:
- WARNING: This still uses the values in sources_config.yml as the XP granted PER VANILLA DAMAGE for each type of mob
- You should significantly lower and equalize the archery and fighting values in sources_config.yml if you want to keep the progression similar to before
- These options are false by default
- Added archery/fighting.spawner-multiplier options to change the XP gained from mobs spawned from spawners:
- Set to 0 to disable XP from mob spawners; set to 1 to match regular mobs (1 by default)
- The XP gained is the spawner-multiplier value multiplied by the XP a normal mob of that type would give
- Added defense.allow-shield-blocking option to allow Defense XP gain when blocking a shield (false by default)
- Added cocoa as a Farming XP source
- Added %aureliumskills_mana_int% placeholder for the mana of a player rounded to an integer
Changes:
- Updated id messages
Bug Fixes:
- Fixed server crash with the Terraform mana ability when using VeinMiner
- Added TerraformBlockBreakEvent called when blocks broken with Terraform
- Fixed mana ability max level not being displayed in menus
- Fixed default language not setting on case sensitive operating systems with locales that specify a country code
- Fixed tridents giving both Fighting and Archery XP (now only gives Archery)
Version Alpha 1.6.5
Changes:
- Changed menu inventory click event priority to highest (should prevent plugin compat issues where players are able to take items out)
- Updated zh-CN messages
Bug Fixes:
- Exploding fireworks will now give Archery XP instead of Fighting
- Fixed Disenchanter no enum constant error
- Fixed action bar hp and max hp discrepancy
- Fixed experience duplication death exploit
- Players can longer earn Archery/Fighting/Defense XP by damaging/killing themselves
- Fixed ability config migration error
Version Alpha 1.6.4
New Features:
- Added hearts customization:
- Use the health.hearts in config.yml section to change the hearts shown for different health ranges.
- The key is the number of hearts and the value is the minecraft health that amount of hearts is unlocked at.
- For example, if two entries are '12': 29 and '13': 37, this means the player will have 12 hearts shown on their screen when their minecraft health is from 29 (inclusive) to 37 (exclusive).
- The values are not the HP shown on the action bar. To find the HP from the action bar the value is, multiply it by the health.hp-indicator-scaling option (default is 5).
- This supports hearts below 10 and hearts above 20, just add entries with the key as the number of hearts.
- The order of keys and values should be sequential, otherwise higher heart entries will override lower ones.
- This is purely cosmetic, changing these options does not change the actual hp you have.
- This only works if you have health.health-scaling set to true.
- Added CustomRegenEvent to the API for health regeneration when custom-regen-mechanics is enabled
Bug Fixes:
- Fixed Fleeting speed boost not being removed if custom-regen-mechanics was enabled
- Fixed grindstone Disenchanter ability error with Sweeping Edge
- Fixed Recovery ability not working if custom-regen-mechanics was enabled
- Fixed sugar cane Farming XP fast place duping (breaking any player placed sugar cane will not give XP for above blocks)
Version Alpha 1.6.3
Changes:
- Fully updated es, fr, and pt-BR messages (version 13)
- Partially updated de, id, pl, tr, zh-CN, and zh-TW messages to fix format bug (version 9)
Bug Fixes:
- Fixed level up message format issues on languages that did not have updated message files (every language except en)
- Fixed doubled level up message when money reward was enabled
- Fixed Terraform mana ability options not being on abilities_config.yml
Version Alpha 1.6.2
Bug Fixes:
- Fixed file loading issues (console spam) and other potential problems on systems with Turkish as the default language
Version Alpha 1.6.1
Bug Fixes:
- The custom_model_data tag for the fill item now works
- Fixed action bar NullPointerException
Version Alpha 1.6.0
New Features:
- New abilities_config:
- Moved ability options from config.yml to new abilities_config.yml file
- Added 'unlock' option (the skill level the ability unlocks at)
- Added 'level_up' option (every x levels the ability should level up)
- Added 'max_level' option to control the maximum allowed ability level (set to 0 for no limit) (skill level limits still apply)
- Added various specific options for some abilities such as 'enable_message', 'enable_sound', etc.
- Changing the new options will automatically change the order on menus and level up messages
- Your existing ability options will be automatically migrated to the new abilities_config.yml file when updating and old options will be deleted
- Enchanting abilities:
- XP Convert - Earn 1 Minecraft experience for every certain amount of skill XP you gain.
- Enchanter - Earn more Enchanting XP.
- XP Warrior - Mobs you kill have a chance of dropping double experience.
- Enchanted Strength - Gain Strength for every unique enchantment on the item held.
- Lucky Table - Items you enchant using the enchantment table have a chance of upgrading the enchantment level by 1 if not max level.
- Healing abilities:
- Life Essence - Instant Health potions heal more.
- Healer - Earn more Healing XP.
- Life Steal - Heal a percentage of the max HP of hostile mobs and players you kill.
- Golden Heart - Damage done to your absorption hearts is reduced.
- Revival - Gain Health and Regeneration stat boosts for 30 seconds after respawning.
- Forging abilities:
- Disenchanter - Gain more experience when disenchanting items using a grindstone. (1.14+ only)
- Forger - Earn more Forging XP.
- Repairing - Repairing items in an anvil using the raw material the item was made from repairs more durability.
- Anvil Master - Increases the maximum repair cost of an anvil before it is too expensive. (1.13+ only)
- Skill Mender - Gaining skill XP has a chance to repair a held item or worn armor piece with the Mending enchantment by 1 durability per 2 skill XP.
- Terraform mana ability for Excavation
- Break blocks instantly in a 4 block radius in the same layer when digging
- You must use a shovel and extra blocks broken must be the same type and in a single connected vein
- Right click shovel and dig block to activate
- Blocks broken will call BlockBreakEvent so there shouldn't be plugin compatibility issues
- Charged Shot mana ability for Archery
- Arrows you shoot will deal more damage based on how far the bow was pulled back, consuming mana in the process.
- Left click a bow to toggle charged shot mode
- Damage percent increase is based on the amount of mana consumed, mana is consumed up to the max mana cost
- Absorption mana ability for Defense
- Incoming damage will decrease mana by 2x Minecraft damage instead of health for a duration.
- Mana will not regenerate while Absorption is active.
- Left click a shield and take damage to activate
- New sounds and particle effects used
- Added PlayerLootDropEvent to the api
- Added custom model data support for menu items:
- Add key value pair to the 'material' string
- Ex: 'custom_model_data:5'
- Only works in 1.14+
- Added option wisdom.max-mana-per-wisdom
- Added menu descriptor/message for max mana
- Added new placeholders (only identifiers shown, use %aureliumskills_[identifier]%)
- xp_required_formatted_[skill] - Gets the required XP for the next level of a player formatted with suffixes (ex: 5k)
- xp_required_[skill] - Gets the required XP for the next level of a player as an exact number
- xp_progress_int_[skill] - Gets the percent progress to the next level rounded to an integer
- xp_progress_1_[skill] - Gets the percent progress to the next level rounded to 1 decimal place
- xp_progress_[skill] - Gets the exact percent progress to the next level
- xp_int_[skill] - Gets the current XP for a player rounded to an integer
- xp_formatted_[skill] - Gets the current XP for a player formatted with suffixes
- xp_[skill] - Gets the exact skill XP for a player
- multiplier - Gets a player's permission XP multiplier rounded up to 2 decimal places (1 = normal, 2 = 2x XP)
- multiplier_percent - Gets a player's permission XP multiplier as a percent more value rounded to an integer (40 = 40% more XP)
Changes:
- Stat levels and mana now use double instead of int (decimal support)
- API BREAKAGE (You must recompile plugins that use mana and stat methods!)
- The level progression menu now supports unlimited pages
- Moved api events to a new event package (API BREAKAGE)
- Changed item/armor modifier and requirement format to a nested NBT compound structure
- Items with the legacy format will auto convert if held in a player's hand by default (set modifier.auto-convert-from-legacy to false to disable)
- All item data from this plugin is now stored inside the 'AureliumSkills' root tag
- Default config.yml changes:
- 'boss-bar.enabled' is now true
- 'action-bar.xp' and 'action-bar.maxed' are now false
- 'strength.use-percent' is now true and 'strength.modifier' has been increased to 0.63 (was 0.05)
- The 'abilities' and 'mana-abilities' sections have been removed (moved to abilities_config.yml)
- Wisdom anvil cost reduction now uses a curved percent, similar to Toughness calculations
- newCost = originalCost * (1 - (-1 * 1.025^(-1 * wisdomLevel * wisdom.anvil-cost-modifier) + 1))
- newCost is rounded to an integer, must be at least 1
- Tweaked some messages to reflect stat mechanic changes
- Updated NBT API version
- Added items to the default loot table and nerfed some
- Updated Spigot-API version to 1.16.5
- Action Bar improvements
- Added action-bar.ability option and action_bar.ability message for using the action bar instead of chat for ability messages
- Ability messages include raise/lower tools, activate/worn off mana abilities, bleed, first strike, etc
- action-bar.ability is true by default
- Improved idle action bar performance
- The action bar should no longer interfere with vanilla action bars, these include:
- Bed messages (monsters nearby, only at night, too far away)
- Jukebox playing messages
- Height limit messages (may not work sometimes on older versions)
- Code cleanup and optimizations
Bug Fixes
- Fixed Endurance abilities still working when ability is disabled
- Fixed Foraging abilities still working when skill is disabled
- Implemented swim_per_meter source in Endurance
- Added missing items in Fishing leveler (nautilus shell and bamboo)
- Fixed inaccurate attack damage percent in the stats menu when use-percent and display-damage-with-health-scaling are true
- Fixed wisdom.allow-over-max-mana option not working sometimes when set to false
- Fixed six-sided logs not giving Foraging XP in 1.12
- Fixed the 'skill setall' command affecting disabled skills
- Fixed Jungle Log not checking for block replace
- Fixed Excavation abilities not working when Archery was disabled
Version Alpha 1.5.5
New Features:
- Added mana commands:
- /mana (player) - Displays your or another player's current and max mana
- Displaying self requires 'aureliumskills.mana' permission (true by default)
- Displaying other requires 'aureliumskills.mana.other' permission (op by default)
- /mana add [player] [amount] (allowOverMax) (silent) - Adds mana to a player
- 'aureliumskills.mana.add' permission (op by default)
- /mana remove [player] [amount] (silent) - Removes mana from a player
- 'aureliumskills.mana.remove' permission (op by default)
- /mana set [player] [amount] (allowOverMax) (silent) - Sets the mana of a player
- 'aureliumskills.mana.set' permission (op by default)
- Notes:
- The allowOverMax argument is true by default; however, in order to add/set over max 'wisdom.allow-over-max-mana' must be true in config.yml
- Mana can never go below 0
Changes:
- Option 'wisdom.allow-over-max-mana' is now true by default
- Updated fr, id, tr, es messages
- Deleted message files included in the plugin will now regenerate on /sk reload
- Endurance now gives XP every 2 minutes instead of 1
Bug Fixes:
- Fixed NullPointers with messages by using the English message if the default-language is set to a language with an outdated message file
- Fixed primary skills word duplicate in stats menu
- Fixed rare IndexOutOfBoundsException warning with action bar
- Fixed Endurance not giving XP sometimes
Version Alpha 1.5.4
New Features:
- Added 'skills resethealth' command that removes Aurelium Skills attribute modifiers from all offline players
- This command can only be run through console and does not affect online players
- Useful for uninstalling the plugin without extra health or luck
Bug Fixes:
- Fixed instant health and damage potions giving an effect with duration
Version Alpha 1.5.3
Bug Fixes:
- Fixed NoSuchMethodError with lingering potions on versions 1.12-1.13
- Fixed Speed Mine cooldown being too short
Version Alpha 1.5.2
New Features:
- Added Alchemy abilities:
- Alchemist - Potions you brew have a percent longer duration.
- Brewer - Earn more Alchemy XP
- Splasher - Potions you splash gain a longer duration for each player affected.
- Lingering - Lingering potions naturally decay slower and decay less per affected entity.
- Wise Effect - Gain Wisdom for every unique active potion effect.
- Added Sharp Hook Mana Ability for Fishing:
- Deal damage to a hooked entity when left clicking with a fishing rod
- Options to display-damage-with-scaling and enable-sound (both true by default)
- Added Item and Armor Requirements:
- Require at least a certain skill level to use modifiers on an item/armor
- New commands for requirements:
- /sk item requirement add
- /sk item requirement remove
- /sk item requirement list
- /sk item requirement removeall
- /sk armor requirement add
- /sk armor requirement remove
- /sk armor requirement list
- /sk armor requirement removeall
- Multiple requirements for different skills can be added on the same item
- Added new messages for requirement commands and lore
- Added new permissions for requirement commands (Ex: aureliumskills.item.requirement.add)
- Added config section for requirements:
- item:
- 'prevent-tool-use' - Whether block breaking should be blocked when a player does not meet a requirement
- 'prevent-weapon-use' - Whether attacking entities should be blocked when a player does not meet a requirement
- 'prevent-block-place' - Whether block placing should be blocked when a player does not meet a requirement
- armor:
- 'prevent-armor-equip' - Whether armor should be unable to be equipped when a player does not meet a requirement
- Global requirements:
- Global requirements apply to every item of a specific material
- Defined in the 'requirements.item.global' and 'requirements.item.global' as lists
- Format: '- [material] [skill_1]:[level_1] [skill_2]:[level_2] ...'
- Ex: '- IRON_PICKAXE MINING:10 ENDURANCE:5' <- This would require Mining 10 and Endurance 5 to use ANY iron pickaxe
- Added new "sources_config.yml":
- Options in this file will be used instead of the old options in the main config
- You must migrate your old values to the new file
- Archery and Fighting sources are now for every mob type
- Mob types include all mobs up to 1.16
- Added custom block XP sources:
- Applicable to Farming, Foraging, Mining, and Excavation
- Add "custom:" section under the specific skill section in "sources_config.yml"
- In the custom section, keys are the block name and values are the xp amount
- Use 1.13+ block names even if in 1.12
- Example path: sources.mining.custom.sandstone: 4.0
- Custom blocks are checked for block replace automatically
- Item modifiers now support the offhand:
- The same type of stat can have a modifier on both the main hand and offhand
- The modifier name visible in /sk modifier list has a "-offhand" at the end to denote an offhand modifier
- All existing item modifiers will work with both hands
- Added option "modifier.item.enable-off-hand" to enable/disable
- Added MythicMobs support:
- Just like custom block XP sources, add the "custom:" section under fighting and archery in "sources_config.yml"
- Under the section, the keys are the MythicMobs mob internal name and the value is the xp amount
- Killing a MythicMob that is defined in the sources config will override the default value for that mob type
- Killing a MythicMob that has not been defined in the sources config will give the default xp for that mob type
- Added new 'strength.use-percent' option to use a percent increase damage system instead of adding:
- This option makes the base weapon damage, enchantments, and attack cooldown more important because the percent is applied on the base vanilla damage (with enchantments).
- In order to show the correct percent on the stats menu, disable 'display-damage-with-health-scaling'
- Add a percent symbol in the message 'menus.stats_menu.attack_damage' for display
- It is recommended to increase the 'strength.modifier' if this option is enabled, but do your own testing
- Added new message languages:
- IMPORTANT: To use these languages, you MUST add them to the languages list in config.yml!
- Turkish (tr)
- Polish (pl)
- Portuguese, Brazilian (pt-BR)
- Chinese, Simplified (zh-CN)
- German (de)
Changes:
- Updated es, fr, id, and zh-TW messages
- SkillLoader optimizations
- Bamboo implemented as a farming source (previously didn't work):
- Every bamboo above that breaks from physics still gives XP
- Reduced default XP amount to 0.25
- Removed now unused skill xp types from "config.yml"
- Added API methods with UUID parameters for each existing method when possible
- Individual language files will now only update if the embedded language file for that language has a different file_version
- Moved messages files to a new messages directory. If the directory does not exist yet, old message files will be moved to the new directory.
- Mana Ability cooldowns now support decimals
- Speed Mine will now activate on netherrack, basalt, and blackstone
- Added spectral arrows, tipped arrows, and tridents as ways to level Archery and now work with the strength stat
Bug Fixes:
- Fixed NPC null pointers
- Fixed bug with item modifiers not removing stat modifiers when moving in inventory
- The screen will now shake less often when applying health modifiers (will only shake if necessary)
- Disabled skills will no longer display on the stats menu lists of primary and secondary skills
- Money rewards are now formatted to 2 decimal places
- Disabled abilities will no longer show up on menus
- Embedded English messages will now be used when a message is missing in messages_en.yml (fixes NPEs)
- Fixed encoding issues with updating message files
Version Alpha 1.5.1
New Features:
- Added 'aureliumskills_rank' and 'aureliumskills_rank_<skill>' placeholders to get a player's leaderboard position
- Added 'try-detect-client-language' option to disable trying to detect client language on join if player does not have a language set
Changes:
- Updated NBT API to support 1.16.4
- Updated spigot-api to 1.16.4
- Plugin will no longer check for updates until 6 hours after the plugin is released
Bug Fixes:
- Fixed default-language not working
- Fixed error when adding large amounts of xp with boss bar enabled
- Fixed boss bars not going away when gaining xp during a reload
Version Alpha 1.5.0
New Features:
- New Messages System:
- Each language is now in own separate file, old messages.yml is no longer used
- Per-player multi language support (/sk lang <language>)
- Universal color code and newline support
- ACF, Action Bar, Leveler, prefix, and more messages supported
- Integrated with new configurable menus
- Guide to the new system: https://github.com/Archy-X/AureliumSkills/wiki/Messages-Guide
- Configurable Menus:
- All menus are now fully customizable in the new menus.yml fil
- Change any item material, position, display name, and lore format
- Change menu title, size, and fill item
- Works with any language, as it is only to determine menu format, message placeholders are replaced with messages defined under the "menus" section of the new messages files
- Items are used for single items, templates are used for repeating items
- Mana Abilities:
- Moved abilities that cost mana separate from regular passive abilities and added new mana abilities
- Mana Abilities now show separate in menus
- Mana Abilities unlock at level 7 and level up every 7 levels
- Using Mana Abilities gives Sorcery XP
- New Mana Abilities:
- Replenish (Farming) - Automatically replants crops when harvested
- New Abilities:
- Valor (Foraging) - Grants strength while holding an axe
- Stamina (Mining) - Grants toughness while holding a pickaxe
- Light Fall (Agility) - Reduces all fall damage by a percentage
- Jumper (Agility) - Earn more Agility XP
- Sugar Rush (Agility) - Consumed and splashed speed and jump boost potions last longer
- Fleeting (Agility) - Gain movement speed when under 20% health
- Thunder Fall (Agility) - When sneaking during a fall, you have a chance to deal a percentage of the fall damage expected to mobs in a 3 block radius
- Added options to change skill max levels (UNLIMITED LEVELS!)
- Added leveler section to config:
- Enable/disable the level up title, change fade in, stay, and fade out
- Enable/disable the level up sound, change sound type, category, volume, and pitch
- Added Boss Bars:
- Boss Bars can be enabled and configured in the "boss-bar" config section
- "mode" option can be either "single" or "multi". Multi means multiple boss bars will display if gaining xp from different types of skills, single is only one at a time.
- "stay-time" is how long the Boss Bar will stay up after not gaining xp, in ticks
- "update-every" controls how often the boss bar should update when gaining xp consecutively, increase if having lag issues
- If "round-xp" is enabled, the current xp will be rounded to an integer
- The "format" list allows you to change the boss bar color and style for each skill:
- Format: '<SKILL> <COLOR> <STYLE>'
- Available colors are BLUE, GREEN, PINK, PURPLE, WHITE, RED, and YELLOW
- Available styles are SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, and SEGMENTED_20
- Added "action-bar.round-xp" option to round current xp to an integer
- Added new placeholders:
- "aureliumskills_hp_max" - Gets max hp with scaling
- "aureliumskills_mana_max" - Gets max mana
- "aureliumskills_hp_percent" - Gets percent hp as integer
- "aureliumskills_lb_power_<place>" - Gets the entry of the power leaderboard at a specified place formatted as <name> - <value>
- "aureliumskills_lb_power_<place>_name" - Gets the username at the specified place in the power leaderboard
- "aureliumskills_lb_power_<place>_value" - Gets the value at the specified place in the power leaderboard
- "aureliumskills_lb_<skill>_<place>" - Gets the entry of a skill leaderboard at a specified place formatted as <name> - <value>
- "aureliumskills_lb_<skill>_<place>_name" - Gets the username at the specified place in a skill leaderboard
- "aureliumskills_lb_<skill>_<place>_value" - Gets the value at the specified place in a skill leaderboard
- Added bStats
- Added Stat methods to the API
- Added Indonesion messages (id)
- Added Spanish messages (es)
- Added French messages (fr)
- Added Chinese Traditional messages (zh-TW)
- Added consuming golden apples and enchanted golden apples as a Healing XP source
- Added command support to loot tables:
- Prefix an entry with "cmd:" with a command right after (no /)
- Commands will be run through console, use {player} placeholder to replace player username
- You cannot have both a command and an item in the same entry
- Added enchantment support for loot table items:
- Add the "enchantments:" flag after the material name
- Example: '1 1 ENCHANTED_BOOK enchantments:protection:3'
- Generally any format of enchantment name is acceptable (in game names or bukkit names)
- Multiple enchantments are separated by a "|", for example: 'enchantments:protection:3|fire_aspect:2'
- Added PlaceholderAPI support for action bar messages
- Added action-bar options to config:
- "enabled" - Global action bar control (must be true to have action bar at all)
- "idle" - Whether the idle action bar should be enabled
- "xp" - Whether the action bar for gaining xp should be enabled
- "maxed" - Whether the action bar for gaining xp in a maxed skill should be enabled
- "update-period" - Same option as before, just moved locations
- "placeholder-api" - Whether action bar should replace PlaceholderAPI placeholders, given PlacholderAPI is present
- Added tab completion for modifier names for /sk modifier remove
- Added "leveler.double-check-delay" option for the level up check speed for large xp gains
- Added "wisdom.allow-over-max-mana" option for whether current mana retains when wisdom stat decreases lower than current mana
- Added new leveler messages for mana abilities
Changes:
- New internal config system
- Players that have never gained any xp will no longer be saved and will be purged from data.yml file
- Improved menu and action bar performance using faster String replace method
- Health is now stored while in a disabled world and is set back when returning
- The aureliumskills.lang permission is now true by default
- Removed unnecessary config options that have been moved to messages
- Items dropped from abilities now drop with less speed/distance
- Improved action bar performance
- Changed default "modifier.item.check-period" to 3
- A blank config will no longer be saved on server shutdown if the config was deleted
Bug Fixes:
- Fixed XpGainEvent calling without permission multipliers
- Treecapitator will no longer raise a wooden axe if WorldEdit is enabled
- Fixed extra health not being removed when entering a disabled world
- Fixed NPE in save command when switching to MySQL without restart
- Fixed abilities dropping wrong item if using silk touch
- Rank command no longer shows disabled skills
- Fixed andesite not giving xp and diorite giving wrong xp on 1.12
- Farming abilities now drop items from the center of the block (like all other abilities)
- Fixed Defense XP not giving during PVP if damage is less than 'defense.max'
- Fixed Foraging XP not gaining for sideways oriented logs on 1.12
- Added "health.update-delay" and "health.force-base-health" options to fix some plugin compatibility issues related to world switches
Version Alpha 1.4.3
New Features:
- Added a basic API:
- AureliumAPI class for static methods related to mana, xp, and skill level
- XpGainEvent - Called when xp is gained internally (cancelable)
- SkillLevelUpEvent - Called when a skill levels up (not cancelable)
- ManaRegenerateEvent - Called when a player's mana regenerates (cancelable)
- Added wood blocks (six sided logs) to the respective regular log xp source
- Added /sk rank (/skillrank) command to see rankings
- Added a ranking item in the level progression menu
- Added a /sk toggle (/abtoggle) command to toggle your own skills action bar
- Added a /sk save command to save skill data (async) [aureliumskills.save permission]
- Added a /sk updateleaderboards command that updates and sorts the leaderboard forcibly (async)
- New permissions:
- aureliumskills.abtoggle (default: true)
- aureliumskills.updateleaderboards (default: op)
- aureliumskills.save (default: op)
- aureliumskills.rank (default: true)
Changes:
- Better and more optimized leaderboards:
- Added pages for /sk top commands (/sk top <page> or /sk top [skill] <page>)
- Leaderboard caching and asynchronous periodic leaderboard updating (configurable)
- Message support for /sk top and /sk rank
- /skilltop command alias for /sk top
- Added sorting by XP if level is the same for more precise sorting
- MySQL data saving is now much more efficient (recommended for large player counts)
- Data saving to file is now asynchronous
- Accessing/modifying skill and stat data is now thread safe
- Mana no longer regenerates for offline players
- Updated spigot-api version to 1.16.3
- Mana now regenerates synchronously to support new ManaRegenerateEvent
Bug Fixes:
- Fixed plugin disabling when loading skill data with an invalid format, added warning
- Fixed action bar and regeneration not working for all players when a player is in a disabled world
- Fixed action bar only displaying as white in some versions (requires ProtocolLib)
- Fixed level progression menu in progress item displaying incorrect xp needed to level up and percent
- Fixed wisdom description grammar
Version Alpha 1.4.2
New Features:
- Stat Modifiers:
- Stat modifiers add levels temporarily to a stat, and can be added/removed in a number of ways
- Stat modifiers do not persist between restarts and are not stored on file
- Every stat modifier has a name to identify it, the stat that it applies to, and a value for the amount levels it changes
- Stat modifiers can be interacted with directly using commands:
- /sk modifier add [player] [stat] [name] [value] <silent> - Adds a stat modifier to a player.
- /sk modifier remove [player] [name] <silent> - Removes a specific stat modifier for a player.
- /sk modifier list [player] <stat> - Lists all or a specific stat's modifiers for a player.
- /sk modifier removeall [player] <stat> <silent> - Removes all stat modifiers for a player.
- Item Modifiers:
- Stat modifiers can also be added to items, which will only apply when the item is held in a player's hand
- Item modifiers behave like regular stat modifiers, they are just attached to a specific item and automatically added/removed
- Item modifiers persist between restarts and are stored using NBT data on the item
- Option to automatically add lore that describes the stat modifier
- Commands:
- /sk item modifier add [stat] [value] <lore> - Adds an item stat modifier to the item held, along with lore by default.
- /sk item modifier remove [stat] <lore> - Removes an item stat modifier from the item held, and the lore associated with it by default.
- /sk item modifier list - Lists all item stat modifiers on the item held.
- /sk item modifier removeall - Removes all item stat modifiers from the item held.
- Armor Modifiers:
- Stat modifiers can also be added to armor, which will only apply when the item is worn
- Stored exactly like item modifiers
- Option to automatically add lore that describes the stat modifier
- Option to block certain materials from adding modifiers when interacting (blocks that don't equip armor when right clicked), most blocks that don't equip armor are already blocked internally, this adds the option to block more
- Works on skulls and heads too!
- Commands:
- /sk armor modifier add [stat] [value] <lore> - Adds an armor stat modifier to the item held, along with lore by default.
- /sk armor modifier remove [stat] <lore> - Removes an armor stat modifier from the item held, and the lore associated with it by default.
- /sk armor modifier list - Lists all armor stat modifiers on the item held.
- /sk armor modifier removeall - Removes all armor stat modifiers from the item held
- Added XP multiplier permissions:
- Use permissions to add XP multipliers for all skills!
- Format: aureliumskills.multiplier.<mulitply_percent>