SDK for building MMO Maid Marketplace plugins
Project description
MMO Maid SDK
SDK for building plugins for the MMO Maid Discord bot platform.
MMO Maid runs marketplace plugins in sandboxed Docker containers. This SDK is the official Python interface plugins use to receive Discord events, call the Discord API, store data, render dashboards, and emit metrics — all routed through the platform so plugins never need direct network access or credentials.
Install
pip install mmo-maid-sdk
Python 3.10 or newer.
Hello, plugin
from mmo_maid_sdk import Plugin, Context
plugin = Plugin()
@plugin.on_event("message_create")
def on_message(ctx: Context, event: dict):
if "!ping" in event.get("content", ""):
ctx.discord.send_message(
channel_id=event["channel_id"],
content="Pong!",
)
plugin.run() # must be the last line
Drop this in a folder named my_plugin/ as __main__.py, zip it, and upload it
via the Developer Portal.
CLI
The package installs an mmo command for scaffolding and a local dev loop:
mmo new my_plugin # scaffold a new plugin from the template
mmo dev # run your plugin locally against a mock host
Documentation
Full plugin contract, capability reference, and publishing guide:
- Docs: https://mmomaid.com/dev/docs
- Developer Portal: https://mmomaid.com/dev
License
MIT — see LICENSE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mmo_maid_sdk-0.5.2.tar.gz.
File metadata
- Download URL: mmo_maid_sdk-0.5.2.tar.gz
- Upload date:
- Size: 40.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa33c27c9efee48fd93d992f32e0bd933aac15955c0654d045389a5ac61ef15c
|
|
| MD5 |
15840ff8243e5a59eddbb8ec544c8d91
|
|
| BLAKE2b-256 |
0cefbdd6ed8a2226ad3fbffd4886ce45743df88a2f283dea5c5051cf5fd371bd
|
Provenance
The following attestation bundles were made for mmo_maid_sdk-0.5.2.tar.gz:
Publisher:
publish.yml on NotUSeee/mmo-maid-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mmo_maid_sdk-0.5.2.tar.gz -
Subject digest:
fa33c27c9efee48fd93d992f32e0bd933aac15955c0654d045389a5ac61ef15c - Sigstore transparency entry: 1527426537
- Sigstore integration time:
-
Permalink:
NotUSeee/mmo-maid-sdk@0ae67e43ccd5488aa45fe8a1797d3885a5a310aa -
Branch / Tag:
refs/tags/v0.5.2 - Owner: https://github.com/NotUSeee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0ae67e43ccd5488aa45fe8a1797d3885a5a310aa -
Trigger Event:
push
-
Statement type:
File details
Details for the file mmo_maid_sdk-0.5.2-py3-none-any.whl.
File metadata
- Download URL: mmo_maid_sdk-0.5.2-py3-none-any.whl
- Upload date:
- Size: 42.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38c26da07cf55ff158bc76c5c3bc399ba996ffeaa65f8c8eca55068429cca382
|
|
| MD5 |
95c4f782d28be21550effe1b38fb065b
|
|
| BLAKE2b-256 |
879ff437eb85877e3b2a3a8f6de91bf27595737e3c45ef1e01c72e77504b2525
|
Provenance
The following attestation bundles were made for mmo_maid_sdk-0.5.2-py3-none-any.whl:
Publisher:
publish.yml on NotUSeee/mmo-maid-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mmo_maid_sdk-0.5.2-py3-none-any.whl -
Subject digest:
38c26da07cf55ff158bc76c5c3bc399ba996ffeaa65f8c8eca55068429cca382 - Sigstore transparency entry: 1527426631
- Sigstore integration time:
-
Permalink:
NotUSeee/mmo-maid-sdk@0ae67e43ccd5488aa45fe8a1797d3885a5a310aa -
Branch / Tag:
refs/tags/v0.5.2 - Owner: https://github.com/NotUSeee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0ae67e43ccd5488aa45fe8a1797d3885a5a310aa -
Trigger Event:
push
-
Statement type: