0 of 0

File information

Last updated

Original upload

Created by

ddrei

Uploaded by

ddrei

Virus scan

Some manually verified files

Tags for this mod

Documentation

Readme

View as plain text

StationeersMonitor v11

what it does:
* checks all your station batteries for their power level at a certain interval. if the overall stored power level is lower than you like, you get an email notification (if you want to).
* reads and displays how many plants are in each possible state - showing you when it is time to harvest
* prints out the readings from logic readers that have custom names ingame, starting with a prefix defined in the config. see the logic reader example below
* writes all the data to json files that you can parse for other tools
* lets you define if you want console output reports or email notification in the config (email feature is windows only currently)
* new in v7: the monitor does not need to be restarted after changes in the config file
* new in v8: upload the json to a ftp folder and display the data with a .php file. see the ftp example below
* new in v9: linux support (required mono - example below)
* new in v10: display the time of the last savegame in the browser version
* new in v11: the program automatically reads new data when a savegame happened (20-40 seconds after). no need to set an interval anymore

how to use (windows):

- copy the files to your savefolder next to your world.xml file
- insert all the settings into the config.json file
- start the program on the commandline with "StationeersMonitor.exe"

how to use (linux):
- copy the files to your savefolder next to your world.xml file
- insert all the settings into the config.json file
- install mono (ubunto example: "sudo apt-get install mono-complete")
- start the program on the commandline with "mono StationeersMonitor.exe"

- if you want to read information from the game, place a Logic IO Reader in the game, rename it with the prefix you specified in the config, a name and a unit. examples below!

logic reader example:

"PO_My Reader_Watts" will display in the console as "My Reader: 1000 Watts" if the reader reads 1000
"PO_My Reader" will display "My Reader: 1000" if the reader reads 1000
you can rename items ingame with the Labeller item

ftp example:
- specify the ftp data in the config (url, user, password) and set sendToFTP to 1
- place the stationeers.php file in the folder on your webspace you specified in the config
- in the stationeers.php file change "$json_file = file_get_contents('http://www.yoururl.net/path/file.json');" to the url you specified in the config