Skip to content

Installation and Setup

BeestoXd edited this page Jul 29, 2026 · 2 revisions

Installation & Setup Guide

This guide provides step-by-step instructions for installing and configuring UltimateDonutSMP across single servers or multi-server Minecraft networks.


System Requirements

Requirement Minimum / Supported Notes
Java Version Java 21+ Minecraft 26.1+ requires Java 25
Server Engine Paper, Spigot, Folia Native multi-threading on Folia
Minecraft Versions 1.21.1026.2 Folia: 1.21.1126.1.2
Build Tools Maven (mvn), Windows PowerShell Tested on Windows / Linux environments

Installation Steps

  1. Download or Build Plugin:

    • Compile the project using Maven:
      mvn clean package
    • Locate UltimateDonutSmp-1.3.jar inside the target/ directory.
  2. Place JAR File:

    • Copy UltimateDonutSmp-1.3.jar into your server's plugins/ directory.
  3. Start the Server:

    • Run your server start script. On first startup, UltimateDonutSMP will generate the default configuration directory: plugins/UltimateDonutSmp/

Database Setup (database.yml)

UltimateDonutSMP supports three storage backends: SQLite, MySQL, and MongoDB.

Configure your database settings in plugins/UltimateDonutSmp/database.yml:

STORAGE:
  TYPE: SQLITE # Options: SQLITE, MYSQL, MONGODB

MYSQL:
  HOST: "localhost"
  PORT: 3306
  DATABASE: "ultimatedonutsmp"
  USERNAME: "root"
  PASSWORD: "password"
  POOL-SIZE: 10

MONGODB:
  URI: "mongodb://localhost:27017"
  DATABASE: "ultimatedonutsmp"

Tip

SQLite requires zero external setup and is bundled with a shaded JDBC driver. For multi-server BungeeCord/Velocity networks, use MySQL or MongoDB to keep player balances, homes, stats, and inventories synchronized.


Redis Network Layer Setup (network.yml)

For multi-server networks, UltimateDonutSMP provides cross-server staff chat, network alerts, maintenance routing, and live status menus via Redis.

Configure plugins/UltimateDonutSmp/network.yml:

REDIS:
  ENABLED: true
  HOST: "127.0.0.1"
  PORT: 6379
  PASSWORD: ""
  CHANNEL: "uds_network"

SERVER-IDENTIFIER: "smp-01"

Automatic Configuration Sync & Backups

UltimateDonutSMP automatically handles configuration updates and player data backups:

  • Auto Sync: Updated settings in config.yml automatically hot-reload or auto-merge without overwriting custom edits.
  • Backups: Player data and economy state are saved periodically to prevent data loss during sudden server crashes.

Clone this wiki locally