Commit Graph

29 Commits

Author SHA1 Message Date
HaHaWTH a4312fdb51 Remove relocation 2024-07-23 09:35:14 +08:00
HaHaWTH cadd5ddb24 throw ClassCastException 2024-07-23 01:48:23 +08:00
HaHaWTH 2d10e77b6c Support for kick message 2024-07-23 01:37:20 +08:00
HaHaWTH 3b6160c91f Support for kick message 2024-07-23 00:51:48 +08:00
HaHaWTH 8df6a008c8 replace direct char references with constants
Replace direct references to the '§' and '&' chars with named constants
to improve code readability and maintainability within the MiniMessageUtils
class
2024-07-22 15:31:05 +08:00
HaHaWTH 2b8450f27e Convert manually 2024-07-22 15:15:25 +08:00
HaHaWTH 58f8176dae Bukkit Audience 2024-07-22 14:29:02 +08:00
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 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
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