//go:build refugebot

package main

// Maintainer build (-tags refugebot): embeds the proprietary RefugeBot
// 7DTD plugin (DLLs + assets) from embedded_mods/refugebot/. That
// directory is gitignored — it exists only on the maintainer's machine,
// so this file does not compile from a clean public checkout (which is
// the point: the default build ships zero proprietary bytes).

import "embed"

//go:embed embedded_mods
var embeddedModsFS embed.FS

var installableMods = []InstallableMod{
	{
		ID:            "refugebot",
		DisplayName:   "RefugeBot Agent",
		Description:   "Connects this 7DTD server to app.refugegaming.org for hosted admin, economy, shop, donor tiers, and Discord bridge. Requires a tenant + AgentKey from app.refugegaming.org (Starter or Pro plan). After install, open http://<this-host>:8765 to paste the AgentKey.",
		SupportedGame: []string{"7dtd"},
		Source:        "embedded:refugebot",
		TargetPath:    "/game/Mods",
		TargetSubdir:  "zzzzzzzRefugeBot",
		RestartAfter:  true,
	},
}

// capRefugeBot feeds GET /api/capabilities so the UI shows the
// RefugeBot install checkbox and SaaS link.
const capRefugeBot = true
