Moongate.Plugins
0.1.0-develop.5
dotnet add package Moongate.Plugins --version 0.1.0-develop.5
NuGet\Install-Package Moongate.Plugins -Version 0.1.0-develop.5
<PackageReference Include="Moongate.Plugins" Version="0.1.0-develop.5" />
<PackageVersion Include="Moongate.Plugins" Version="0.1.0-develop.5" />
<PackageReference Include="Moongate.Plugins" />
paket add Moongate.Plugins --version 0.1.0-develop.5
#r "nuget: Moongate.Plugins, 0.1.0-develop.5"
#:package Moongate.Plugins@0.1.0-develop.5
#addin nuget:?package=Moongate.Plugins&version=0.1.0-develop.5&prerelease
#tool nuget:?package=Moongate.Plugins&version=0.1.0-develop.5&prerelease
Moongate
Overview
Moongate Next is a .NET server framework for Ultima Online shard experiments. It combines UO networking, YAML-backed data assets, Lua scripting, explicit plugin extension points, persistence, metrics, and DocFX documentation in a single modern runtime.
Build
dotnet build Moongate.slnx
Test
dotnet test Moongate.slnx
Documentation
Moongate uses DocFX for documentation and API reference generation.
dotnet tool restore
dotnet build Moongate.slnx --configuration Release
dotnet tool run docfx docs/docfx/docfx.json
The generated site is written to docs/docfx/_site. GitHub Pages deployment is
handled by the Docs workflow.
Web UI
The web UI lives under ui/ and is built with Vite.
cd ui
npm install
npm run build
During local development, run the server separately and start Vite:
cd ui
npm run dev
The Vite dev proxy targets http://127.0.0.1:5265 by default. Override it with
VITE_API_TARGET when the backend runs on a different URL.
The server Dockerfile builds the UI and copies ui/dist into the published
server wwwroot directory.
The admin portal dashboard reads the existing server endpoints:
GET /api/versionfor server version and codename.GET /api/auth/mefor the current authenticated admin identity.GET /metricsfor runtime, network, event bus, timer, and persistence metrics.GET /api/docsfor Scalar API documentation.
The admin Metrics view renders client-side time-series panels from /metrics
and refreshes while the view is open.
The first admin dashboard phase intentionally does not manage map or item image generation.
Configuration
Moongate uses YAML for runtime configuration. The main server config is
moongate.yaml in the runtime config directory. Trusted plugins use
plugin.yaml in their plugin directory.
The UO starting location uses a named map facet and compact world coordinates:
uo:
client_files_directory: ~/uo
starting_map: Trammel
starting: 1496,1628,10
starting_city: Britain
Commands
Moongate exposes one command registry for built-in server commands and trusted
plugins. Commands can be executed from the interactive server console or from
in-game speech with the . prefix, for example .help.
Plugins register commands during Configure through
PluginContext.RegisterCommand. No source generator is required; command
registration is explicit and can choose console-only, in-game-only, or shared
sources.
Lua scripts can register commands through the commands module:
commands.register("hello", "all", "Greets the caller.", function(ctx)
return "hello " .. ctx.args[1]
end)
Bundled Data Assets
Moongate ships editable YAML reference data under
src/Moongate.Server/Assets.
Assets/data/uo_files/contains static UO reference data used by the UO data stores.Assets/data/contains server world data such as locations, regions, teleporters, weather, containers, decorations, signs, doors, and spawns.
At startup, missing bundled YAML files are copied from embedded resources into the runtime data directory. Existing runtime files are never overwritten, so operators can customize shard data after first boot.
After the data seed runs, Moongate registers lazy world data services for doors, spawns, teleporters, regions, weather, containers, locations, names, professions, signs, decorations, and mount conversion data. Each service loads its YAML data on first query and can be reloaded through the common data service contract.
License
Apache-2.0 - see LICENSE. Some source files carry separate license notices that apply to those files.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- DryIoc.dll (>= 5.4.3)
- Moongate.Abstractions (>= 0.1.0-develop.5)
- Moongate.Core (>= 0.1.0-develop.5)
- Serilog (>= 4.3.1)
- YamlDotNet (>= 18.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-develop.5 | 56 | 6/10/2026 |
| 0.1.0-develop.4 | 47 | 6/10/2026 |
| 0.1.0-develop.3 | 51 | 6/9/2026 |
| 0.1.0-develop.2 | 56 | 6/9/2026 |
| 0.1.0-develop.1 | 50 | 6/9/2026 |