Commit Graph

75 Commits

Author SHA1 Message Date
ChomeNS
d4a56051ce fix: make the brand payload valid 2025-04-26 07:46:59 +07:00
ChomeNS
2ab3a4322a refactor: use java 21 switch case ahh thing for packet checking 2025-04-23 15:20:29 +07:00
ChomeNS
061371f40b refactor: move all information things for chomens mod into the encrypted payload and some improvements 2025-04-19 15:34:38 +07:00
ChomeNS
20d89b14d7 fix: some fixes 2025-04-17 08:57:26 +07:00
ChomeNS
d746140005 fix: command suggestions and chomens mod messages leaking & fix command suggestions
yes you can probably guess i rewrote the string "_request_command_suggestion" by hand instead of copying and pasting
2025-04-16 17:02:52 +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
de43240755 feat: ditch TeamJoinerPlugin to prevent people performing suspicious activities with the bot 2025-04-13 17:36:58 +07:00
ChomeNS
ae03603e9d fix: i CANNOT handle that single extra connect message after getting suppressed 2025-04-13 08:36:32 +07:00
ChomeNS
8bce548c09 refactor: remove imposter format checker since it's pretty much useless these days, and it's also disabled in the main instance 2025-04-12 15:02:29 +07:00
ChomeNS
58fcd586a4 refactor: improve connection message suppressing in discord and logger
i also saw nbot, fnf bot, and other bots copying the message, so i changed that too, hopefully no one skids it again
2025-04-10 08:10:40 +07:00
ChomeNS
70bf2574cf fix: all null pointers in disconnect listeners (there was so much)
i didn't even know how the bot even functioned for the whole 5 months without me noticing
2025-04-10 07:58:39 +07:00
ChomeNS
76eadb1472 fix: discord disconnect message broken (blame VoiceChatPlugin! not discord's fault!) 2025-04-10 07:45:36 +07:00
ChomeNS
72cbad0a99 fix: emergency fix discord and other stuff not working because of last commit 2025-04-09 19:04:48 +07:00
ChomeNS
f811000a07 refactor: make all plugins final to prevent spiders on the cpu/ram setting them to null
tbh if that actually happens then i think they can still be null lol
the bot should just crash at that point...
2025-04-09 17:40:03 +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
5e06c7cf8b refactor: drop support for creayun since shit is getting messy with it 2025-04-07 08:05:07 +07:00
ChomeNS
af67c228ce refactor: FINALLY improve the color palette, no more ColorUtilities.getColorByString(bot.config.colorPalette.something) every time i want use a color palette 2025-04-06 14:32:11 +07:00
ChomeNS
386bf69e7a refactor: rename static executors to uppercase snake case 2025-04-03 10:12:04 +07:00
ChomeNS
1d7190dd44 fix: the previous commit actually broke everything that uses the global plugins
this is why you should test your code on production THEN commit and push your changes
2025-04-01 19:51:50 +07:00
ChomeNS
58e722ba06 refactor: make global plugins in Bot use the one from the Main class
and also initialize LoggerPlugin in Bot because i was dumb lol, now it's the first plugin to load in each bot
2025-04-01 19:34:44 +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
d9e22906ef fix: transfer state never actually getting sent to the server
since we are making a new Session once we reconnect, and we also didn't migrate the old flags, setting CLIENT_TRANSFERRING to true doesn't mean anything
2025-03-26 15:29:55 +07:00
ChomeNS
265a35080b feat: chomens mod integration (completely unused)
i will probably make it a server instead idk, right now i just wanted to make the chipmunkmod core refill silent
2025-03-25 10:10:23 +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
38aab5d1f6 refactor: move some things idk
this will probably improve performance by 1 nanosecond
2025-03-21 11:09:56 +07:00
ChomeNS
bed87d2396 refactor: check server features using commands packet instead of tab completion (now tab completion is completely unused!) 2025-03-20 16:13:53 +07:00
ChomeNS
e02de9232d fix: hopefully fix discord ticker breaking ??? 2025-03-17 07:54:43 +07:00
ChomeNS
bee4fb5d5b fix: send ServerboundPlayerLoadedPacket 2025-03-16 13:21:23 +07:00
ChomeNS
f6a3cad40a fix: some core refilling issues when switching to dimensions with different minimum Y levels like minecraft:the_end 2025-03-13 09:02:18 +07:00
ChomeNS
6bab5e50ec refactor: remove outofmemoryerror check because we don't need it anymore 2025-03-12 07:53:47 +07:00
ChomeNS
e58e951943 feat: extras messaging !!! (unused for now) 2025-03-09 14:18:59 +07:00
ChomeNS
7febe0705a refactor: rewrite a bit about transfer (but still transfer to same server) 2025-03-08 08:00:18 +07:00
ChomeNS
3b4c8f5fda refactor: move session listener out to Bot instead of making an anonymous class inside session.addListener() 2025-03-05 11:04:57 +07:00
ChomeNS
bb766652f6 feat: hidden servers 2025-03-05 10:47:27 +07:00
ChomeNS
633ae80aac refactor: remove TagPlugin since we have teams now and it also spams the server console 2025-03-01 08:33:57 +07:00
ChomeNS
31bdc301be fix: some more fixes 2025-02-21 11:14:47 +07:00
ChomeNS
3428ca49ad fix: D..3k+EV:.+C]82+CS_qAKZ)5+DPh/DBNA)GpdYU@r-($AH 2025-02-21 10:33:02 +07:00
ChomeNS
eba10601d1 refactor: use SkinPart.VALUES instead of hardcoding all skin parts 2025-02-21 08:28:30 +07:00
ChomeNS
f91f9ef5ff fix: more fix 2025-02-19 09:03:39 +07:00
ChomeNS
fbc68057b8 fix: 2025-02-19 08:55:05 +07:00
ChomeNS
1c70b978a9 fix: some chunk issue OOB thing
feat: redirect and some other things
2025-02-19 08:37:52 +07:00
ChomeNS
8b5e706769 refactor: bot.getServerString() to reduce mess 2025-02-16 08:03:38 +07:00
ChomeNS
10a7f1ab1c feat: respond to ClientboundCustomQueryPacket 2025-02-12 06:49:05 +07:00
amyavi
fc9b993c49 chore: fixes for latest MCProtocolLib 2025-01-18 14:22:54 -03:00
ChomeNS
ae7fe63846 refactor: use a central filtering manager 2025-01-18 15:20:15 +07:00
ChomeNS
6164483e11 refactor: turn off allowsListing in client information packet 2025-01-07 16:30: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
621f06f2e5 BIG feat,fix,refactor: use database and some minor refactoring which also fixes memory issues and * related to PersistentDataUtilities 2024-12-14 15:39:24 +07:00