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 Bot Java

A Java version of ChomeNS Bot.

Compiling

To make this successfully compile, you will have to fix the missing ExploitsPlugin.java in the plugins package, and also some enums related to it.

After that, you can now run ./gradlew build to actually get the .jar file.

The .jar file will be at build/libs, to run the bot simply do java -jar chomens_bot-rolling-all.jar

Development

When commiting your changes, please use my code style.

In IntelliJ IDEA:

Ctrl + Alt + S, search Code Style, go to Java, click gear icon, Import Scheme -> IntelliJ IDEA code style XML, use the codestyle.xml file in this repository

Ctrl + Alt + Shift + H, click Configure Inspections..., click gear icon, Import Profile..., use the inspections.xml file in this repository

Description
before his source got door
Readme GPL-3.0 3.1 MiB
Languages
Java 100%