Plugin SDK

Build a Discord plugin in an afternoon. Get paid for it.

Write Python. Import the SDK. Decorate a handler. Push to GitHub — we run it, bill customers, and pay you 70–85% of revenue. No servers, no Stripe wiring, no Discord intents to debug.

pip install mmo-maid-sdk && mmo new my-first-plugin

What you actually do

You write the logic that turns Discord events into actions. That's it. Everything else is the platform.

┌─────────────────┐ ┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐ │ Discord event │────▶│ MMO Maid │────▶│ Your plugin's │────▶│ MMO Maid │ │ (msg, /cmd…) │ │ gateway │ │ handler │ │ sends to │ │ │ │ │ │ │ │ Discord │ └─────────────────┘ └──────────────────┘ └──────────────────┘ └──────────────────┘ ▲ │ you write this part

What the platform handles for you

Discord gateway

No WebSocket, no sharding, no intents, no rate limit math. The platform delivers events to your handlers and turns your return values into Discord API calls.

🐳 Hosting & scaling

No servers to rent, no Docker to manage, no 2 AM deploys. Push to GitHub — the platform runs your code in an isolated sandbox.

💳 Payments

Set a price. Customers pay through Stripe. You connect a bank account; monthly payouts land automatically. No Stripe Connect wiring needed from you.

📈 Marketplace

Listed in the marketplace from day one. Customers install with one click. Built-in reviews, install counts, and discovery.

🛡 Security

Your plugin runs in a sandbox with no network access, no DB credentials, no Discord tokens. If your code is ever compromised, the blast radius is exactly what the customer consented to install.

📊 Observability

Per-install metrics, error logs, version-over-version compare, customer reviews — in the Dev Portal from day one.

Revenue share

You keep most of the money. The platform takes a smaller cut as you grow.

70%
Default tier
Starting out
75%
$1K+ / 30d
Growing
80%
$5K+ / 30d
Established
85%
$10K+ / 30d
Top tier

Tiers are based on the last 30 days of gross revenue. Free plugins keep 100% — the cut only applies to paid installs.

From idea to live in 4 steps

1 Scaffold

mmo new my-plugin creates a starter project with manifest, tests, and a working !ping handler. Four templates: basic, slash, welcome, cron.

2 Develop

mmo dev --watch runs your plugin locally against mocked Discord. Hot reload on save. Test handlers with MockContext. No tokens, no DB.

3 Deploy

Push to GitHub. Auto-deploy fires on every push to your chosen branch. Capabilities are auto-detected from your code; the platform reviews and ships.

4 Earn

Set a price (or stay free). Customers install. Stripe payouts land monthly. Dev portal shows MRR, install retention, and reviews in real time.

Ready to ship something?

The Dev Portal will walk you through creating your first plugin slot. The SDK does the rest.