Commit Graph

1238 Commits

Author SHA1 Message Date
ChomeNS
dd2b8ce26d fix: duplicate connected player in chomens mod 2025-04-08 17:59:01 +07:00
ChomeNS
dffc22674b feat: show IP in ListCommand 2025-04-08 17:07:34 +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
11f08138fe fix: use stringifyDiscordAnsi instead of stringifyAnsi on discord disconnect message 2025-04-08 11:03:41 +07:00
ChomeNS
16cde68c4a refactor: make consoleOnly parameter in Command constructor optional
i did the refactoring command-by-command this time, just to make sure everything's fine (yes i know this can still be done with idea replacing thing)
2025-04-08 09:18:35 +07:00
ChomeNS
31ace7334e refactor: disallow some chat packet types for some commands 2025-04-08 09:08:59 +07:00
ChomeNS
50ba4e1c41 refactor: change log archive limit to 500mb and also log to console (probably won't help much if there's a lot of log though) 2025-04-08 08:11:53 +07:00
ChomeNS
37326ede51 fix: FINALLY fix chat parser styles leaking !!!
still a lot of duplicate/redundant/unnecessary codes though, might want to optimize them later
2025-04-07 17:59:42 +07:00
ChomeNS
572d175c17 fix: fix keybind component !!! 2025-04-07 16:35:09 +07:00
ChomeNS
1a2d9c136c refactor: improve NamedTextColor and style getting in ComponentUtilities 2025-04-07 15:27:29 +07:00
ChomeNS
607a131fa5 fix: also include discord.com 2025-04-07 13:49:40 +07:00
ChomeNS
00a374104d fix: mabe 2025-04-07 08:18:15 +07:00
ChomeNS
5e06c7cf8b refactor: drop support for creayun since shit is getting messy with it 2025-04-07 08:05:07 +07:00
ChomeNS
c0390b806f refactor: replace ONLY discord.gg with discord{zwsp}.{zwsp}gg instead of every single . with {zwsp}.{zwsp}
the reason i have to do this is because people keep copying players ips from `/seen` logs (which contain zwsp) and put them into ipfilter, and since they contain zwsp, they'll never work, gonna consider adding IP regex check
2025-04-07 07:59:33 +07:00
ChomeNS
1c7cd3038c refactor: very small change in BotVisibilityCommand that caught my eye 2025-04-06 14:33:30 +07:00
ChomeNS
af67c228ce refactor: FINALLY improve the color palette, no more ColorUtilities.getColorByString(bot.config.colorPalette.something) every time i want use a color palette 2025-04-06 14:32:11 +07:00
ChomeNS
59749d85df refactor: add return messages to ClearChatQueueCommand and RefillCoreCommand to reduce a lot of player confusion 2025-04-06 08:49:27 +07:00
ChomeNS
ae91b3d78b fix: make chat splitting 4x faster which fixes *eval run bridge.chat('a'.repeat(69420)) along with all chat issues chat splitting all things FIXED. 2025-04-06 08:39:36 +07:00
ChomeNS
65cc3971af refactor: make queries less spammy in console like bukkit.lastKnownName and seen <uuid>
fix: `*mail sendselecteditem` and `*music playitem` invalid/doesn't exist/empty check not working
2025-04-05 17:52:08 +07:00
ChomeNS
ac44bedf8c feat: remove ICU self care 2025-04-04 10:05:53 +07:00
ChomeNS
a711e21437 fix: delete loader thread on *music stop and disconnect 2025-04-03 20:27:54 +07:00
ChomeNS
db1be06b17 fix: database throwing errors LoL 2025-04-03 11:02:07 +07:00
ChomeNS
884c525f2e refactor: make executeCommand in CommandHandlerPlugin return void instead of a Component 2025-04-03 10:50:41 +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
e80530c847 refactor: some console things 2025-04-03 10:00:24 +07:00
ChomeNS
13385de5d5 refactor: improve the CommandHandlerPlugin a bit 2025-04-03 09:46:37 +07:00
ChomeNS
9d6b0d8dc4 fix: socialspy self care not working 2025-04-03 08:20:39 +07:00
ChomeNS
8c4aae3401 refactor: use uuid on nick self care 2025-04-03 08:11:23 +07:00
ChomeNS
b8bea93754 fix: accidentally removed vanish enable detector 2025-04-02 09:34:14 +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
7617818720 fix: make voicechat work again & make the 2 years old code modern 2025-04-01 19:04:38 +07:00
ChomeNS
2fd205bd61 refactor: run Code Inspection and fix most of the warnings 2025-04-01 10:15:50 +07:00
ChomeNS
6edb683274 refactor: finally fix deprecation warning in the simple voice chat FriendlyByteBuf thingy 2025-04-01 10:04:42 +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
156a5af47f feat: /tp cooldown when going down from height limit 2025-03-31 17:13:56 +07:00
ChomeNS
bb0900eeb6 refactor: make packetReceived listeners private
Intelligent IDEA Replacing Feature.
2025-03-31 16:55:52 +07:00
ChomeNS
dddead69ba fix: lazy fix for the empty string username kind of people 2025-03-31 15:22:59 +07:00
ChomeNS
3ee759211b refactor: correct way to get the target (i didn't know the server sends it) 2025-03-31 14:59:45 +07:00
ChomeNS
e0f0b4c174 refactor: make PlayerMessage a record 2025-03-31 14:54:27 +07:00
ChomeNS
6c98da4184 fix: core not being relocated when over simulation distance 2025-03-31 14:27:50 +07:00
ChomeNS
2196e822d5 feat: support ANSI color/styles in discord reply and also some refactors in ComponentUtilities 2025-03-31 10:48:11 +07:00
ChomeNS
92c4726fcd refactor: move command contexts into a package 2025-03-31 09:03:32 +07:00
ChomeNS
6f92ea38d5 fix: netmsg click to open URL not working 2025-03-30 19:04:32 +07:00
ChomeNS
e68f4c874c fix: tld length in url regex
according to a random stackoverflow answer DNS allows 1 - 63 range.
2025-03-30 18:22:57 +07:00
ChomeNS
821bfe2626 fix: players removing fix again 2025-03-30 18:12:40 +07:00
ChomeNS
363d7a9270 fix: whitespace exploit in ICU selfcare. FIX 2025-03-30 17:44:40 +07:00
ChomeNS
9e7351dca8 fix: LoL forgor to remove some stuff in Configuration for the previous commit 2025-03-30 17:39:08 +07:00
ChomeNS
9c6c35677c feat: better icu self care, no more spam garbage
it actually works pretty well, now it doesn't spam when you cloop tp the bot or something
also i have tested cloop tp-ing the bot, and it indeed can't refill the core, not really sure how to fix this, but the bot usually is in vanish anyway and this scenario usually happens with some random person doing clooping `tp @a <someone/somewhere>` which affects everyone (except if the selector is like `@a[name=!BubbleCode]`)
also interestingly the bot can still refill the core while being obd leashed
2025-03-30 17:33:57 +07:00