Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Generic mod file uploader. Is mainly used for M&B2:B, but can be used for any other game.

License

Notifications You must be signed in to change notification settings

BUTR/Bannerlord.NexusmodsUploader

Repository files navigation

Bannerlord.NexusmodsUploader

Generic mod file uploader. Is mainly used for M&B2:B, but can be used for any other game. Example of usage in WebSite.

Requirements

Requires BUTR GitHub Package Registry to be added.

nuget sources add -name "BUTR" -Source https://nuget.pkg.github.com/BUTR/index.json -Username YOURGITHUBUSERNAME -Password YOURGITHUBTOKEN

Requires NEXUSMODS_COOKIES_JSON environment variable:

[
    {
        "Id":"member_id",
        "Value":"%SET_VALUE%",
        "Domain":".nexusmods.com",
        "Path":"/",
        "Date":"%SET_VALUE%"
    },
    {
        "Id":"pass_hash",
        "Value":"%SET_VALUE%",
        "Domain":".nexusmods.com",
        "Path":"/",
        "Date":"%SET_VALUE%"
    },
    {
        "Id":"sid",
        "Value":"%SET_VALUE%",
        "Domain":".nexusmods.com",
        "Path":"/",
        "Date":"%SET_VALUE%"
    }
]

Installation

dotnet tool install -g Bannerlord.NexusmodsUploader

Example

When installed as a global tool:

bannerlord_nexusmods_uploader upload -g mountandblade2bannerlord -m 612 -n "Mod Configuration Menu" -v "v3.1.0" -l true -e true -d "MULTILINE\nCHANGELOG" -p "$PWD/MCM.Standalone.zip";

Check this for a workflow example.

About

Generic mod file uploader. Is mainly used for M&B2:B, but can be used for any other game.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages