2023-04-22 01:26:22 -04:00
|
|
|
# ChomeNS Bot Java
|
|
|
|
A Java verison of ChomeNS Bot.
|
2023-05-11 05:11:21 -04:00
|
|
|
|
2024-10-06 06:27:30 -04:00
|
|
|
# Compiling
|
2023-06-22 08:45:35 -04:00
|
|
|
You will see that the exploits plugin is missing because I gitignored it to prevent exploit leaks
|
2023-06-09 05:21:52 -04:00
|
|
|
|
2024-10-06 06:27:30 -04:00
|
|
|
To make this successfully compile just make `ExploitsPlugin.java` in the plugins folder and add this code:
|
2023-06-09 05:21:52 -04:00
|
|
|
|
|
|
|
```java
|
|
|
|
package land.chipmunk.chayapak.chomens_bot.plugins;
|
|
|
|
|
|
|
|
import land.chipmunk.chayapak.chomens_bot.Bot;
|
|
|
|
|
|
|
|
import java.util.UUID;
|
|
|
|
|
|
|
|
public class ExploitsPlugin {
|
2023-08-09 07:56:01 -04:00
|
|
|
public ExploitsPlugin (Bot bot) {}
|
2023-06-09 05:21:52 -04:00
|
|
|
|
|
|
|
public void kick (UUID uuid) {}
|
2023-08-13 01:31:20 -04:00
|
|
|
|
|
|
|
public void pcrash (UUID uuid) {}
|
2023-06-09 05:21:52 -04:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2023-06-22 08:45:35 -04:00
|
|
|
Then at the root of the project run `./gradlew shadowJar` for Linux or `gradlew.bat shadowJar` for Windows
|
|
|
|
|
|
|
|
The .jar file will be at `build/libs`, to run the bot do `java -jar chomens_bot-rolling-all.jar`
|