How to Create Your Own Marketplace Provider
1. Fork this Repo
Click the Fork button at the top of the page to get started.
2. Add your mod or theme
• Put your mod zip file in: Assets/Mods/Content
• Put your theme zip file in: Assets/Theme/Content
• Drop your thumbnail file in: Assets/thumbnails
3. Update the config so Lution knows what to do
Step 1: content.json
You need to tell Lution what each mod or theme is.
For mods: Edit Assets/Mods/content.json
For Themes: Edit Assets/Themes/content.json
Example format :
[
{
"title": "My Mod",
"body": "My first ever mod",
"image": "https://yourimage.com/image.png",
"button": "Download",
"creator": "you",
"version": "version-xxxxxxxxxxxxxxxx",
"sb": "unknown"
}
]
What each field means:
title
: Name of the mod/themebody
: Short descriptionimage
: Thumbnail image URL (GitHub, Catbox, etc.)button
: Just leave as "Download"creator
: The creator of the mod/themeversion
: The version that compatible with the mod/themesb
: Stability status (stable
,unstable
, orunknown
)
Same structure applies for themes.
Step 2: info.json
This tells Lution the actual file paths for your mods/themes. Example for mods (Assets/Themes/info.json
):
[
{ "name": "My Mod", "path": "Assets/Mods/Content/mymods.zip" }
]
Important :
- The
"name"
must match exactly with the"title"
incontent.json
- The
"path"
is the full path to your.zip
in your repo
4. Config the Marketplace setting
When you're done, go to Marketplace Settings and set your marketplace provider name to your repo. (e.g YourUser/Lution-Marketplace
)