These docs have been generated using AI. Expect inaccuracies until we remove this banner.
- Docs
- Developers
For Plugin Developers
Add one header to your plugin and distribute it from your own server. No approval process, no gatekeepers.
The Basics
/**
* Plugin Name: My Plugin
* Version: 1.0.0
* Troy: repo.example.com
*/
That's it. Users with Troy Client installed will receive updates from repo.example.com.
In This Section
- Quick Start — Get Troy working in 5 minutes
- Troy Headers — Header reference
- Dependencies — Declare plugin dependencies
- Troy Embed — Auto-install Troy Client (code snippet)
- Troy Installer — Auto-install Troy Client (plugin)
You'll Also Need
To distribute plugins via Troy, you need a Troy Server. See Troy Server Installation.
Ensuring Troy Client is Available
Users need Troy Client to receive updates. Choose a method:
| Method | Best For | Complexity |
|---|---|---|
| Documentation | Simple plugins, tech-savvy users | Low |
| Troy Installer | Premium plugins, seamless experience | Medium |
| Troy Embed | Minimal overhead, silent installation | Low |
Next Steps
Start with the Quick Start guide to add Troy support to your first plugin, then explore Troy Headers for advanced configuration options.
