Version 3 of our minecraft gameserver modification. It is licensed under the MIT License.
- Java 6
The following steps will ensure your project is cloned properly.
git clone git@github.com:nailed/nailed.git
cd nailed
git submodule update --init --recursive
Note: If you do not have Gradle installed then use ./gradlew for Unix systems or Git Bash and gradlew.bat for Windows systems instead of any 'gradle' command.
For IntelliJ
- Run
gradle setupNailed
- Run
gradle idea
- Open the generated nailed.ipr file in IntelliJ
- When IntelliJ asks you to import the gradle project, click on
Import gradle project
For Eclipse
- Currently we do not support Eclipse. IntelliJ is our only supported IDE
Note: The following is aimed to help you setup run configurations for IntelliJ, if you do not want to be able to run Nailed directly from your IDE then you can skip this.
For IntelliJ
- Go to Run > Edit Configurations.
- Click the green + button and select Application.
- Set the name as
Nailed
and apply the information below. - When launching the server for the first time, it will shutdown by itself. You will need to modify the settings.conf to set onlinemode=false and modify the eula.txt to set eula=true (this means you agree to the Mojang EULA, if you do not wish to do this then you cannot run the server).
Server
Property | Value |
---|---|
Main class | net.minecraft.launchwrapper.Launch |
Program Options | --tweakClass=jk_5.nailed.server.tweaker.NailedTweaker |
Working directory | ./runtime |
Module classpath | nailed |
Note: If you do not have Gradle installed then use ./gradlew for Unix systems or Git Bash and gradlew.bat for Windows systems instead of any 'gradle' command.
In order to build Nailed you simply need to run the gradle buildPackages
command. You can find the compiled JAR files in ./build/libs
labeled similarly to 'nailed-x.x.x-SNAPSHOT.jar'.
Are you a talented programmer looking to contribute some code? We'd love the help!
- Open a pull request with your changes, following our guidelines.
- Please follow the above guidelines for your pull request(s) to be accepted.