Commit Graph

1201 Commits

Author SHA1 Message Date
ChomeNS
bb0900eeb6 refactor: make packetReceived listeners private
Intelligent IDEA Replacing Feature.
2025-03-31 16:55:52 +07:00
ChomeNS
dddead69ba fix: lazy fix for the empty string username kind of people 2025-03-31 15:22:59 +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
e0f0b4c174 refactor: make PlayerMessage a record 2025-03-31 14:54:27 +07:00
ChomeNS
6c98da4184 fix: core not being relocated when over simulation distance 2025-03-31 14:27:50 +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
92c4726fcd refactor: move command contexts into a package 2025-03-31 09:03:32 +07:00
ChomeNS
6f92ea38d5 fix: netmsg click to open URL not working 2025-03-30 19:04:32 +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
821bfe2626 fix: players removing fix again 2025-03-30 18:12:40 +07:00
ChomeNS
363d7a9270 fix: whitespace exploit in ICU selfcare. FIX 2025-03-30 17:44:40 +07:00
ChomeNS
9e7351dca8 fix: LoL forgor to remove some stuff in Configuration for the previous commit 2025-03-30 17:39:08 +07:00
ChomeNS
9c6c35677c feat: better icu self care, no more spam garbage
it actually works pretty well, now it doesn't spam when you cloop tp the bot or something
also i have tested cloop tp-ing the bot, and it indeed can't refill the core, not really sure how to fix this, but the bot usually is in vanish anyway and this scenario usually happens with some random person doing clooping `tp @a <someone/somewhere>` which affects everyone (except if the selector is like `@a[name=!BubbleCode]`)
also interestingly the bot can still refill the core while being obd leashed
2025-03-30 17:33: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
c70e8b5779 feat: latency and gamemode in ListCommand 2025-03-30 17:02:38 +07:00
ChomeNS
8c65eb0ec1 refactor: t_packet 2025-03-30 16:55:06 +07:00
ChomeNS
1f2355aa77 fix: player left event being called twice !!
refactor: some refactors inside the player plugin too
2025-03-30 16:52:46 +07:00
ChomeNS
209cd1a6dd refactor: improve vanish selfcare & BotVisibilityCommand 2025-03-30 16:30:12 +07:00
ChomeNS
7c6c2c23ce refactor: make the stuff in QueryPlugin a bit more readable and also completely remove the fucky auto remover to eliminate all issues. 2025-03-30 13:15:32 +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
1e6421a17c feat: chunking on chomens mod (only sending for now)
fix: `writeString` not working correctly (i put the normal string length instead of the bytes length lol)
2025-03-26 18:32:59 +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
dd629d1dfa fix: make seen not run on non-essentials servers 2025-03-26 10:53:51 +07:00
ChomeNS
450b2a7b51 feat: support styles in WikipediaCommand (using HTML magic) 2025-03-26 09:54:05 +07:00
ChomeNS
b6133600f5 refactor: improve the chat messages checking a bit 2025-03-26 08:52:21 +07:00
ChomeNS
05854223b1 refactor: second ticker in TickPlugin 2025-03-25 20:05:50 +07:00
ChomeNS
a2b564abf5 feat: make the chomens mod integration feel more like chomens proxy and also fix AuthPlugin
most stuff are still pretty broken, there's no chunking things yet, so long datas will simply just break, but it works!
2025-03-25 19:14:27 +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
043efe9547 fix: last commit didn't fix it lol 2025-03-24 17:02:54 +07:00
ChomeNS
87ef3b8a95 fix: small bug in InfoCommand lol 2025-03-24 17:00:25 +07:00
ChomeNS
e37d3b1a6e feat: support ascii85 in *music playitem 2025-03-24 16:56:52 +07:00
ChomeNS
b61d7ee2fa refactor: some refactors in MusicCommand 2025-03-24 16:37:12 +07:00
ChomeNS
2740c4d87b fix: actually use long in TimestampUtilities 2025-03-24 16:37:02 +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
15c8301f65 feat: add clear into filter 2025-03-23 15:47:39 +07:00
ChomeNS
90a43ad2c0 refactor, feat: rewrite DiscordPlugin a bit to make it more readable and support message forwarding 2025-03-23 15:34:27 +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
60356a5eea fix: remove the debug exception logging (oopsies) 2025-03-23 08:45:06 +07:00
ChomeNS
3b200d8a2b feat: re-add AuthPlugin 2025-03-23 08:41:12 +07:00
ChomeNS
d77c05389e fix: forgor to remove debug line 💀 2025-03-22 19:08:35 +07:00
ChomeNS
cc635ca8c6 refactor: fix FindAltsCommand (again) but also attempt to make it more readable 2025-03-22 15:39:02 +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
83ac7632c6 fix: console hotfix 2025-03-22 10:50:20 +07:00
ChomeNS
4a752ef0a2 fix: RefillCoreCommand not working correctly 2025-03-21 17:13:38 +07:00
ChomeNS
185b835f7e refactor: improve HelpCommand 2025-03-21 16:42:51 +07:00
ChomeNS
8a9b123f49 refactor: store player ip in PlayerEntry, so we don't have to query them in stuff like IP filter which spams console 2025-03-21 16:31:23 +07:00
ChomeNS
5834a0584a fix: finally fix inaccurate player position (it was caused by me not handling ClientboundEntityPositionSyncPacket) 2025-03-21 14:22:06 +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
6f8fb1d3b6 feat: customizable console chat format 2025-03-21 10:39:46 +07:00