-
Notifications
You must be signed in to change notification settings - Fork 4
Getting Setup
akielkucki edited this page Mar 29, 2023
·
8 revisions
I tried to make this as easy as possible. If you're using IntelliJ just do the following.
-
Create a new project
-
In the create dialog select
Maven -> create from archetype
-
Click
Add archetype
on the right-hand side -
Type in the following:
- group:
in.kyle.mcspring
- artifact:
mcspring-starter
- version:
0.0.8
<-- Change this to the latest release over here if I forget to update it.
- group:
Then a project will be created for you with a project-specific Spigot folder already set up for you.
Next:
- Run a Maven install to create the required files
- Create a new JAR run configuration
- Select the downloaded
spigot.jar
in thespigot
folder as the target - Change the run environment to the
spigot
folder - Add the following VM flag
-DIReallyKnowWhatIAmDoingISwear
- Add the following Program Argument
--nogui
- To update the plugin on the server, just run a maven install and restart the server.
Now that you're all set up, head over here and read about how to define commands in mcspring. Also, head over here to read about what to do now that you don't have a main class or plugin.yml.