Welcome! This project will get you up and running with BlueDragon's server software.
Prerequisites:
- Java 21 or later installed
- Docker installed and running
-
Clone this repo and the Server repo:
git clone https://github.com/BlueDragonMC/Quickstart git clone https://github.com/BlueDragonMC/Server
-
Install and start MongoDB and LuckPerms
The easiest way to do this is with Docker. Once you have Docker installed, follow the Creating a Network, MongoDB, and LuckPerms sections of this guide.
-
Run the Gradle task:
./gradlew runDev
(on Windows, it would be
gradlew.bat runDev
)This will install dependencies, build the project, and start up an instance of the BlueDragon core server with your game plugin preinstalled. Whenever you make a change, rerun the Gradle task and your server will restart with the updated plugin.
-
You should see the server appear in your multiplayer menu as a LAN world. If not, join
localhost
.
Running this server in production requires a few additional considerations, but it allows you to run multiple game servers that coordinate together using an external service (Puffin). For more information on what services BlueDragon runs, see this section of our docs.
To learn how to deploy BlueDragon systems on baremetal, Docker, or Kubernetes, see these guides.