Skip to the content.

Developer Guide

This guide helps you read, navigate, and modify the OpenSimulator source code. It assumes you are comfortable with C# and want to know where things live so you can fix a bug or build a feature without getting lost.

All paths below are relative to the OpenSim/ directory of the source tree (e.g. OpenSim/Region/Application/...).

Quick mental model

OpenSim is two programs that talk over HTTP:

Both are built from many small .csproj projects (one per folder), orchestrated by prebuild.xml at the repo root – not one giant project.

Sections

  1. Architecture overview – entry points, the module system, and how services vs connectors work.
  2. Where to look – a “I want to change X → start here” index.
  3. Data flow – walkthroughs of login and region teleport/crossing.
  4. Sim-to-sim and sim-to-Robust protocols – HTTP methods, paths, and example request/response bodies (local grid and Hypergrid).
  5. Region module events – lifecycle methods and the EventManager / IClientAPI events an optional module can hook.

Before you dig in