ChomeNS
e53c726afe
feat: add chat packet types [S] [P] [D] to logger and console, but not discord, irc, nor any other places to save space since they have limited message length
2025-07-26 07:48:36 +07:00
ChomeNS
7e5d3c8fc8
fix: race condition in ChatPlugin event dispatching
2025-05-29 20:10:49 +07:00
ChomeNS
0f28e8c900
fix: make the events work with new adventure and improve SNBTUtilities a bit
2025-05-19 18:39:18 +07:00
ChomeNS
b4f0958202
feat: finally use adventure component serializers for component parsing (ComponentUtilities)
...
there is an issue with the legacy code parsing where it doesn't reset the styles when there's a color code, but that is since the old parser, it's not that important but just something to note
similar thing goes to discord message deserialization, the style goes first then the color, but for the style to be displayed in minecraft, the color has to go first then the style. an example will be like: `§l§c[§cOP§c] §r§c§r§cchayapak§r: abc`, the `l` and `c` should be swapped
hex colors also didn't get rounded correctly for some reason. my custom chat format is completely white in discord, although minimessage rainbow and gradients works perfectly fine, which is very weird, maybe it thinks my custom chat format looks white
2025-05-18 19:52:43 +07:00
ChomeNS
2e382da7c3
feat: ignore the extras clear chat message
2025-05-06 08:33:51 +07:00
ChomeNS
9aea972690
refactor: make self-care modular !!! (finally no more messy ahh shit)
...
refactor: use update time packet from the server to check for self-care
2025-05-05 14:02:52 +07:00
ChomeNS
a01f749577
refactor: use fastutil 💨 💨 💨
...
i hope i didn't miss some things
2025-05-02 15:00:31 +07:00
ChomeNS
a7f6cac49b
feat: support styles in chat types + fix memory leak for chat types 💀
...
took longer than i thought because i was dumb :(
2025-04-29 20:43:57 +07:00
ChomeNS
7b6f50cfab
fix: ignore overlay messages
2025-04-27 08:37:11 +07:00
ChomeNS
b1925edf00
refactor: make some constant things that are List immutable by using List.of()
2025-04-23 16:15:17 +07:00
ChomeNS
2ab3a4322a
refactor: use java 21 switch case ahh thing for packet checking
2025-04-23 15:20:29 +07:00
ChomeNS
db56afd319
feat: initial 1.21.5 with adventure still not being updated
2025-04-22 15:34:02 +07:00
ChomeNS
decd15a926
refactor: have global Listener interface instead of creating one in each plugin
...
not sure how much this improves the code, readability and/or the performance but i hope they are better
2025-04-16 15:34:20 +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
80aec4fca8
fix: hopefully patch chinese chat crash (idk)
...
refactor: rename `addPlural`
2025-04-08 19:35:38 +07:00
ChomeNS
31ace7334e
refactor: disallow some chat packet types for some commands
2025-04-08 09:08:59 +07:00
ChomeNS
5e06c7cf8b
refactor: drop support for creayun since shit is getting messy with it
2025-04-07 08:05:07 +07:00
ChomeNS
ae91b3d78b
fix: make chat splitting 4x faster which fixes *eval run bridge.chat('a'.repeat(69420)) along with all chat issues chat splitting all things FIXED.
2025-04-06 08:39:36 +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
bb0900eeb6
refactor: make packetReceived listeners private
...
Intelligent IDEA Replacing Feature.
2025-03-31 16:55:52 +07:00
ChomeNS
3ee759211b
refactor: correct way to get the target (i didn't know the server sends it)
2025-03-31 14:59:45 +07:00
ChomeNS
50addd1abd
fix: /msg outgoing message target fix
...
fix: forgor to merge the namespace remover with the one moved to StringUtilities lol
2025-03-28 20:34:12 +07:00
ChomeNS
517e685c8d
refactor: attempt to make the bot more thread-safe (specifically the core)
2025-03-27 18:21:16 +07:00
ChomeNS
bfbed35c06
feat: use chat types from registry & some other refactors in ChatPlugin
...
past me didn't know that you don't have to define `bool` shit
2025-03-24 10:37:18 +07:00
ChomeNS
0a8efe0189
refactor: make listeners an interface
...
(except the one in Bot, which extends MCProtocolLib's SessionAdaptor, not sure how exactly make them complement)
2025-03-23 14:18:55 +07:00
ChomeNS
210dd7aaa1
fix: some fixes to make the bot work on bagel fabric kaboom clone and also vanilla servers
...
can't believe that paragraph in InfoCommand was wrong the whole time ("works on vanilla servers too")
2025-03-22 11:39:00 +07:00
ChomeNS
d75e04b2d3
fix: lazy fix for the arabica kind of kaboom clone
2025-03-12 07:49:44 +07:00
ChomeNS
e1c04f89a9
refactor: optimize the bot by at least a little bit
2025-03-05 15:06:35 +07:00
ChomeNS
d44a29528c
refactor: organize stuff in data package
2025-02-19 16:15:05 +07:00
ChomeNS
7c861e1869
refactor: use the new latest getFirst() instead of get(0)
2025-01-06 19:46:03 +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
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
54c0efb447
fix: incoming /w not working
2024-12-21 14:08:52 +07:00
ChomeNS
e72d9c8bb8
fix/refactor: some stuff in ChatPlugin
2024-12-15 15:33:14 +07:00
ChomeNS
79b6ae13a6
refactor: imports refactoring in ChatPlugin
2024-12-05 15:02:18 +07:00
ChomeNS
7e09ea3257
fix: add login checks before sending packet when the state is not PLAY
2024-12-05 13:37:35 +07:00
ChomeNS
bd4ceda4f1
feat,refactor: team joiner plugin and some refactoring
2024-12-04 19:49:24 +07:00
ChomeNS
89dc2e2781
fix,refactor: /teammsg color fix and some refactoring to the get chat type function
2024-12-01 15:37:56 +07:00
ChomeNS
bb86bf80c7
stop exploit leaks or simply long commands
2024-10-23 07:50:29 +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
94b7fe8ec8
add multiple prefixes and cspy prefixes
...
totallynotskidded™ some codes from ChipmunkBot™
2023-03-25 13:33:56 +07:00
ChomeNS
6e2eb9ec74
change chomens bot namespace yup
2023-03-24 09:04:55 +07:00