Administrators
Building
If you prefer build from source execute commands
git clone https://github.com/NeumimTo/NT-RPG
cd NT-RPG
mvn package
This will create two jars. One with dependencies and the second one without. Put the file Nt-RPG-xxx-shaded.jar into your mods folder.
Requirements
Implementation of spongeapi such as spongeforge, or spongevanilla.
The mod also requires NT-CORE mod to work. https://github.com/NeumimTo/NTCore (click on releases and download the latest version)
The NT-CORE mod contains libraries such as Hibernate, Javassist and some small libraries i’ve made for faster development.
Setting up a database
During the first startup plugin generates database.properties file in your mods folder. The persistance is build around Hibernate, java framework for mapping objects to a relational database.
Folder structure
Server-root-dir/config/nt-rpg/
- Addons - Folder for additional content such as third party skills
- Classes - Folder where you define classes
- Scripts - Folder where you put your JavaScript script files, Inside this folder is pre-generated top-level script Main.js, Do not delete it.
- Skilltrees - Folder where you define skilltrees