Commit Graph

258 Commits

Author SHA1 Message Date
Artemis-the-gr8
fa0667f26a Updated documentation 2023-02-26 12:40:48 +01:00
Artemis-the-gr8
18bf8a56a7 Added method to API to check whether a player is on the exclude-list 2023-02-25 14:32:36 +01:00
Artemis-the-gr8
18ac4ecf00 Updated version number in plugin.yml, and made API #getVersion read the value from the plugin description and return the major version number only 2023-02-23 13:49:23 +01:00
Artemis-the-gr8
4a67dfef10 Moved some logic out of StatRequest to keep API and core separated 2023-02-10 12:53:04 +01:00
Artemis-the-gr8
e8cf9ade47 Added feedback for /stat commands with excluded player targets (#88), fixed bug (#128) 2023-02-06 15:50:02 +01:00
Artemis-the-gr8
3dd43d3a8d Finished clean-up after merging the updated main branch into v2.0 2023-02-06 12:26:03 +01:00
Artemis-the-gr8
6298bf075c Merged locale-bugfix into v2.0 2023-02-06 12:16:34 +01:00
Artemis-the-gr8
991ab06f9f Merge branch 'main' into v2.0
# Conflicts:
#	src/main/java/com/artemis/the/gr8/playerstats/commands/TabCompleter.java
#	src/main/java/com/artemis/the/gr8/playerstats/commands/cmdutils/TabCompleteHelper.java
#	src/main/java/com/artemis/the/gr8/playerstats/core/msg/msgutils/LanguageKeyHandler.java
#	src/main/java/com/artemis/the/gr8/playerstats/msg/msgutils/StringUtils.java
2023-02-06 12:10:16 +01:00
Artemis-the-gr8
4e945ad0b5 Changed all #toLowerCase and #toUpperCase methods to use English Locale instead of default 2023-02-01 15:12:33 +01:00
Artemis-the-gr8
bf35582b13 Added way to get excluded player with corresponding config setting (#128, #129) 2022-12-06 20:29:04 +01:00
Artemis-the-gr8
a6e15828c1 Changed accent color for exclude-info-msg and removed unnecessary plugincolor 2022-12-05 15:43:49 +01:00
Artemis-the-gr8
89c2a0f85f Small formatting fix 2022-11-25 14:14:53 +01:00
Artemis-the-gr8
520f83bb60 Added output for /statexclude list command, and feedback for add/remove (#88) 2022-11-23 17:37:19 +01:00
Artemis-the-gr8
11185468ff Removed test command (#127) 2022-11-09 16:41:56 +01:00
Artemis-the-gr8
9b62828c04 Refined and completed the new decorations 2022-11-09 13:11:41 +01:00
Artemis-the-gr8
a12521e529 Added more festive decorations and wrote test method to see and compare them in-game 2022-11-03 16:35:45 +01:00
Artemis-the-gr8
7a48e59049 Added formatDefaultNumber to StatNumberFormatter for API 2022-11-02 13:33:31 +01:00
Artemis-the-gr8
c4b963a057 Separated internal code from api code to improve future maintainability 2022-11-01 14:18:25 +01:00
Artemis-the-gr8
fc1ac7c07e Improved rainbow theme 2022-10-29 13:45:39 +02:00
Artemis-the-gr8
a43a4e5d16 Added Halloween decorations 2022-10-29 13:16:59 +02:00
Artemis-the-gr8
2d5e9d4515 Removed unnecessary name colors in PluginColor 2022-10-28 12:11:36 +02:00
Artemis-the-gr8
260fad2d4a Made sharerName have a random rainbow gradient in rainbow mode 2022-10-28 12:00:26 +02:00
Artemis-the-gr8
d5c1c44841 Wrote exclude info message and added more rainbow easter eggs 2022-10-27 18:09:34 +02:00
Artemis-the-gr8
c7a6160cc8 Started working on feedback (#88, #51) 2022-10-26 21:20:22 +02:00
Artemis-the-gr8
f69367cb31 The exclude function now works completely, the only thing left is give fancier feedback (#88) 2022-10-26 12:59:10 +02:00
Artemis-the-gr8
da49c46539 Worked on transforming playerNames into UUIDs and vice versa for the ExcludeCommand (#88) 2022-10-23 17:37:38 +02:00
Artemis-the-gr8
e158b4480d Made ConfigHandler, LanguageKeyHandler, OfflinePlayerHandler and EnumHandler into singletons, merged RequestProcessor into RequestManager and wrote TabComplete logic (#88) 2022-10-21 17:34:08 +02:00
Artemis-the-gr8
6c9e8b2b9d Fixed StringUtils bug (#125) 2022-10-21 12:37:53 +02:00
Artemis-the-gr8
fc759da100 Added TabCompleter for ExcludeCommand, moved command initializing to its own method in Main, and fixed bug where commandsender wasn't set for internal StatRequests (#88) 2022-10-20 15:58:30 +02:00
Artemis-the-gr8
51a9140a9a Added ExcludeCommand and added methods for excluding players/checking exclude status in OfflinePlayerHandler (#88) 2022-10-19 13:17:02 +02:00
Artemis-the-gr8
ca63eca1a0 Gathered the request-rewrite and pre-work for excluding players into new branch for v2.0 2022-10-18 14:41:55 +02:00
Artemis-the-gr8
eca25980e5 Moved implementation of the API interface to the Main class 2022-10-16 15:39:28 +02:00
Artemis-the-gr8
abf85b3948 Separated request-generating from request-executing to keep all execute-logic within the statistic package (#114) 2022-10-16 15:23:13 +02:00
Artemis-the-gr8
03efe136b0 Moved all arg-analyzing to StatCommand and got rid of InternalStatRequest (#114) 2022-10-15 17:34:52 +02:00
Artemis-the-gr8
b1c015e156 Started to move arg-processing to StatCommand after testing (feedback is no longer working with the increased StatRequest conditions of what settings are accepted) 2022-10-14 16:40:39 +02:00
Artemis-the-gr8
d16e6db036 Separated responsibility of OutputManager and ShareManager and made the RequestProcessor handle the StatRequest executing (#114) 2022-10-12 16:23:06 +02:00
Artemis-the-gr8
31713007f5 Reworked InternalStatRequest and the other classes dealing with StatRequests (#114) 2022-10-11 13:08:11 +02:00
Artemis-the-gr8
b46a25d23f Merged different StatResult classes into one typed record 2022-10-07 19:48:37 +02:00
Artemis-the-gr8
e4fca5a0c8 Rewrote StatCommand logic, got rid of RequestSettings and RequestHandler and instead made InternalStatRequest to mirror the other StatRequest classes 2022-10-07 17:45:56 +02:00
Artemis-the-gr8
56dc30830a Started a rewrite to make the request-business more clear and better organized 2022-10-05 17:24:51 +02:00
Artemis-the-gr8
e30bc5efd2 Removed unnecessary method from BukkitConsoleComponentFactory, minor annotation improvements 2022-10-05 14:20:12 +02:00
Artemis-the-gr8
2c7717a20c Fixed language bugs (#123), improved LanguageKeyHandler, ComponentUtils and StringUtils 2022-10-04 16:48:09 +02:00
Artemis-the-gr8
9ac77a365b Separated initial plugin set-up from reloading and organized responsibilities better for the OfflinePlayerHandler, ThreadManager and the classes implementing FileHandler 2022-10-03 15:40:45 +02:00
Artemis-the-gr8
3417233dec Started working on exclude file (#88) and made file-reloading/updating more organized with an abstract FileHandler 2022-10-02 15:19:51 +02:00
Artemis-the-gr8
9942d6fea5 Fixed stat-name for Deaths (#121) 2022-08-28 17:04:14 +02:00
Artemis-the-gr8
667d695c75 Small documentation fix 2022-08-28 16:32:53 +02:00
Artemis-the-gr8
d1cb3d37c9 Improved documentation, (#120) 2022-08-28 15:17:16 +02:00
Artemis-the-gr8
c713879312 Added #getVersion() for reflection, moved lib folder (#120) 2022-08-22 21:21:33 +02:00
Artemis-the-gr8
928aae3173 Added another formatting method to the API 2022-08-20 21:17:14 +02:00
Artemis-the-gr8
73c7fd8445 Small bug fix (API didn't follow config-settings for use-dots) 2022-08-19 18:43:30 +02:00