Skip to main content

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​

  1. Create your project using the template
    • Clone or copy the EpicBot Script Template
    • Rename the sample script module to match your script name
  2. Build your script
    • Run ./gradlew build and open up EpicBot to find your Local script there.

(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.

  1. Open IntelliJ
  2. File β†’ New β†’ Project from Existing Sources…
  3. Select the project folder
  4. Choose Gradle when prompted
  5. 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.