This gradle plugin is made to be able to run any minecraft server type inside of you IDE. (See below for all supported jars)
- SPIGOT
- CRAFTBUKKIT
- PAPERMC
- PUFFERFISH
- PURPUR
- BUNGEECORD
- WATERFALL
- VELOCITY
- FOLIA
To import the plugin you will need to add this to your build.gradle.kts
id("com.undefinedcreation.runServer") version "0.0.2"
There are multiple configurations that you can use (See below).
runServer {
//Minecraft server its running (Do check if the version does exist)
mcVersion("1.20.4")
//Change the amount of ram allowed by the server
allowedRam("4G")
//If there should be a gui
noGui(true)
//Accept the mojang eula
acceptMojangEula(true)
}
If you have any questions or need help using this plugin please join the discord server