Skip to content
A open-source Minecraft server that implements the SpongeAPI.
Branch: master
Clone or download
Latest commit b35c604 Apr 15, 2019

README.md

Lantern Build Status Discord

A open source and compatible Minecraft server that implements the SpongeAPI. It is licensed under the MIT License.

Prerequisites

Clone

The following steps will ensure your project is cloned properly.

  1. git clone --recursive https://github.com/LanternPowered/Lantern.git
  2. cd Lantern

Building

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'.

IDE Setup

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

  1. Run gradle eclipse
  2. Run gradle genEclipseRunConfigurations
  3. Import LanternServer as an existing project (File > Import > General)
  4. Select the root folder for LanternServer
  5. Check LanternServer when it finishes building and click Finish

For IntelliJ

  1. Make sure you have the Gradle plugin enabled (File > Settings > Plugins)
  2. Click File > New > Project from Existing Sources > Gradle and select the root folder for LanternServer
  3. Select Use customizable gradle wrapper if you do not have Gradle installed.
  4. Once the project is loaded, run gradle genIntelliJRunConfigurations
  5. IntelliJ will now ask to reload the project, click Yes
You can’t perform that action at this time.