Skip to content

Api Uploader Plugin

Jason Spafford edited this page Jul 18, 2018 · 6 revisions

Uploads your server data to serverthrallapi so you can see your data online. If your server_id was 2, you would access your servers characters at this URL: https://thrallbrowser.com/server/2/characters and you can fetch your REST API data at https://serverthrallapi.herokuapp.com/api/2/characters

Note: All you need to do is enable this plugin, and when you run ServerThrall your server_id, public_secret, and private_secret will be generated from serverthrallapi.

Configuration

Name Example Description
enabled true Set to true or false to prevent this plugin from running
ip_address_override 87.23.20.19 Override the IP address used for ThrallBrowser to generate join links. You only need to specify this if you are on a special MULTIHOME network or in a special network condition.
server_id The registered server id with serverthrallapi, used to access your data.
private_secret A secret code that is used to make modifications to your server and synchronize data. Do NOT give this out to your players

Example Config

[ApiUploader]
enabled = true