Getting Started
Set up and run YggUtils for the first time in under five minutes.
Prerequisites
Before you begin, make sure you have:
- Java installed — use the same version your Minecraft server JAR requires
- Your Minecraft server
.jarfile present in the directory you'll run YggUtils from - A Yggdrasil-compatible authentication server URL
Installation
Download the latest YggUtils.jar from the GitHub releases page and place it in the same directory as your server JAR.
Your folder should look like this:
/server
├── YggUtils.jar
├── server.jar
├── server.properties
└── ...Setup
Generate the config
Run YggUtils once. Since no config exists yet, it will generate YggUtils.yml and exit immediately.
java -jar YggUtils.jarYou'll see:
[YggUtils] No configuration found. A default config has been generated: YggUtils.yml
[YggUtils] Please fill in 'authserver' and 'serverfile' before running again.Edit the config
Open YggUtils.yml and fill in both fields:
authserver: https://your.auth.server
serverfile: server.jar| Field | Description |
|---|---|
authserver | Root URL of your Yggdrasil-compatible authentication server |
serverfile | Filename of your Minecraft server JAR, relative to the working directory |
Start the server
Run YggUtils again. It will silently launch your server with authlib-injector attached.
java -jar YggUtils.jarAll server output passes through to your console exactly as normal.
Warning
If either authserver or serverfile is left unchanged in the config, YggUtils will print a warning and exit without starting the server.