Commit Graph

382 Commits

Author SHA1 Message Date
filoghost
8e0356427d Multiple renames 2020-08-14 17:17:48 +02:00
filoghost
527e95261a Improve fatal error logging 2020-08-14 17:17:47 +02:00
filoghost
207a2c59fc Improve fatal error logging in onEnable 2020-08-14 17:17:47 +02:00
filoghost
98e768a1f9 Small refactoring 2020-08-14 17:17:47 +02:00
filoghost
01a04d19ff Log errors at loading time, display a recap at startup end 2020-08-14 17:17:47 +02:00
filoghost
f7bb6a1c63 Cleanup 2020-08-14 17:17:47 +02:00
filoghost
adfdd5b72d Error logging refactoring 2020-08-14 17:17:47 +02:00
filoghost
cfac51bcf4 Placeholders refactoring 2020-08-14 17:17:47 +02:00
filoghost
1379ce344a Fix NullPointerException 2020-08-14 17:17:47 +02:00
filoghost
556ef481a2 Improve menu upgrades 2020-08-14 17:17:47 +02:00
filoghost
05cba09a49 Add lang.yml upgrade 2020-08-14 17:17:47 +02:00
filoghost
b60bba9aab Remove utilities private constructors 2020-08-14 17:17:47 +02:00
filoghost
58fee17358 Only get top level sections for menu upgrades 2020-08-14 17:17:47 +02:00
filoghost
d934242503 Add missing header 2020-08-14 17:17:47 +02:00
filoghost
dd3e5aa89b Add ItemInventory to ClickHandler 2020-08-14 17:17:47 +02:00
filoghost
7ff586e3b3 Add method to refresh all open inventories of a menu 2020-08-14 17:17:47 +02:00
filoghost
73ae9b45c0 Add methods to ItemInventory 2020-08-14 17:17:47 +02:00
filoghost
58bdf388bf Large configuration refactoring 2020-08-14 17:17:47 +02:00
filoghost
dfc060fdcd Fix startup error 2020-08-14 17:17:47 +02:00
filoghost
25e7dbbaf7 Internally rename "variables" to "placeholders" 2020-08-14 17:17:47 +02:00
filoghost
035b445418 Use ticks as unit for menu refreshing 2020-08-14 17:17:46 +02:00
filoghost
4040e60307 Use Preconditions in API 2020-08-14 17:17:46 +02:00
filoghost
7241a39a91 Separate Utils module 2020-08-14 17:17:46 +02:00
filoghost
fc97595d80 Move and rename methods and classes 2020-08-14 17:17:46 +02:00
filoghost
863ef85c50 Fix default configurations not being created properly 2020-08-14 17:17:46 +02:00
filoghost
41fcd9540d API refactoring 2020-08-14 17:17:46 +02:00
filoghost
f0aa5347ee Rename methods 2020-08-14 17:17:46 +02:00
filoghost
decb0eb039 Rename and move classes and methods 2020-08-14 17:17:46 +02:00
filoghost
36d74db7ec Fix required items message 2020-08-14 17:17:46 +02:00
filoghost
1f2582283f Use Optional in Registry.find() 2020-08-14 17:17:46 +02:00
filoghost
27de1c76c6 Check negative amounts 2020-08-14 17:17:46 +02:00
filoghost
ff9f53adcd Refactoring 2020-08-14 17:17:46 +02:00
filoghost
56f7dfe15e Use final fields where possible 2020-08-14 17:17:46 +02:00
filoghost
e41c9b0832 Rewrite attribute parsing 2020-08-14 17:17:46 +02:00
filoghost
f619bed5bc Rewrite default custom-placeholders.yml and add example in menu 2020-08-14 17:17:46 +02:00
filoghost
3a6b5501be Fix default config loading 2020-08-14 17:17:46 +02:00
filoghost
1f389febf1 Fix error messages 2020-08-14 17:17:46 +02:00
filoghost
1e25963c06 Fix internal jar paths 2020-08-14 17:17:46 +02:00
filoghost
b265d57858 Refactoring: use a ConfigManager 2020-08-14 17:17:46 +02:00
filoghost
ac0ccb34ef Rename variable 2020-08-14 17:17:46 +02:00
filoghost
460ca0c320 Minor refactoring 2020-08-14 17:17:46 +02:00
filoghost
c053d6e2a6 Use constants for config nodes 2020-08-14 17:17:45 +02:00
filoghost
e1195ff697 Minor refactoring 2020-08-14 17:17:45 +02:00
filoghost
2ed12d4a6c Small cleanup 2020-08-14 17:17:45 +02:00
filoghost
548f94ec10 Refactoring 2020-08-14 17:17:45 +02:00
filoghost
fef2ef952d Refactor config loading 2020-08-14 17:17:45 +02:00
filoghost
4453e5f560 Improve CaseInsensitiveMap 2020-08-14 17:17:45 +02:00
filoghost
8ded5c3a22 Remove header in converted menus 2020-08-14 17:17:45 +02:00
filoghost
351ff6643f Remove unused class 2020-08-14 17:17:45 +02:00
filoghost
f5fc761055 Improve logging 2020-08-14 17:17:45 +02:00