Commit Graph

423 Commits

Author SHA1 Message Date
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
filoghost
7755a4ab3e Use newer Java 7 File API where possible 2020-08-14 17:17:45 +02:00
filoghost
a8be658769 Close resources 2020-08-14 17:17:45 +02:00
filoghost
022040c81f Ensure plugin reloaders (or /reload) won't work 2020-08-14 17:17:45 +02:00
filoghost
f7fc2f2baa Refactoring 2020-08-14 17:17:45 +02:00
filoghost
e08bca7908 Extend Exception, not throwable 2020-08-14 17:17:45 +02:00
filoghost
cd80d4aaf2 Legacy upgrade refactoring, convert old placeholders 2020-08-14 17:17:45 +02:00
filoghost
dba12cba19 Rename and refactor custom placeholders configuration 2020-08-14 17:17:45 +02:00
filoghost
1aaba0eefb General cleanup 2020-08-14 17:17:45 +02:00
filoghost
0dab4c277d Use 4.0.0 as base version 2020-08-14 17:17:45 +02:00