Commit Graph

37 Commits

Author SHA1 Message Date
ChomeNS
7cd77fe850 refactor: use the built-in adventure LegacyComponentSerializer extractUrls in the serializer builder
still does not fix `&d` leaking and breaking the click event and shit
2025-04-10 13:41:20 +07:00
ChomeNS
49209ab8b4 fix: process translation formats the same way as minecraft 2025-04-10 07:29:30 +07:00
ChomeNS
ed4e7573a9 refactor: use final on basically everything
i'm kinda tired of the inconsistency since some stuff are non-final and some are final so i just made everything final, not sure how much it impacts on stuff but everything should be fine, there were around 1,400 replacements according to the idea code analyzer
2025-04-09 17:05:11 +07:00
ChomeNS
82aec3869b fix: essentials message component parsing being completely white, no colors at all
section sign parsing is also kinda broken i guess
2025-04-08 20:04:46 +07:00
ChomeNS
37326ede51 fix: FINALLY fix chat parser styles leaking !!!
still a lot of duplicate/redundant/unnecessary codes though, might want to optimize them later
2025-04-07 17:59:42 +07:00
ChomeNS
572d175c17 fix: fix keybind component !!! 2025-04-07 16:35:09 +07:00
ChomeNS
1a2d9c136c refactor: improve NamedTextColor and style getting in ComponentUtilities 2025-04-07 15:27:29 +07:00
ChomeNS
2fd205bd61 refactor: run Code Inspection and fix most of the warnings 2025-04-01 10:15:50 +07:00
ChomeNS
90323d3552 refactor: Reformat Code with chome NS code style !!!
too lazy to export it somewhere, if you need it feel free to ask me
2025-04-01 09:58:31 +07:00
ChomeNS
2196e822d5 feat: support ANSI color/styles in discord reply and also some refactors in ComponentUtilities 2025-03-31 10:48:11 +07:00
ChomeNS
e68f4c874c fix: tld length in url regex
according to a random stackoverflow answer DNS allows 1 - 63 range.
2025-03-30 18:22:57 +07:00
ChomeNS
56aae42a94 feat: support URL in discord, netmsg, and console
feat: support copy to clipboard on NetMessageCommand messages
2025-03-30 17:18:35 +07:00
ChomeNS
3684cde6a7 refactor: make console ANSIs look the EXACT SAME as in minecraft (uses rgb) 2025-02-21 11:52:41 +07:00
ChomeNS
2912e6c9c7 refactor: better way to patch HUGE_TRANSLATOR without also breaking other things 2025-02-21 11:28:54 +07:00
amyavi
b73940453d refactor: adventure-ify colorutilities 2025-01-18 14:22:54 -03:00
ChomeNS
6a524a6595 fix: lazily fix integer overflow on translate placeholder %6942000000000000$s 2025-01-08 17:10:20 +07:00
ChomeNS
793b1538a0 feat: ACTUALLY print the errors using the thing i did in the commit before this 2025-01-06 17:54:35 +07:00
ChomeNS
693cfe0f42 fix: reset on end parse (ComponentUtilities.ComponentParser) 2025-01-03 18:27:28 +07:00
ChomeNS
1acc0fdbfd fix: 95% WORKING PARSER NOW YAY (styles still get stuck sometimes) 2025-01-03 14:32:38 +07:00
ChomeNS
8948d04495 fix: a bit of update but still not fully fix. 2024-12-29 12:19:44 +07:00
ChomeNS
052e57a799 refactor: rewrite ComponentUtilities component parser (still a bit broken but at least a bit better on the codestyle side) 2024-12-28 17:55:04 +07:00
ChomeNS
9c75b6309f refactor: use Component.equals on bossbar title checking and new placeholder title 2024-12-28 13:38:57 +07:00
ChomeNS
c1efc1c3d5 refactor: use switch-case in stringPartially in ComponentUtilities (now the bot requires java >= 21) 2024-12-17 18:44:53 +07:00
ChomeNS
7e42a5cf43 fix: even more ansi color fix, but now it's section sign color codes 2024-12-14 17:16:54 +07:00
ChomeNS
e9de7eb801 fix: ansi extra depth color fix (thanks Yaode_owo for mentioning) 2024-12-14 17:08:49 +07:00
ChomeNS
1ebb798077 feat: max translate depth (messy !) 2024-12-01 14:32:52 +07:00
ChomeNS
651db6c8ce fix: fix the fix that actually caused more problems 2024-11-30 14:10:35 +07:00
ChomeNS
a942cfd557 refactor: improve how the bot loads plugins 2024-11-17 16:37:05 +07:00
ChomeNS
832a391ad0 refactor: remove the englishLanguage.json 2024-11-15 19:59:27 +07:00
ChomeNS
a9fb768795 fix: update languages and fix keybind parsing 2024-11-15 18:07:04 +07:00
ChomeNS
c738a37948 "fix": this seems to do nothing 2024-11-14 18:43:57 +07:00
ChomeNS
4b2b1e9e1a fix: cool 2024-11-11 20:34:10 +07:00
ChomeNS
b1dc8dfc7c Add fallback on translate (ComponentUtilities) 2024-10-30 19:02:11 +07:00
ChomeNS
f1c98135a2 1.21 + a LOT of fixies and a bit of optimization. WorldPlugin is still broken with some debug lines 2024-10-06 20:46:51 +07:00
ChomeNS
837fe388bb rename group 2024-10-06 17:36:42 +07:00
ChomeNS
fbf9f3e2f1 change to land.chipmunk.chayapak because yes 2023-03-27 12:53:05 +07:00
ChomeNS
6e2eb9ec74 change chomens bot namespace yup 2023-03-24 09:04:55 +07:00