Skip to content

Administrators guide

NeumimTo edited this page Dec 29, 2015 · 11 revisions

Installation

Java 8 is required

Building

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.

Another optional requirement is Nashorn library. To enable javascript support you will have to put nashorn library to the mods folder. Go to your /jre/lib/ext and copy the file Nashorn.jar into your mods folder. The library is not loaded due to fml excluding all jdk.* (from some unknown reasons) packages from the classpath. The library is part of oracle/openjdk which means i can't redistribute it together with the plugin.

Setting up a database

During the first startup plugin generates database.properties file in your mods folder. The plugin uses Hibernate, Hibernate is a java framework for mapping objects to a relational database. This means that the plugin will work with all major SQL databases. (protip: use postgres)

Database setup

Plugin configuration

Almost all messages can be changed in config files. Localization files are generated after server startup. Parameters are represented by format %number

  • Skilltrees
  • Main plugin config todo
  • [Classes](Classes, Skilltrees)
  • Custom enchantments - todo this feature will need sponge inventory api
  • Item crafting - this feature will need sponge inventory api
  • Ingame skill crafting - todo this feature will need sponge inventory api

todo

Clone this wiki locally