Quickstart
Requirements
- You must have Java 21 or later installed.
- This guide assumes you’re using a Bash-like shell. Use Linux for best results; on Windows, you can modify the scripts or use WSL.
- Docker is recommended to quickly run the required MongoDB and LuckPerms services.
Setup
-
Clone the Quickstart and Server repositories:
-
Install and start MongoDB and LuckPerms
-
Give yourself permissions:
By default, LuckPerms does not grant any permissions. To fix this, run the following command:
This creates a terminal where you can run LuckPerms commands in a session connected directly to the database. Then, in that terminal, run the following command:
If you want to be less permissive, you can give permissions to yourself:
See LuckPerms’s documentation for more information on permissions.
Once you’re done, press
CTRL + C
to close the terminal. Finally, restart your existing LuckPerms container to see the changes take effect. -
Run the server:
- If you are using IntelliJ, use the run configuration called “Run development server”
- If not, run the following command in the root of your project:
This will build the core Server project, the Lobby, and the example minigame, copy them into their appropriate locations, and then run the Server with the games installed.
-
Join the server. It should appear as a LAN world, but if not, the IP address will be
localhost
.
Further Reading
- Learn more about the
worlds
folder. - Explore the code of the Quickstart project and create your own game.