Working With and Building Denizen¶
Make sure you have the following tools installed on your machine:
To build Denizen, you'll also need to build the supported versions of Spigot, which you can find on the project README. To do this, Spigot provides a tool called BuildTools. This cannot be substituted with prebuilt jars or forks, as it must be built into your local maven repo.
Follow the setup instructions and then run the BuildTools jar for each version supported by Denizen. This should be a command like
java -jar BuildTools.jar --rev 1.18.2 --remapped remapped-mojang (note that
1.16.5 in particular doesn't use the
Clone the Denizen repository: https://github.com/DenizenScript/Denizen
Open the cloned folder with IntelliJ.
Open the Maven tab, select
denizen-parent, and click "Run Maven Build" (the green arrow).
After building, the jar will be available in the
target folder. You can stick this into your test server's plugins folder and all of Denizen should be available. You can repeat step 3 to build the project after making any desired changes.