Start Bungee Server - aki-ks/sbt-bukkit GitHub Wiki
Preparation
Before you can start a server, you need a bungeecord jar file. You can download it from their jenkins page.
If you have the server jar file on your computer, you can tell SbtBukkit where it can be found.
bungeecordJar := "/home/user/Downloads/BungeeCord.jar"
If you publish your plugin on GitHub you might put these lines in an extra .sbt file and add it to the .gitignore file.
Start Server
When executing Bungee/startServer
, SbtBukkit will package your plugin into the plugins folder of the configured server directory and start that server.
The server directory is set by the serverDirectory
key:
Bungee / serverDirectory := file("/home/user/Desktop/bungee-server")
Start Server in external terminal
If you don't want to launch your server within sbt, you can package your plugin (Bungee/packagePlugin
) and then start the server as usual.