Commit Graph

123 Commits

Author SHA1 Message Date
Artemis-the-gr8
772d59941d Rewrote ComponentFactory again, added ExampleMessage and HelpMessage as their own class 2022-07-01 20:44:27 +02:00
Artemis-the-gr8
bf571cb750 Removed isValid from StatRequest, turned some Components into Builders to reduce amount of redundant Component-making, added unit for distance-based stats (#75) 2022-07-01 11:13:21 +02:00
Artemis-the-gr8
5cf477614f Gave distance-, time- and damage-based statistics their own formatting (#75, #74, #73) 2022-06-30 15:10:52 +02:00
Elise
054c8b6d7c
Merge pull request #76 from itHotL/message-factory-rework
Message factory rework
2022-06-29 21:36:01 +02:00
Artemis-the-gr8
9949da4384 Improved reload process, excluded unnecessary files in pom.xml and deleted some unnecessary error throwing 2022-06-29 21:30:25 +02:00
Artemis-the-gr8
9ca234975b Made LanguageKeyHandler static, improved MyLogger, added a while statement in StatThread in an attempt to enable ReloadThread to kill it (#64), Re-enabled PrideComponentFactory 2022-06-29 17:11:43 +02:00
Artemis-the-gr8
82a0196214 Added PluginColor enum, rewrote help message (previous commit), messed with color scheme slightly, reworked isConsoleSender to be more Bukkit-specific 2022-06-29 14:09:19 +02:00
Artemis-the-gr8
b2bc509933 Finished rewrite of MessageWriter and ComponentFactory 2022-06-28 22:31:57 +02:00
Artemis-the-gr8
97b653a67a Started splitting MessageFactory into a MessageWriter and ComponentFactory 2022-06-28 17:39:53 +02:00
Artemis-the-gr8
6ddc543bd0 Moved subStatNameComponent method in MessageFactory up to be more consistent 2022-06-27 19:12:45 +02:00
Artemis-the-gr8
54c2f73e76 Removed double subStatName-check in MessageFactory (in missingSubStatName and wrongSubStatName) 2022-06-27 14:36:14 +02:00
Artemis-the-gr8
9a4ed4c3f6 Removed trailing enters 2022-06-27 14:21:35 +02:00
Artemis-the-gr8
6253627846 Reworked MessageFactory to work with a StatRequest, and reworked LanguageKeyHandler to only work with Enums. Now the only place a String is converted into an Enum is inside the StatCommand. Also added method isValid to StatRequest and changed selection to SERVER for "me" in console 2022-06-27 13:54:14 +02:00
Artemis-the-gr8
fcb5283982 Reworked everything to work with the statEnum instead of statName to limit the amount of string-to-enum/string-to-type actions, improved StatCommand (separated patching-request from validating-request and worked in immediate feedback instead of checking twice), renamed Query to Target and limited its method to only getters and setters, reduced amount of error-throwing-methods, cleaned up EnumHandler, switched to MyLogger in various places 2022-06-27 11:56:08 +02:00
Artemis-the-gr8
8ca928df57 Fixed negative number issue for real now (#71) and abstracted a method in TabCompleter 2022-06-25 20:52:50 +02:00
Elise
529be1c337
Update README.md 2022-06-25 10:52:15 +02:00
Elise
7a0bafdac1
Update README.md 2022-06-25 10:50:14 +02:00
Artemis-the-gr8
d8f1766ae8 Added screenshot of new number formatting 2022-06-24 16:59:30 +02:00
Artemis-the-gr8
5a8e638189 Added screenshot of translated text 2022-06-24 16:39:50 +02:00
Artemis-the-gr8
3926ddcceb Added config migration (#69), and upgraded version numbers for release v1.4! 2022-06-23 21:29:41 +02:00
Artemis-the-gr8
e8f17afa8f Added number formatting to display big numbers with commas (#70) 2022-06-23 20:31:40 +02:00
Artemis-the-gr8
b6be510462 Resolved styling issue (#67) and fixed server stat becoming negative (#66) 2022-06-23 19:24:43 +02:00
Artemis-the-gr8
8e0666bceb Put brackets around subStatNames (#65), made nicer default color scheme, fixed entityNames appearing twice (#68), half-fixed Style issues with stat/subStat Components (#67) 2022-06-23 17:30:52 +02:00
Artemis-the-gr8
d225b1e235 Finished toggle for TranslatableComponents (#57), rewrote non-translated stat/block/item/entity names and added more debug logging 2022-06-23 15:45:54 +02:00
Artemis-the-gr8
3e968232c6 Improved loading-speed for loading offlinePlayers (#63), fixed ban-list-filtering taking a long time (#61), started implementing MyLogger for more advanced debugging (#62) 2022-06-23 12:14:57 +02:00
Artemis-the-gr8
523fd589fb Removed "unknown" from list of entities (#58), added config options to keep the rainbow formatting and support for disabling translatable text (#56, #57) 2022-06-22 14:14:02 +02:00
Elise
c70bbce0f8
Merge pull request #55 from itHotL/multiple-language-support
Multiple language support
2022-06-22 11:40:24 +02:00
Artemis-the-gr8
304f4219c2 Everything is translatable now! (#54, #43) 2022-06-21 21:02:55 +02:00
Artemis-the-gr8
f1cda8a7dd Set up translatableComponents for all items, blocks, entities and custom statNames, and started working on killed/killed_by solution (#54, #43) 2022-06-21 17:35:46 +02:00
Artemis-the-gr8
effe7e5523 Experimented with NameSpacedKeys for entity/block/item/stat-names, got TranslatableComponents to work for everything except statNames 2022-06-21 10:49:07 +02:00
Artemis-the-gr8
1bf8acf6ee Made "/stat help" also display the usage explanation 2022-06-20 16:54:15 +02:00
Artemis-the-gr8
b316d6f3a5 Release v1.3! 2022-06-17 12:40:34 +02:00
Artemis-the-gr8
5790c697a3 More color experimentations 2022-06-16 22:51:04 +02:00
Artemis-the-gr8
f26a9d24b1 Started implementing more subtle rainbow decorations 2022-06-16 16:40:25 +02:00
Artemis-the-gr8
fc57f33e17 Started implementing more subtle rainbow decorations 2022-06-16 12:56:11 +02:00
Artemis-the-gr8
022fb7a519 Improved annotations and method descriptions, fixed some formatting bugs, added time-limiter for festive formatting, improved OfflinePlayerHandler's player-counting method, and set API version to 1.13 to increase compatibility (#50, #47, #40) 2022-06-15 15:32:56 +02:00
Artemis-the-gr8
1cd458732f Merge remote-tracking branch 'origin/main' 2022-06-15 01:08:31 +02:00
Artemis-the-gr8
7ef2094e79 Improved annotations and method names, experimented with MessageFactory related reload settings, looked into ways to improve config updates, and implemented ConfigUpdater (#48) 2022-06-15 01:08:00 +02:00
Artemis-the-gr8
61b9407fd4
Update README.md 2022-06-14 12:34:53 +02:00
Artemis-the-gr8
10ff9880ea
Update README.md 2022-06-14 12:30:15 +02:00
Artemis-the-gr8
8b34457f8b Added darker logo versions 2022-06-14 12:28:27 +02:00
Artemis-the-gr8
6674fc5395 Updated the logo, updated Adventure, and started implementing festive formatting 2022-06-14 12:09:59 +02:00
Artemis-the-gr8
cd960443af Updated a screenshot 2022-06-08 22:00:52 +02:00
Artemis-the-gr8
85dce32ba8
Merge pull request #46 from itHotL/1.19
1.19
2022-06-08 21:06:14 +02:00
Artemis-the-gr8
1484ebb912 Release v1.2.1! Set hover-text to false by default for 1.19-R01-SNAPSHOT and true for other versions 2022-06-08 21:05:24 +02:00
Artemis-the-gr8
bf3feda8cc Reworked usage-message to account for lack of hover text 2022-06-08 17:21:42 +02:00
Artemis-the-gr8
28da2e95cb Small config change 2022-06-08 01:39:39 +02:00
Artemis-the-gr8
aa4c53b5ba Release v1.2! 2022-06-08 01:35:08 +02:00
Artemis-the-gr8
b117c2b88a
Merge pull request #45 from itHotL/performance
Performance
2022-06-07 16:04:26 +02:00
Artemis-the-gr8
e2aa7374a3 Renamed CommandOption to Query, reworked StatRequest to work with the new Query-enum, and minor bug-fixes 2022-06-07 16:03:55 +02:00