Skip to content

Start here

Getting started

Obsidian is in early development: worlds and config can change between versions, so run it on a world you can afford to lose.

Run a development build

  1. Install the .NET 10 runtime. Obsidian runs wherever it does: Windows, Linux and macOS.
  2. Open the latest successful run of the .NET Build workflow and download Obsidian-Nightly-Build from the bottom of its page. Unzip it anywhere.
  3. Run dotnet ObsidianApp.dll. The first run writes the config files and stops.
  4. Fill in config/server.json and run it again.
  5. Connect with a Minecraft 26.3 client on port 25565.

The first start needs internet access: Obsidian downloads the vanilla server jar from Mojang to extract the structure templates it can't ship, and caches them in cache/.

Run it with Docker Compose

The Compose sample lists every writable server, network, message, RCON, whitelist and world setting as a commented environment option.

  1. Clone the repository: git clone --recurse-submodules https://github.com/ObsidianMC/Obsidian.git
  2. Go into it: cd Obsidian
  3. Uncomment and edit the options you want in docker-compose.yml.
  4. Run docker compose up --build -d. Server files persist in the obsidian-files named volume, mounted at /files.

Environment values override the saved configuration files; omitted values fall back to those files, then to the built-in defaults. Nested properties use double underscores (Network__CompressionThreshold), and lists use zero-based indexes (Worlds__0__Seed, WhitelistedPlayers__0__Name). Quote every Compose environment value.

Changing an environment value takes recreating the container with docker compose up -d; the values aren't written into the saved configuration. A seed override only affects chunks generated after it, not existing ones.

Run it with Docker

There is no published image yet, so build one from the repository:

  1. Clone the repository and go into it, as above.
  2. Build the image: docker build . -t obsidian
  3. Run it: docker run -d -p 25565:25565 -v /path/to/server-files:/files --name obsidian obsidian
  4. Obsidian creates its configuration files in /path/to/server-files/config/. Edit them, or pass overrides as environment variables: docker run -e MaxPlayers=50 -e Network__CompressionThreshold=256 ...
  5. Start the container again: docker restart obsidian

Build it from source

Building needs the .NET 10 SDK, Java 25 or newer (on the PATH or in JAVA_HOME) and internet access. dotnet build Obsidian.slnx downloads the vanilla server jar of the version set in Obsidian/Obsidian.csproj (MinecraftVersion), runs its data generators, and generates the git-ignored Obsidian/Assets on the first build. Later builds reuse those assets until the version or the generator changes.

Next

On this page