A open source and compatible Minecraft server that implements the SpongeAPI. It is licensed under the MIT License.
The following steps will ensure your project is cloned properly.
git clone --recursive https://github.com/LanternPowered/Lantern.git
cd Lantern
Note: If you do not have Gradle installed then use ./gradlew for Unix systems or Git Bash and gradlew.bat for Windows systems in place of any 'gradle' command.
In order to build LanternServer you simply need to run the gradle build
command. You can find the compiled JAR file in ./build/libs
labeled similarly to 'lanternserver-x.x.x-SNAPSHOT.jar'.
Note: If you do not have Gradle installed then use ./gradlew for Unix systems or Git Bash and gradlew.bat for Windows systems in place of any 'gradle' command.
For Eclipse
- Run
gradle eclipse
- Run
gradle genEclipseRunConfigurations
- Import LanternServer as an existing project (File > Import > General)
- Select the root folder for LanternServer
- Check LanternServer when it finishes building and click Finish
For IntelliJ
- Make sure you have the Gradle plugin enabled (File > Settings > Plugins)
- Click File > New > Project from Existing Sources > Gradle and select the root folder for LanternServer
- Select Use customizable gradle wrapper if you do not have Gradle installed.
- Once the project is loaded, run
gradle genIntelliJRunConfigurations
- IntelliJ will now ask to reload the project, click Yes