Commit Graph

1169 Commits

Author SHA1 Message Date
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
ChomeNS
669ddb38f2 refactor: change default color in default config to gray instead of white (like the main instance) 2025-03-17 14:15:57 +07:00
ChomeNS
a0e32ad146 refactor: only tellraw to players without the nomusic tags 2025-03-17 14:14:53 +07:00
ChomeNS
164f097249 refactor: reduce duplicate code in MusicPlayerPlugin:loadSong 2025-03-17 14:11:14 +07:00
ChomeNS
dd0d80f265 refactor: remove useless exception throwing when song loading failed 2025-03-17 14:10:09 +07:00
ChomeNS
e02de9232d fix: hopefully fix discord ticker breaking ??? 2025-03-17 07:54:43 +07:00
ChomeNS
60350a1adb fix: limit the queue amount on the database executor 2025-03-16 20:39:12 +07:00
ChomeNS
8e20cf2285 feat: automatically unmount when being ridden to an entity 2025-03-16 17:37:09 +07:00
ChomeNS
3771143e49 fix: fix FindAltsCommand for player name with spaces 2025-03-16 13:45:41 +07:00
ChomeNS
bee4fb5d5b fix: send ServerboundPlayerLoadedPacket 2025-03-16 13:21:23 +07:00
ChomeNS
c86e2714e6 feat: cloop interval units (now we can loop at 1 chomeNS and crash the server :D)
feat: show possible values of the enum in the command context's `getEnum`
2025-03-16 12:53:27 +07:00
ChomeNS
fb8dd58de1 fix: no it did not fix that 2025-03-16 09:25:37 +07:00
ChomeNS
d75611ff6f fix: hopefully fix the pointer overflow 2025-03-16 08:55:17 +07:00