VOOZH about

URL: https://www.nuget.org/packages/Moongate.Plugins/

⇱ NuGet Gallery | Moongate.Plugins 0.1.0-develop.5




👁 Image
Moongate.Plugins 0.1.0-develop.5

This is a prerelease version of Moongate.Plugins.
dotnet add package Moongate.Plugins --version 0.1.0-develop.5
 
 
NuGet\Install-Package Moongate.Plugins -Version 0.1.0-develop.5
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Moongate.Plugins" Version="0.1.0-develop.5" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Moongate.Plugins" Version="0.1.0-develop.5" />
 
Directory.Packages.props
<PackageReference Include="Moongate.Plugins" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Moongate.Plugins --version 0.1.0-develop.5
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Moongate.Plugins, 0.1.0-develop.5"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Moongate.Plugins@0.1.0-develop.5
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Moongate.Plugins&version=0.1.0-develop.5&prerelease
 
Install as a Cake Addin
#tool nuget:?package=Moongate.Plugins&version=0.1.0-develop.5&prerelease
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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/version for server version and codename.
  • GET /api/auth/me for the current authenticated admin identity.
  • GET /metrics for runtime, network, event bus, timer, and persistence metrics.
  • GET /api/docs for 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 . Some source files carry separate license notices that apply to those files.

Product Versions Compatible and additional computed target framework versions.
.NET net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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