For Rising World "new version" / Unity Engine version. A simple template for making Rising World plugins.
- You need JDK 20 since Rising World uses same Java version for plugins.
- You need installed Rising World (Steam Version)
- Clone this repo (with
git clone, GitHub desktop or with downloading as .zip). - Change
pathToRisingWorldvariable inbuild.gradleto your Rising World root path (Unity version) - Change
groupvariable inbuild.gradleif necessary, it should be equal to your main package name. - In
settings.gradlechange the name to your project label. - Edit
plugin.ymland add your credits. You can change main class path (don't forget to create/move main class if you will do this) - Import project into your favourite IDE (IntelliJ Idea, Eclipse, Netbeans, etc.) and start making code
If you are using IDE that has gradle integration you can just launch build task.
If your IDE don't have such features open a terminal or cmd utility and use command
/gradlew build.
Your plugin will appear in /build/libs folder with same name as specified in settings.gradle.