A web tool and API for checking mod compatibility with the Rimworld Multiplayer Mod by Zetrith.
Usage
Running Locally
Contributing
Resources
Contact
User website <-- Click here to use the tool!
To use the API:
curl -d "@/path/to/ModsConfig.xml" -H "Content-Type: text/xml" -X POST https://modlist-consultant.herokuapp.com/consult
Accepts application/xml
or text/xml
Returns application/json
in the format:
interface ResponseFormat {
[steamId: string]: {
steamId: string // The steamID of the mod
modName: string // The name of the mod
compatibility: CompatibilityType // Level of compatibility (enum)
}
}
enum Compatibility {
Unknown, // (0) Compatibility for this mod is not tested
No, // (1) Not compatible
Minor, // (2) Some features working
Major, // (3) Most features working
Full, // (4) All features working
}
You can host your own server at http://localhost:3000
with the following steps.
The .env file contains private credentials that cannot be shared on a repository. You will have to create a set of credentials for yourself. It has the following format
G_SPREADSHEET_ID='<spreadsheetID>' # This should be 1jaDxV8F7bcz4E9zeIRmZGKuaX7d0kvWWq28aKckISaY
G_SPREADSHEET_CREDENTIALS='<secretKey>' # Stringified JSON of your Google Service Account Key
You must provide a Google service account for two-legged OAuth2 with the Google Spreadsheets API. You can create one for free with usage limits.
Install the dependencies. This will automatically build the project.
npm i
Then run the project.
npm start
To build the project manually without installing dependencies, use
npm run build
Pull requests are welcome. Feel free to contact me if you would like some help.
Google spreadsheet data source (Thank-you maintainers!)
Rimworld Multiplayer Mod by Zetrith
Rimworld Multiplayer Discord You can find me here as ZenonX
Please file an issue, or contact me in the Discord.