Commit Graph

222 Commits

Author SHA1 Message Date
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
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
filoghost
4535e4a11f Cleanup 2020-08-14 17:17:45 +02:00
filoghost
9b07383a8e Improve automatic config updates 2020-08-14 17:17:45 +02:00
filoghost
20d9b94ea5 Rename variables 2020-08-14 17:17:45 +02:00
filoghost
f1d2ad353e Update settings header 2020-08-14 17:17:45 +02:00
filoghost
56742061bb Automatically update config files with legacy values 2020-08-14 17:17:45 +02:00
filoghost
d0cdf67e96 Renaming 2020-08-14 17:17:45 +02:00
filoghost
283fe8aa24 Refactoring 2020-08-14 17:17:45 +02:00
filoghost
9d30458c5f Refactoring: icon refresh improvements 2020-08-14 17:17:45 +02:00
filoghost
9e3f329ca0 Refactoring: remove hideAttributes 2020-08-14 17:17:45 +02:00
filoghost
8f098fc961 Refactoring 2020-08-14 17:17:45 +02:00
filoghost
2e2d6ad75f Remove unused method 2020-08-14 17:17:12 +02:00
filoghost
d9ef031ff1 Move classes 2020-08-14 17:17:12 +02:00
filoghost
ea4232f44d Refactoring 2020-08-14 17:17:12 +02:00
filoghost
31742879ec Refactor external plugin hooks 2020-08-14 17:16:52 +02:00
filoghost
090eec5509 Refactoring 2020-08-14 17:16:52 +02:00
filoghost
3aa6bcf7c6 Rename FormatException to ParseException 2020-08-14 17:16:52 +02:00
filoghost
99665821ec Refactoring: make actions use RelativeString 2020-08-14 17:16:52 +02:00
filoghost
b4817bb657 Require non-null and non-air material for icons 2020-08-14 17:16:52 +02:00
filoghost
f0474e1a62 Refactoring: RelativeString 2020-08-14 17:16:51 +02:00
filoghost
b497889650 Refactoring 2020-08-14 17:16:51 +02:00
filoghost
c31216f569 Use modifiable and nullable collections where possible 2020-08-14 17:16:51 +02:00
filoghost
e9bbbbdf89 Use list instead of array 2020-08-14 17:16:51 +02:00
filoghost
c6636890df Use immutable collections where possible 2020-08-14 17:16:51 +02:00
filoghost
e42edad8be Fix NPE 2020-08-14 17:16:51 +02:00
filoghost
c88a35cc0d Refactoring: Requirements class 2020-08-14 17:16:51 +02:00
filoghost
6300ae8870 Move method 2020-08-14 17:16:51 +02:00
filoghost
4e35757194 Rename utility class 2020-08-14 17:16:51 +02:00
filoghost
f667f967ea Create icon package 2020-08-14 17:16:51 +02:00
filoghost
da14e8bbc9 Refactor permission checking 2020-08-14 17:16:51 +02:00
filoghost
e9961833ae Move classes 2020-08-14 17:16:51 +02:00
filoghost
e4a29bae1f Refactoring 2020-08-14 17:16:51 +02:00
filoghost
2b0dbfb00c Change some class packages 2020-08-14 17:16:16 +02:00
filoghost
d1ab1fefc7 Rename data value to durability 2020-08-14 17:16:16 +02:00
filoghost
93724b5096 Refactoring 2020-08-14 17:16:16 +02:00
filoghost
27c05ece6a Cleanup 2020-06-11 18:29:09 +02:00
filoghost
a48121dbad Rename BungeeCordBridge 2020-06-11 18:24:58 +02:00
filoghost
37d46e6124 API improvements 2020-06-11 18:19:54 +02:00
filoghost
02b915021d Change method name 2020-06-07 20:57:45 +02:00
filoghost
f7fdca0d07 Remove unnecessary try-catch block 2020-06-07 20:49:35 +02:00
filoghost
ad009d5bc8 Initial API rework 2020-06-07 20:46:40 +02:00
filoghost
5282611ce5 Separate API in different module 2020-06-07 16:21:00 +02:00
filoghost
7132893423 Refactoring 2020-06-07 15:34:48 +02:00
filoghost
1da614aa29 Separate number parsing and refactoring 2020-06-07 15:31:23 +02:00
filoghost
0f999dbb5d Refactoring and move BukkitUtils to FileUtils 2020-06-07 15:10:22 +02:00
filoghost
d0d4be2b8f Move FormatException to correct package 2020-06-07 15:00:51 +02:00
filoghost
9020fafe81 Refactor ItemUtils, rename to ItemMetaParser 2020-06-07 15:00:01 +02:00
filoghost
80f1cca3d4 Refactor Validate class, rename to Preconditions 2020-06-07 14:39:54 +02:00
filoghost
e5591ed97c Refactoring 2020-06-07 14:22:25 +02:00
filoghost
0cb309d449 Refactoring 2020-06-07 13:57:40 +02:00
filoghost
c6461386d9 Refactor BoundItem 2020-06-07 13:53:57 +02:00
filoghost
8dc0a5dcdd Rename MenuData to MenuSettings 2020-06-07 12:57:12 +02:00
filoghost
85bdcd6408 Refactoring 2020-06-07 12:55:00 +02:00
filoghost
98ee458bc0 Use two separate listener levels for InventoryClickEvent 2020-06-07 12:52:39 +02:00
filoghost
d4463e6994 Refactoring 2020-06-07 12:38:31 +02:00
filoghost
e513505663 Cleanup 2020-06-07 12:24:02 +02:00
filoghost
40f0851884 Refactoring 2020-06-07 12:23:15 +02:00
filoghost
3fc9ad62d8 Remove console colors option 2020-06-07 11:59:18 +02:00
filoghost
d4d3df1232 Cleanup Registry 2020-06-07 11:56:57 +02:00