Skip to content

bedrock-gophers/plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bedrock-gophers/plugin

Plugin host + SDK for Dragonfly, with support for:

  • Go plugins (.so)
  • C# plugins (NativeAOT .so)
  • Rust plugins (cdylib .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/ - host runtime + ABI + SDKs
  • plugins/ - example plugins (vanilla in Rust, plugin in Go, csharp)

Development

Show available make targets:

make help

Typical local checks:

make test

Regenerate internal generated code:

make generate

Notes

  • C# plugins require cgo in the host build and are loaded from native shared libraries.
  • For plugin reload while running, use:
/pl reload all

About

Native dragonfly plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors