Developer
Welcome to the EpicBot Script Developer documentation!
To get started developing scripts for EpicBot, use our official EpicBot script template project.
It provides a preconfigured multi-module Gradle project with an example script and allows for easy building and publishing of scripts.
π Template Repository: https://gitlab.epicbot.com/epicbot-public/epicbot-script-template
π Getting Startedβ
- Create your project using the template
- Clone or copy the EpicBot Script Template
- Rename the sample script module to match your script name
- Build your script
- Run
./gradlew buildand open up EpicBot to find your Local script there.
- Run
(optional) If you want to publish to the SDN, the template includes Gradle tasks for uploading and publishing your script.
π₯ Importing Into IntelliJ IDEAβ
We recommend using IntelliJ IDEA for EpicBot script development.
- Open IntelliJ
- File β New β Project from Existing Sourcesβ¦
- Select the project folder
- Choose Gradle when prompted
- Let IntelliJ complete the Gradle sync β
Tips:
- Ensure you're using Java 21
- If anything seems out of sync β Right-click project β Reload Gradle Project
Once imported, you can modify code, run Gradle tasks, and debug normally.