Commit Graph

1422 Commits

Author SHA1 Message Date
ChomeNS
a368cc6f13 refactor: reuse the packet handler executor 2025-05-25 13:09:10 +07:00
ChomeNS
393715f9da refactor: use switch-case in MidiConverter + new panning method that should be correct + misc refactors 2025-05-25 12:40:55 +07:00
ChomeNS
263ea7458c fix: stack overflow kick exploit by section sign + characters that aren't in the codes like v 2025-05-25 09:21:54 +07:00
ChomeNS
95a1f58fe1 feat: very ass discord slash commands 2025-05-25 09:21:05 +07:00
ChomeNS
040be16246 refactor: use the deserializer from LegacyComponentSerializer instead of our own which fixes the wikipedia page for Among Us 2025-05-25 08:04:28 +07:00
ChomeNS
c68e300047 feat: add more stuff to AuthCommand but restrict setting other player's level to TrustLevel.MAX only 2025-05-25 07:53:52 +07:00
ChomeNS
0105ee95a2 refactor: improve comma adding in SNBTUtilities 2025-05-24 18:14:30 +07:00
ChomeNS
007e4b5b59 refactor: improve servereval output string getting + add shell on servereval 2025-05-24 17:42:22 +07:00
ChomeNS
edbd96366b feat: ignore case prefixes so stuff like CBOT:TEST will work 2025-05-24 15:57:30 +07:00
ChomeNS
53a3d95032 feat: also deserialize ANSIs in discord embed (for command output)
pretty small change but still
2025-05-23 18:25:29 +07:00
ChomeNS
8c8a058f38 fix: limit AuthCommand a bit... it seem dumb idea :( 2025-05-22 20:35:51 +07:00
ChomeNS
ad5e203417 feat: *auth so you don't have to type hash every time (this can be abused idk) 2025-05-22 18:50:28 +07:00
ChomeNS
8fd2f2ebb3 refactor: just make getBlock return 0 when it fails 2025-05-22 17:24:04 +07:00
ChomeNS
f3d3355bd2 fix: bots -> bot's (i think intellij is wrong? but with apostrophe it's less confusing with the plural "bots") 2025-05-22 17:15:03 +07:00
ChomeNS
37e69779ae refactor: move the time formatting thing into TimeUtilities 2025-05-22 17:10:18 +07:00
ChomeNS
cdaa82bdfa fix: OOB on core exist and complete (happen when bot switch to dimensions like nether and/or the end) 2025-05-21 18:15:42 +07:00
ChomeNS
8ab00505e4 fix: emergency 9 being replaced with 3 for discord 2025-05-21 16:18:39 +07:00
ChomeNS
3f0ae861e6 feat: set commandBlockOutput to false on login 2025-05-20 16:26:47 +07:00
ChomeNS
0f28e8c900 fix: make the events work with new adventure and improve SNBTUtilities a bit 2025-05-19 18:39:18 +07:00
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