Commit Graph

1403 Commits

Author SHA1 Message Date
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
d1d7b9fb29 fix: auth timeout seconds 2025-05-18 09:22:49 +07:00
ChomeNS
5b56f411a1 refactor: check player left and ip query without queue for faster trusted broadcast and filtering 2025-05-17 17:26:16 +07:00
ChomeNS
a60baad6f3 feat: .console discord <message> 2025-05-16 17:50:56 +07:00
ChomeNS
5f569246af fix: null 2025-05-16 17:40:58 +07:00
ChomeNS
a3e0482604 refactor: move discord and irc channels configuration to each bot's option for easy server adding and also makes the config less messy 2025-05-16 17:34:42 +07:00
ChomeNS
c7a578f1d0 refactor: improve RandomTeleportCommand 2025-05-16 16:51:05 +07:00
ChomeNS
8ab8ecd2f7 fix: make findalts use the ip from the current player list first but if not found then use the one from the database 2025-05-15 19:57:15 +07:00
ChomeNS
8dad298c50 refactor: improve FindAltsCommand a bit 2025-05-15 18:21:39 +07:00
ChomeNS
b699cb2f7a fix: *music testsong throwing NPE because i didn't set the context 2025-05-15 17:48:19 +07:00
ChomeNS
c5da3a8689 feat: actually make the strings like abc123.among.us__69 not require quotes in SNBTUtilities 2025-05-14 20:35:26 +07:00
ChomeNS
76e75f3601 fix: prefix self care not working for the Something went wrong while saving the prefix 2025-05-14 16:44:10 +07:00
ChomeNS
879c1acf1d fix: netmsg translations not working (lmao) 2025-05-14 16:43:47 +07:00
ChomeNS
2b1a4067ab fix: i thought i can trust IDEA (*echo spaces not working) 2025-05-11 07:52:42 +07:00
ChomeNS
092f83ade4 fix: chat not working 2025-05-10 18:51:24 +07:00
ChomeNS
e9cc4f1499 refactor: send music loading messages to the context instead of tellraw 2025-05-10 16:48:55 +07:00
ChomeNS
f497651043 fix: removed too much 2025-05-10 16:33:24 +07:00
ChomeNS
839b202d11 refactor: let each music converter calculate the block position instead of having one in MusicPlayerPlugin 2025-05-10 16:31:20 +07:00
ChomeNS
3f7625895f fix: hopefully fix the music player racing contest 2025
refactor: change the ordering of variables and things
2025-05-10 16:10:42 +07:00
ChomeNS
c392db1903 fix: hopefully fix some errors spam when the bot is stopping sometimes
you don't really notice it unless you host the bot on github actions which changes instance every 6 hours
2025-05-10 15:57:38 +07:00
ChomeNS
7660ac57bc feat: make console prompt [server:1234] > so we can finally see the console server !!! 2025-05-10 13:21:53 +07:00
ChomeNS
56c7aa5493 refactor: don't trim the string again since we already did it 2025-05-09 09:42:07 +07:00
ChomeNS
4be485df0f feat: option to log connection status messages or not 2025-05-08 18:47:55 +07:00
ChomeNS
ca61686a70 fix: @ in Configuration 2025-05-08 18:16:33 +07:00
ChomeNS
8e743b2014 refactor: move translation rendering to I18nUtilities 2025-05-08 06:48:50 +07:00
ChomeNS
0c89ffc983 fix: netcmd not showing translated messages 2025-05-07 20:48:36 +07:00
ChomeNS
66f7754b78 fix: clearchat not showing translation (lmao) 2025-05-07 19:24:34 +07:00
ChomeNS
e8a4c03e8c feat: tick using debug sample
refactor: remove onAlwaysTick because no one uses it
2025-05-07 17:51:59 +07:00
ChomeNS
dc38ef86c6 fix: hbot discord crash exploit but also crashes chomens discord & lint DiscordPlugin a bit 2025-05-07 17:51:32 +07:00
ChomeNS
cea28ffd50 fix: rtp translation broken 2025-05-07 16:56:13 +07:00
ChomeNS
a7792651bb fix: help not working (had to change hover event :() 2025-05-07 10:05:02 +07:00
ChomeNS
d9608f25cb fix: NPE on music skip 2025-05-06 20:32:09 +07:00
ChomeNS
0e8bd4404b refactor: add disallowedPacketTypes into Command's toString 2025-05-06 19:05:40 +07:00
ChomeNS
9030752007 refactor: improve TabCompletePlugin
- `nextTransactionId` is now an AtomicInteger
- `tabComplete` function has been renamed to only `complete` so instead of calling like `bot.tabComplete.tabComplete()` now it's `bot.tabComplete.complete()`
- also clear the transactions and reset `nextTransactionId` in case the server didn't respond the bot won't leak memory
2025-05-06 19:02:28 +07:00
ChomeNS
c952ba5a6f fix: add language for SongLoaderThread 2025-05-06 17:06:28 +07:00
ChomeNS
a915cbbe4b feat: localization (hopefully i didn't miss anything but surely i will)
it took around 4 hours but i think it's pretty normal for such things like this
2025-05-06 16:11:09 +07:00
ChomeNS
0330cc2f75 fix: actually make disconnect write the last seen entries 2025-05-06 08:59:57 +07:00
ChomeNS
958730ec99 refactor: make the query interpret more compact 2025-05-06 08:51:41 +07:00
ChomeNS
2e382da7c3 feat: ignore the extras clear chat message 2025-05-06 08:33:51 +07:00
ChomeNS
5d91373e6b refactor: make filter manager cloop instead of dynamic 2025-05-06 08:24:59 +07:00
ChomeNS
8c1ea040cf fix: resize on local second tick instead of server to prevent core going to height limit (only for genius) 2025-05-05 18:28:56 +07:00
ChomeNS
b38f2a7e1b fix: vanish self care broken after reconnecting 2025-05-05 17:35:50 +07:00
ChomeNS
2b23074b1e refactor: make the query component size a bit less bloated 2025-05-05 15:08:49 +07:00
ChomeNS
e8eb2f3b4d refactor: make nextTransactionId final in QueryPlugin (small change but still) 2025-05-05 14:40:32 +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
8a868052f5 fix: don't attempt to reconnect when the bot is stopping 2025-05-05 13:20:00 +07:00
ChomeNS
14ab8a7bda fix: array oob when refilling core when switching dimensions lol 2025-05-05 13:12:58 +07:00
ChomeNS
3db1002af1 fix: denis check and use AtomicInteger on the thingy 2025-05-04 18:56:30 +07:00
ChomeNS
3bf8b78e28 fix: limit nanoseconds cloop 2025-05-04 15:22:35 +07:00
ChomeNS
e30132b00d feat: remove old core when relocating 2025-05-03 20:07:39 +07:00