YggUtilsYggUtils

Configuration

Complete reference for YggUtils.yml — every field, type, default, and validation rule.

YggUtils is configured through a single YAML file — YggUtils.yml — located in the same directory you run the JAR from.

Generating the Config

If YggUtils.yml does not exist when YggUtils starts, it is created automatically and YggUtils exits immediately with code 0:

authserver: ''
serverfile: ''

Fill in both fields and run YggUtils again.

Fields

authserver

PropertyValue
Typestring
RequiredYes
Default(empty)

The root URL of your Yggdrasil-compatible authentication server. This is passed directly to authlib-injector as the agent argument.

authserver: https://auth.example.com

Warning

Provide only the root URL. Do not include a trailing path — authlib-injector appends the necessary API paths itself.

serverfile

PropertyValue
Typestring
RequiredYes
Default(empty)

The filename of the Minecraft server JAR to launch, relative to the working directory.

serverfile: server.jar

YggUtils verifies this file exists on disk before starting. If it does not exist, YggUtils exits with code 1.

Full Example

authserver: https://auth.example.com
serverfile: fabric-server-launch.jar

Validation Rules

ConditionBehaviourExit Code
File does not existConfig generated, prompts to fill it in0
authserver is emptyWarning printed, server not started0
serverfile is emptyWarning printed, server not started0
serverfile file not found on diskError printed1

Reconfiguring

Edit YggUtils.yml directly and restart YggUtils to apply changes. To reset to a blank config, delete the file and run YggUtils once to regenerate it.

On this page