Commit Graph

1316 Commits

Author SHA1 Message Date
ChomeNS
ac319b6281 feat: accept discord messages when the bot isn't logged in + some refactors in CorePlugin and GuildMessageEventHandler 2025-04-22 17:36:35 +07:00
ChomeNS
8290473631 fix: console sender being null when the bot is not logged in to that server 2025-04-22 17:13:32 +07:00
ChomeNS
788f5e88e6 fix: core refill custom name not working on <1.21.5 2025-04-22 16:53:39 +07:00
ChomeNS
4861443bd8 fix: full temporary fix for the events + final changes before merging to master 2025-04-22 15:34:04 +07:00
ChomeNS
181b907ac7 fix: core command block ids and states & bossbar manager text display broken 2025-04-22 15:34:04 +07:00
ChomeNS
db56afd319 feat: initial 1.21.5 with adventure still not being updated 2025-04-22 15:34:02 +07:00
ChomeNS
ac9c26bcd0 fix: some dumb NPE bossbar fix 2025-04-22 10:09:35 +07:00
ChomeNS
ceb9bfd34d fix: bruhify showing ?? for characters like the fire emoji 🔥 2025-04-22 09:09:55 +07:00
ChomeNS
8b4286bc31 refactor: use the executor service for eval bridge functions 2025-04-21 20:28:48 +07:00
ChomeNS
f1d24b8a59 fix: AAAA I COMMIT THE TEST CODE 2025-04-21 20:23:43 +07:00
ChomeNS
b8ea989026 fix: make the lists actually thread-safe (maybe, but pretty likely)
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Collections.html#synchronizedList(java.util.List)
> It is imperative that the user manually synchronize on the returned list when traversing it via Iterator, Spliterator or Stream
> Failure to follow this advice may result in non-deterministic behavior.
2025-04-21 20:15:47 +07:00
ChomeNS
1bb4d1713e refactor: some improvements and fixes to bossbar manager + fix some NPEs 2025-04-21 14:43:44 +07:00
ChomeNS
061371f40b refactor: move all information things for chomens mod into the encrypted payload and some improvements 2025-04-19 15:34:38 +07:00
ChomeNS
14bdf45c89 feat: draft for extras messaging on chomens mod, not sure how to implement on minecraft side :( 2025-04-19 14:05:27 +07:00
ChomeNS
2f65276225 feat: use this unicode for paused music 2025-04-18 19:19:05 +07:00
ChomeNS
53860c3c5a feat: alias .console server to .csvr for lazy people like me 2025-04-18 16:19:18 +07:00
ChomeNS
2e79c7599f refactor: make commandsPer* public in CorePlugin (tryna debug something) 2025-04-18 14:43:57 +07:00
ChomeNS
d639fa7f6b fix: some nbs songs not loading (layers issue) 2025-04-18 11:41:35 +07:00
ChomeNS
2cc5e6dc9c fix: partially fix music speed 2025-04-18 08:43:01 +07:00
ChomeNS
0bd20d2163 fix: music player using the global ticker instead of the local one 2025-04-17 19:15:07 +07:00
ChomeNS
56e3aba21a feat: proper flags parser stolen from HBot
now code looks a lot less messy
2025-04-17 10:48:12 +07:00
ChomeNS
20d89b14d7 fix: some fixes 2025-04-17 08:57:26 +07:00
ChomeNS
bb3635137c feat: re-add ChronoUnit cloop unit that should actually work this time 2025-04-16 19:55:33 +07:00
ChomeNS
d746140005 fix: command suggestions and chomens mod messages leaking & fix command suggestions
yes you can probably guess i rewrote the string "_request_command_suggestion" by hand instead of copying and pasting
2025-04-16 17:02:52 +07:00
ChomeNS
a3b6f7fecf fix: music bossbar Paused never getting shown 2025-04-16 15:41:37 +07:00
ChomeNS
decd15a926 refactor: have global Listener interface instead of creating one in each plugin
not sure how much this improves the code, readability and/or the performance but i hope they are better
2025-04-16 15:34:20 +07:00
ChomeNS
346c55c3d6 fix: comment out nbs Tempo Changer causing empty gaps after tempo has been changed
refactor: some refactors i've done while inspecting the issue lol
feat: re-add note counts
2025-04-16 11:05:01 +07:00
ChomeNS
ef15c45619 fix: limit query queue size (in the case where there are 10,000 players in the server)
i discovered this while botting my own google cloud shell clone
2025-04-15 13:22:15 +07:00
ChomeNS
c6e8585246 refactor: fix some ide warnings 2025-04-15 11:23:34 +07:00
ChomeNS
fcc816d0c9 style: commit code styles 2025-04-15 10:26:14 +07:00
ChomeNS
4c5fa6d733 refactor: make the discord messages log before hash and other things
now it looks like this https://i.imgur.com/BmW4HuH.png
2025-04-15 08:27:22 +07:00
ChomeNS
f2250c656e refactor: remove jackson annotations from some classes that don't need them anymore 2025-04-15 08:21:24 +07:00
ChomeNS
5cd1cc8976 refactor: change translate API again 2025-04-15 08:20:57 +07:00
ChomeNS
f06369d112 fix: use new google translate API no more ratelimit error 2025-04-14 18:47:20 +07:00
ChomeNS
6cf6fa1ae0 refactor: use only a single Map for discord logs things
not sure how much it improves the performance but it shouldn't be much different
2025-04-14 15:43:24 +07:00
ChomeNS
97152d7bd0 refactor: change command handler executeCommand signature to be more clean 2025-04-14 09:07:41 +07:00
ChomeNS
b7807686d0 fix: patch negative music values causing unexpected behavior 2025-04-14 08:22:32 +07:00
ChomeNS
26ca1eb830 refactor: ginlang's request & some other refactors to *music info 2025-04-14 08:20:26 +07:00
ChomeNS
de43240755 feat: ditch TeamJoinerPlugin to prevent people performing suspicious activities with the bot 2025-04-13 17:36:58 +07:00
ChomeNS
ae03603e9d fix: i CANNOT handle that single extra connect message after getting suppressed 2025-04-13 08:36:32 +07:00
ChomeNS
8bce548c09 refactor: remove imposter format checker since it's pretty much useless these days, and it's also disabled in the main instance 2025-04-12 15:02:29 +07:00
ChomeNS
b9386f86e1 fix: netcmd still executing on all server even when bot not logged in 2025-04-12 11:59:29 +07:00
ChomeNS
4685e37b4f fix: netcmd needing hash, hopefully i don't leak anything
more spaghetti code :D
2025-04-12 11:53:29 +07:00
ChomeNS
30a7bcd24b feat: *netcmd 2025-04-12 10:48:45 +07:00
ChomeNS
0ca9990d08 fix: hopefully fix duplicate player entry when someone /username (still can't exactly reproduce idk) 2025-04-12 08:01:56 +07:00
ChomeNS
b9207ffb0c feat: log discord messages to logger (very simple, just contents ONLY) 2025-04-11 18:27:37 +07:00
ChomeNS
a5602d1a01 feat: "hashing" via discord by DM-ing the bot hash 2025-04-11 17:08:23 +07:00
ChomeNS
9557231010 refactor: only schedule discord ticking once, globally, not each for every server 2025-04-11 14:17:37 +07:00
ChomeNS
359cf9a19c refactor: move the discord message handler into a separate class to make the mess only live in that class
refactor: use ConcurrentHashMap instead of HashMap in the discord message queue
2025-04-11 14:08:39 +07:00
ChomeNS
9e486ebbe1 fix: increase max time a bit but i'm not sure if this will make the bot crash with translate crash spam 2025-04-11 14:00:27 +07:00