Skip to content

Api Uploader Plugin

Jason Spafford edited this page Jul 17, 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
server_id The registered server id with serverthrallapi, used to access your data.
public_secret A public code you can give to your players to access a "public" view of your servers data. This is unused but will be used later.
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