Commit Graph

275 Commits

Author SHA1 Message Date
HaHaWTH 5186d09116 Revert some changes 2024-06-18 16:17:03 +08:00
HaHaWTH 253822a056 Merge remote-tracking branch 'origin/master' 2024-06-11 07:28:59 +08:00
HaHaWTH 0fcc45039d Add openInventory method to API 2024-06-11 07:28:13 +08:00
Dreeam d9c89e1dc6 Remove locale data from locale map when player quit to save mem 2024-06-10 06:15:48 +08:00
DGun Otto f7d83f1459 Merge pull request #155 from Dreeam-qwq/feat/i18n
i18n messages sending support
2024-06-03 23:55:23 +08:00
Dreeam fbf5f32415 Instantly return null if didn't receive locale packet before calling messages sending method 2024-06-03 20:04:54 +08:00
Dreeam e922422922 Adjust code style 2024-06-03 19:58:44 +08:00
HaHaWTH 3e56aacb4e Improved inventory whitelist check & prepare for better MiniMessage support 2024-06-03 00:21:03 +08:00
Dreeam a8e18d1bb8 Decrease timeout limit to prevent main thread waiting too long 2024-06-02 21:19:52 +08:00
Dreeam 32ed70f099 Use Protocollib to get locale packet for lower server version (< 1.15.2) 2024-06-02 18:59:27 +08:00
Dreeam 100805da8b Merge branch 'master' into feat/i18n 2024-05-31 20:36:27 +08:00
Dreeam 0679087e53 Try to reduce complexity 2024-05-31 20:23:47 +08:00
Dreeam b6476dcb79 Revert 2024-05-31 20:17:02 +08:00
DGun Otto 18ab6623ff Support for latest Leaves 2024-05-31 02:24:22 +08:00
HaHaWTH 42e907580c Async teleport is now default >v< 2024-05-30 22:15:21 +08:00
Dreeam e8010782fd Cleanup reflection 2024-05-30 01:39:40 +08:00
Dreeam 4e54d86712 Fix getting locale in lower version client by delaying message sending 2024-05-30 01:21:57 +08:00
Dreeam fdc0d31632 Fix reflect error 2024-05-30 00:27:38 +08:00
Dreeam 0d903d23b0 Add strict locale-code-redirect config format check 2024-05-29 23:20:34 +08:00
Dreeam e79036d42f Revert "[ci skip] Try to decrease complexity"
This reverts commit 39e94c6ea7.
2024-05-29 23:06:47 +08:00
Dreeam 39e94c6ea7 [ci skip] Try to decrease complexity 2024-05-29 23:04:58 +08:00
Dreeam 0c10cb0ead Fix code style 2024-05-29 22:55:19 +08:00
Dreeam 89817d420c Move utils to I18NUtils 2024-05-29 20:34:27 +08:00
Dreeam c53f622e94 Cleanup 2024-05-29 20:19:33 +08:00
Dreeam eb43dc3960 Clean up locale to language code matching 2024-05-29 18:59:41 +08:00
Dreeam 6001ee6979 Add configurable locale code to AuthMe language code redirect 2024-05-29 18:46:57 +08:00
Dreeam d09e545554 Add hard mapping to convert to AuthMe language code from locale code 2024-05-29 17:07:30 +08:00
Dreeam 2219dd55dd Intial i18n messages support
Send different languages of messages based on player's client setting
2024-05-29 00:11:25 +08:00
HaHaWTH 583a275100 Exclude bungee-chat
Nothing uses this lol
2024-05-28 14:20:31 +08:00
HaHaWTH 9e208532d3 Initial MiniMessage support 2024-05-27 04:56:50 +08:00
HaHaWTH a93f0546e3 Leaves compatibility 2024-03-28 07:39:29 +08:00
HaHaWTH 5f89964f49 Fix fakePlayers of Leaves NPE error 2024-01-29 22:52:54 +08:00
HaHaWTH 14e5b7d5a7 Delete FormUtils.java 2023-12-09 21:49:07 +08:00
HaHaWTH 9eb4df5ceb remove debugger 2023-12-09 20:19:12 +08:00
HaHaWTH 16c0a8a81b debugger 2023-12-09 20:17:57 +08:00
HaHaWTH 7fa7d17ba6 Add javadoc for 3rd party features 2023-12-09 20:12:33 +08:00
HaHaWTH 54dfde335a Update 2023-12-08 11:01:56 +08:00
HaHaWTH a542a35eba Add FormUtils for advanced bedrock experience 2023-12-01 00:01:29 +08:00
HaHaWTH 22b8b6bf64 Cleanup 2023-11-19 12:04:46 +08:00
HaHaWTH 11a4cff10a Revert changes 2023-11-04 18:42:55 +08:00
HaHaWTH 628d5adcb5 MapUtils 2023-11-04 18:31:36 +08:00
HaHaWTH 1c090a5a65 Update TeleportUtils 2023-10-21 00:11:56 +08:00
HaHaWTH 3f6a7ce48f Sync repo files to b22 2023-09-20 02:15:22 +08:00
HaHaWTH ed320196fe Remove all files 2023-09-20 02:10:19 +08:00
HaHaWTH 7e49e26735 reupload files 2023-07-11 20:45:01 +08:00
HaHaWTH b014da245d Del all files 2023-07-11 20:42:24 +08:00
ljacqu 9fd532d798 Minor: Rename StringUtils#isEmpty to #isBlank
- Better fits the naming used by other tools and also the JDK (String#isBlank as of JDK 11)
2022-12-30 08:44:29 +01:00
Gabriele C 06be8ea6f4 Port thread safety/performance optimizations from #1992 2020-06-26 22:23:50 +02:00
ljacqu d87fa860e6 Add test for UuidUtils 2019-08-06 19:42:06 +02:00
ljacqu c34f00f759 #1874 Introduce individual ConsoleLogger instance per class (#1875)
* #1874 Introduce individual ConsoleLogger instance per class
- Create ConsoleLoggerFactory from which a separate logger can be created for each class
- Allows to support individual log level settings in the future

* Fix CodeStyle issue

* Replace full class name with import

* Update usages after merge from master
2019-08-06 15:15:16 +02:00