Commit Graph

205 Commits

Author SHA1 Message Date
filoghost
aee7dda5b1 Handle missing values 2020-08-14 17:17:49 +02:00
filoghost
dd04a1efbb Add empty ConfigSection 2020-08-14 17:17:49 +02:00
filoghost
03a0ab30af Refactor legacy upgrades 2020-08-14 17:17:49 +02:00
filoghost
e1256acd85 Fix NPE 2020-08-14 17:17:49 +02:00
filoghost
a14099b88a Use section for custom placeholders 2020-08-14 17:17:49 +02:00
filoghost
f92a0eb07b Use https for repository 2020-08-14 17:17:49 +02:00
filoghost
70bced7672 Add missing copyright headers 2020-08-14 17:17:49 +02:00
filoghost
edc682d87e Refactor configuration 2020-08-14 17:17:49 +02:00
filoghost
2ea3266a19 Refactor ActionParser 2020-08-14 17:17:49 +02:00
filoghost
92310bc4ab Refactor ItemSettings 2020-08-14 17:17:48 +02:00
filoghost
a1c7f9d24d Simplify class 2020-08-14 17:17:48 +02:00
filoghost
b922b62556 Refactor placeholders 2020-08-14 17:17:48 +02:00
filoghost
7572240fb3 Improve custom placeholders handling 2020-08-14 17:17:48 +02:00
filoghost
a86e3a6951 Make methods in ChestCommands class static 2020-08-14 17:17:48 +02:00
filoghost
cf8e5da6bf Refactoring 2020-08-14 17:17:48 +02:00
filoghost
6a00d49e06 Change backups folder name and add "readme.txt" 2020-08-14 17:17:48 +02:00
filoghost
e9f710a1d3 Fix menu upgrade 2020-08-14 17:17:48 +02:00
filoghost
1e0c4caecc Improve automatic configuration upgrades 2020-08-14 17:17:48 +02:00
filoghost
d13f3ec68f Fix automatic menu upgrade 2020-08-14 17:17:48 +02:00
filoghost
354a62b2c5 Unify copyright notices 2020-08-14 17:17:48 +02:00
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
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
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
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
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