Skip to content

LanternPowered/Pingy

Repository files navigation

Pingy Build Status

A minimal Minecraft ping server. It is licensed under the MIT License.

Prerequisites

Clone

The following steps will ensure your project is cloned properly.

  1. git clone https://github.com/LanternPowered/Pingy.git
  2. cd Pingy

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 Pingy you simply need to run the gradle build command. You can find the compiled JAR file in ./build/libs labeled similarly to 'pingy-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 Pingy as an existing project (File > Import > General)
  4. Select the root folder for Pingy
  5. Check Pingy 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 Pingy
  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