Commit Graph

1181 Commits

Author SHA1 Message Date
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
ChomeNS
37d7bbe2a7 fix: .console server not working correctly (chome ns moment)
it probably happened when i was doing the `getServerString` replacements and accidentally replaced `eachBot` with `bot`
2025-03-21 10:27:44 +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
5587565325 fix: *cb command output component root's style getting overwritten with white 2025-03-19 20:02:33 +07:00
ChomeNS
9d6fc74a34 feat: support all OpenNBS hidden features (including rainbow easter egg !!!) 2025-03-19 18:40:00 +07:00
ChomeNS
a933653112 fix: checkOverloadArgs not working correctly 2025-03-19 17:25:19 +07:00
ChomeNS
0d0c8a2bce refactor: remove TODO in RandomStringUtilities since the alphanumeric username is how we identify chomens bot 2025-03-19 17:07:44 +07:00
ChomeNS
0bf8ce54f8 refactor: reduce the messy trust level checking by at least a bit
it looks a lot better now, the if statements at the discord roles still look pretty messy though
2025-03-19 17:05:36 +07:00
ChomeNS
079c579b0e fix: core tracked query issue 2025-03-19 15:14:24 +07:00
ChomeNS
5fdb86c81c feat: *cb {uuid/username{...}} showing [player] (output) 2025-03-19 14:50:29 +07:00
ChomeNS
85b394c86d fix: increase the query timeout even more to 5 minutes 2025-03-19 14:12:35 +07:00
ChomeNS
04b0377bd9 refactor: use long in cloop interval instead of int
feat: `getLong` in CommandContext (i didn't know it doesn't exist lol)
2025-03-19 09:39:16 +07:00
ChomeNS
07b61540ef refactor: rewrite list command
fix: set `target.listed` in PlayersPlugin (vanishing)
2025-03-19 09:28:34 +07:00
ChomeNS
3ce56fc110 feat: don't use tab complete in PlayersPlugin 2025-03-19 09:08:48 +07:00
ChomeNS
52130e85ae Revert "feat: use ChronoUnit for cloop (forever cloop now real!!!)"
This reverts commit 04a8d10e1f.
2025-03-18 19:20:01 +07:00
ChomeNS
04a8d10e1f feat: use ChronoUnit for cloop (forever cloop now real!!!) 2025-03-18 19:05:31 +07:00
ChomeNS
f882c15d39 refactor: remove useless / in tab complete command
minecraft code:
```
if (stringReader.canRead() && stringReader.peek() == '/') {
	stringReader.skip();
}
```
i also removed `minecraft:` in the vanish detection tab complete, this should not break anything on kaboom servers
2025-03-18 17:05:49 +07:00
ChomeNS
670c678ced refactor: fix mess in essentials selfcare 2025-03-18 17:00:52 +07:00
ChomeNS
c6adc4cc0f feat: smarter username selfcare by checking if time difference < 2 seconds 2025-03-18 16:53:09 +07:00
ChomeNS
04fd9e8e17 feat: add isSupported to ExtrasMessengerPlugin 2025-03-17 16:55:31 +07:00
ChomeNS
7270354573 chore: bump a lot of dependencies
haven't updated them for a long time lol
2025-03-17 16:39:18 +07:00