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
- Install the .NET 10 runtime. Obsidian runs wherever it does: Windows, Linux and macOS.
- Open the latest successful run of the .NET Build workflow and download Obsidian-Nightly-Build from the bottom of its page. Unzip it anywhere.
- Run
dotnet ObsidianApp.dll. The first run writes the config files and stops. - Fill in
config/server.jsonand run it again. - 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.
- Clone the repository:
git clone --recurse-submodules https://github.com/ObsidianMC/Obsidian.git - Go into it:
cd Obsidian - Uncomment and edit the options you want in
docker-compose.yml. - Run
docker compose up --build -d. Server files persist in theobsidian-filesnamed 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:
- Clone the repository and go into it, as above.
- Build the image:
docker build . -t obsidian - Run it:
docker run -d -p 25565:25565 -v /path/to/server-files:/files --name obsidian obsidian - 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 ... - 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
- Write a plugin: start from the plugin template and read writing a plugin. Plugins like this keep the server open to vanilla clients.
- Add blocks, items or entities that players install a mod for: start from the mod template and read the mod system.
- Something broken? Open an issue, or ask on Discord.