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
|
2024-10-06 09:46:51 -04:00
|
|
|
package me.chayapak1.chomens_bot.plugins;
|
2023-06-09 05:21:52 -04:00
|
|
|
|
2024-10-06 06:36:42 -04:00
|
|
|
import me.chayapak1.chomens_bot.Bot;
|
2023-06-09 05:21:52 -04:00
|
|
|
|
|
|
|
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`
|