I'm trying to create a Java plugin for Minecraft, from an open source code. I'm really a beginner in this field, this is also my first thread here. My question is : How do I create this Java file, from the source code? I have Eclipse, but I don't really know what to do! Can someone please explain me how to do it? Or even if you can give me a tutorial, it would be really helpful!
Here's the Source Code : https://github.com/Gregory1346/NavyCraft-Reloaded/releases/tag/v3.0.0-beta-1
Thanks in advance for your help!
CodePudding user response:
The given project is a maven project. I know it thanks to the pom.xml
file. You can take a look here about how to config maven project.
- Import this project (with the link of the github project, not the 3.0.0 tag) in eclipse
- Right click on project
- In "Run as" section, use
Maven install
. There is also other options to update your project or dependencies.
It will generate jar in target
folder.
If it failed, you should check for outdated maven dependencies, or ask the author that gave some way to contact him on the github page