Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 782 Bytes

File metadata and controls

54 lines (36 loc) · 782 Bytes

bedrock-gophers/plugin

Plugin host + SDK for Dragonfly, with support for:

  • C# plugins (NativeAOT .so)

Quick Start

Run the server + plugin build pipeline in Docker:

./start.sh

Run with PowerShell on Windows:

./start.ps1

Project Layout

  • cmd/ - server entrypoint
  • plugin/ - C# SDK
  • plugins/ - C# example plugins
  • internal/generator/output/ - generated Go/C/C# interop bindings (Go output kept as generated SDK example)

Development

Show available make targets:

make help

Typical local checks:

make test

Regenerate interop bindings:

make generate

Notes

  • C# plugins are loaded from native shared libraries.
  • For plugin reload while running, use:
/pl reload all