chomens-bot-java/README.md

28 lines
745 B
Markdown
Raw Permalink Normal View History

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
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:
```java
package me.chayapak1.chomens_bot.plugins;
2024-10-06 06:36:42 -04:00
import me.chayapak1.chomens_bot.Bot;
import java.util.UUID;
public class ExploitsPlugin {
2023-08-09 07:56:01 -04:00
public ExploitsPlugin (Bot bot) {}
public void kick (UUID uuid) {}
2023-08-13 01:31:20 -04:00
public void pcrash (UUID uuid) {}
}
```
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`