mirror of
https://github.com/GTNewHorizons/NewHorizonsServerCore.git
synced 2026-10-28 17:25:01 +00:00
Bukkit Plugin for Servers running the GT:NH Pack
- Java 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github/workflows | ||
| .mvn | ||
| src/main | ||
| .gitignore | ||
| LICENSE | ||
| PendingCommands.sql | ||
| pom.xml | ||
| README.md | ||
NewHorizonsServerCore
Bukkit Plugin for Servers running the GT:NH Pack
Building locally
First, install Maven (or use IntelliJ's built-in).
In IntelliJ
- Open the project directory in IntelliJ
- Import the Maven project (might happen automatically, check the right sidebar for a Maven panel)
- Right click on the project (NewHorizonsServerCore) in the explorer on the left, Open Module Settings, in the Project subwindow choose Java 8 as the JDK.
- In the Maven sidebar, Lifecycle->package
- Find the jar in
target/NewHorizonsServerCore-VERSION.jar
From the terminal
- Make sure JAVA_HOME points to Java 8
- Run
mvn package - Find the jar in
target/NewHorizonsServerCore-VERSION.jar
To build with the git version number like in CI, use mvn -B package "-Drevision=$(git describe --tags)".