ChomeNS
48ffc7c01c
refactor: make eval use only 1 connection to hopefully reduce threads amount + some misc refactors
...
fix: in GetBotInfoFunction, i misspelled `username` as `usernane`, it has been fixed
refactor: remove GetLatestChatMessageFunction, since the functions are now global and not bot-specific (yes, i know i can still implement it somewhere like in EvalPlugin or even call a function in GetLatestChatMessageFunction itself passing the bot, but no one really use this function anyway except the last time when ploat made some telnet ahh eval thing which used this function)
2025-05-27 17:48:17 +07:00
ChomeNS
f68ce719f9
feat: store keys per-user using discord instead of having a global key
...
refactor: use language on DirectMessageEventHandler
refactor: some misc refactors (i forgot what i did lol)
2025-05-26 19:46:38 +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
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
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
8a868052f5
fix: don't attempt to reconnect when the bot is stopping
2025-05-05 13:20:00 +07:00
ChomeNS
5d7b576f53
fix: set default locale to Locale.ROOT
2025-05-03 08:53:51 +07:00
ChomeNS
711f3e2885
refactor: clean up Main class a bit
2025-05-03 08:42:41 +07:00
ChomeNS
a01f749577
refactor: use fastutil 💨 💨 💨
...
i hope i didn't miss some things
2025-05-02 15:00:31 +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
94f90575d8
fix: player filter not work
2025-04-09 19:20:51 +07:00
ChomeNS
72cbad0a99
fix: emergency fix discord and other stuff not working because of last commit
2025-04-09 19:04:48 +07:00
ChomeNS
f811000a07
refactor: make all plugins final to prevent spiders on the cpu/ram setting them to null
...
tbh if that actually happens then i think they can still be null lol
the bot should just crash at that point...
2025-04-09 17:40:03 +07:00
ChomeNS
ed4e7573a9
refactor: use final on basically everything
...
i'm kinda tired of the inconsistency since some stuff are non-final and some are final so i just made everything final, not sure how much it impacts on stuff but everything should be fine, there were around 1,400 replacements according to the idea code analyzer
2025-04-09 17:05:11 +07:00
ChomeNS
93f582bba0
feat: smp-like encryption for chomens mod instead of public-private keys
2025-04-08 16:42:17 +07:00
ChomeNS
386bf69e7a
refactor: rename static executors to uppercase snake case
2025-04-03 10:12:04 +07:00
ChomeNS
8ce017f7d0
refactor: inline thread name
2025-04-03 10:02:23 +07:00
ChomeNS
1d7190dd44
fix: the previous commit actually broke everything that uses the global plugins
...
this is why you should test your code on production THEN commit and push your changes
2025-04-01 19:51:50 +07:00
ChomeNS
58e722ba06
refactor: make global plugins in Bot use the one from the Main class
...
and also initialize LoggerPlugin in Bot because i was dumb lol, now it's the first plugin to load in each bot
2025-04-01 19:34:44 +07:00
ChomeNS
90323d3552
refactor: Reformat Code with chome NS code style !!!
...
too lazy to export it somewhere, if you need it feel free to ask me
2025-04-01 09:58:31 +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
3b200d8a2b
feat: re-add AuthPlugin
2025-03-23 08:41:12 +07:00
ChomeNS
6f8fb1d3b6
feat: customizable console chat format
2025-03-21 10:39:46 +07:00
ChomeNS
b9381755c1
refactor: rewrite logging stuff
2025-03-09 16:06:49 +07:00
ChomeNS
02b9fd4f0b
refactor: optimize the bot even more!!!
...
it improved a lot, memory usage is pretty good now, just reducing the amount of threads for each executor and adding some more delay to the filtering stuff
2025-03-05 15:44:44 +07:00
ChomeNS
bb766652f6
feat: hidden servers
2025-03-05 10:47:27 +07:00
ChomeNS
2000662247
fix: FINALLY fix discord ctrl+c stopping message not showing
2025-03-03 12:45:58 +07:00
ChomeNS
8b5e706769
refactor: bot.getServerString() to reduce mess
2025-02-16 08:03:38 +07:00
ChomeNS
eacd91a369
refactor: remove awaitTermination
2025-01-07 17:14:30 +07:00
ChomeNS
793b1538a0
feat: ACTUALLY print the errors using the thing i did in the commit before this
2025-01-06 17:54:35 +07:00
ChomeNS
4f93704459
feat: print stack traces using LoggerUtilities
...
refactor: use the `console` in Main to access `reader` which can then `printAbove()`
2025-01-06 17:24:51 +07:00
ChomeNS
fd0d69c000
feat: shutdown hook and stopping reason
2025-01-06 17:01:36 +07:00
ChomeNS
90aef4e594
fix: fix stopping when database is disabled
2024-12-28 13:21:20 +07:00
ChomeNS
eba4f92e45
feat: stop/restart reason
2024-12-25 08:08:01 +07:00
ChomeNS
36fa5b3f9b
feat: RestartCommand
2024-12-17 16:36:35 +07:00
ChomeNS
5a06ee53b6
fix: actually handle stopping the database when the bot is stopping
2024-12-14 16:54:28 +07:00
ChomeNS
621f06f2e5
BIG feat,fix,refactor: use database and some minor refactoring which also fixes memory issues and * related to PersistentDataUtilities
2024-12-14 15:39:24 +07:00
ChomeNS
36a138becc
feat,fix: add admin trust level and some other fixies
2024-11-30 15:03:02 +07:00
ChomeNS
f7187e560f
refactor: some refactors in Main, backup and config
2024-11-28 17:27:54 +07:00
ChomeNS
a45477ed1b
refactor: run idea's "Code Cleanup"
2024-11-22 16:28:17 +07:00
ChomeNS
d3845f7c8a
refactor: optimize stopping discord
2024-11-19 17:42:11 +07:00
ChomeNS
a942cfd557
refactor: improve how the bot loads plugins
2024-11-17 16:37:05 +07:00
ChomeNS
9b824e195a
"fix": my try on fixing the login spam (no work)
2024-11-16 13:07:53 +07:00
ChomeNS
832a391ad0
refactor: remove the englishLanguage.json
2024-11-15 19:59:27 +07:00
ChomeNS
f322e2dd14
fix: more fix in Main
2024-11-12 19:28:09 +07:00
ChomeNS
5e9a1f0917
fix: stopping stuff in Main and IRCPlugin
2024-11-12 16:43:45 +07:00
ChomeNS
39b31edeb4
they always exceed the timeout lol
2024-10-18 14:22:21 +07:00
ChomeNS
729db37cdc
fix the skidded code on HBot doing absolutely nothing because i did shutdownNow() instead of shutdown()
2024-10-18 12:03:07 +07:00
ChomeNS
39477e82c4
fix for no discord
2024-10-07 12:23:56 +07:00
ChomeNS
837fe388bb
rename group
2024-10-06 17:36:42 +07:00