Create Your Own Marketplace Provider
A personal marketplace provider enables you to host your own collection of mods and themes. It’s ideal for testing creations, sharing with a small group, or curating a custom collection for your community.
Setup Guide
Section titled “Setup Guide”-
Fork the Marketplace Repository Create your own copy of the marketplace structure by forking the Lution-Marketplace repository on GitHub.
-
Add Your Content Files In your forked repository, upload your
.zip
files and thumbnails to the appropriate folders:- Mod
.zip
files →Assets/Mods/Content/
- Theme
.zip
files →Assets/Themes/Content/
- Thumbnail images →
Assets/thumbnails/
- Mod
-
Configure the Metadata JSON
content.json
: Defines how items are shown in the UI (inAssets/Mods/content.json
andAssets/Themes/content.json
).info.json
: Maps display names to.zip
file paths (inAssets/Mods/info.json
andAssets/Themes/info.json
).
-
Activate Your Marketplace in Lution After pushing your changes to GitHub, configure Lution to use your personal repository via the Marketplace Settings. Enter your repo in the format
YourUsername/YourRepoName
.
1. Fork the Marketplace Repository
Section titled “1. Fork the Marketplace Repository”Start by forking the Lution-Marketplace
repo. This will give you your own working copy to modify, without impacting the original.
2. Add Your Content Files
Section titled “2. Add Your Content Files”Organize and upload your content:
- Mods: Place
.zip
files inAssets/Mods/Content/
- Themes: Place
.zip
files inAssets/Themes/Content/
- Thumbnails: Add image files to
Assets/thumbnails/
3. Configure the Metadata
Section titled “3. Configure the Metadata”A. content.json
Section titled “A. content.json”This file controls how items are displayed in the marketplace.
Example entry:
[ { "title": "My Mod", "body": "My first mod", "image": "https://raw.githubusercontent.com/YourUser/Lution-Marketplace/main/Assets/thumbnails/my-mod.png", "button": "Download", "creator": "YourName", "version": "version-a1b2c3d4", "sb": "stable" }]
title
: Item namebody
: Short descriptionimage
: Raw GitHub URL to the thumbnail imagebutton
: Button label (e.g., “Download”)creator
: Author’s nameversion
: Compatible game versionsb
: Stability status (stable
,unstable
,unknown
)
B. info.json
Section titled “B. info.json”This file links the displayed name to the actual .zip
file.
Example entry:
[ { "name": "My Mod", "path": "Assets/Mods/Content/mymod.zip" }]
Note:
"name"
must exactly match the"title"
incontent.json
. The"path"
is a relative path to your.zip
file.
4. Use Your Marketplace in Lution
Section titled “4. Use Your Marketplace in Lution”Once your changes are committed:
- In Lution, navigate to Marketplace Settings.
- Enter your GitHub repository in the format:
YourUsername/YourRepoName
(e.g.,Chip/Lution-Marketplace
) - Lution will now load your mods and themes directly from your customized marketplace.
Summary
Section titled “Summary”Here’s the directory structure for clarity:
Directory
Assets/
Directory
Mods/
Directory
Content/
your-mod.zip
content.json
info.json
Directory
Themes/
Directory
Content/
your-theme.zip
content.json
info.json
Directory
thumbnails/
your-mod.png
README.md (optional)