Commit Graph

205 Commits

Author SHA1 Message Date
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
filoghost
15a6774ace Refactoring 2020-06-07 11:55:09 +02:00
filoghost
76b1fc6b8d Unify Enum parsing 2020-06-07 11:41:52 +02:00
filoghost
5b4d011fb2 Refactoring 2020-06-06 22:43:51 +02:00
filoghost
f37cad5185 Move classes 2020-06-06 21:37:17 +02:00
filoghost
6261c318b0 Separate variables in new package 2020-06-06 21:23:19 +02:00
filoghost
7410d89f3c Code cleanup 2020-06-06 20:28:44 +02:00
filoghost
6bd1e9d3f9 Improve SignListener 2020-06-06 20:21:38 +02:00
filoghost
123bedfbd8 Refactoring 2020-06-06 11:50:54 +02:00
filoghost
5afcca3682 Formatting 2020-06-06 11:17:05 +02:00
filoghost
71439303b9 Use new scheduler methods 2020-06-06 11:04:58 +02:00
filoghost
e04394f15f Code cleanup 2020-06-06 11:02:49 +02:00
filoghost
f06ebd46ed Remove unused methods and reduce method visibility where possible 2020-06-06 10:45:01 +02:00
filoghost
e4e3d74969 Rename "serializers" to "parsers" 2020-06-06 10:36:07 +02:00
filoghost
418b1a60c3 Remove bad option "use-only-commands-without-args" 2020-06-06 10:32:01 +02:00
filoghost
ae37d54d10 Fully rename "click commands" to "actions" 2020-06-06 10:28:18 +02:00
filoghost
1bfa684658 Clarify regex 2020-06-06 10:10:34 +02:00
filoghost
73c338ea88 Improve command parsing 2020-06-06 10:08:02 +02:00