Skip to content
Public template
forked from df-mc/template

About

Template for creating Dragonfly servers

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dragonfly Server Template (df-mc/template)

A template repository for creating Minecraft Bedrock Edition servers powered by Dragonfly.


⚙️ Configuration & Dev Mode

The server configuration file config.toml includes support for developer options and automated testing via github.com/BedrockMC/tester:

[World]
  Folder = "world"
  Name = "World"

[Dev]
  Dev = true
  EnableTestRunner = true
  ExportResults = "test_results.json"
  • Dev: Toggles developer mode.
  • EnableTestRunner: Enables automated unit/integration test execution using test-library upon server startup.
  • ExportResults: Specifies a file path to export test results in JSON format.

🚀 Running the Server

go run main.go

If Dev and EnableTestRunner are set to true, the test runner will automatically execute registered Dragonfly test suites, output a formatted report to console, export test_results.json, and start accepting player connections.

About

Template for creating Dragonfly servers

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages