- nodejs 8+
- Plenty of disk space, I see an average of 8kb per tick per room, by default this saves 200,000 ticks. So ~20MB per active room.
Currently with AWS mode this produces a lot of PUT requests, this can easily become very expensive. For that reason, AWS mode is currently not recommended
All options and defaults are listed below
- historyChunkSize: 20 (Number of ticks per history file)
- mode: file (valid values are
file
andaws
) - region: us-east-1
- apiVersion: latest
- accessKeyId:
- secretAccessKey:
- bucket:
- path: history
Config can be applied in several ways:
Add to the bottom of your .screepsrc file
[history]
historyChunkSize = 20
mode = 'aws'
region = 'us-east-1'
apiVersion = 'latest'
accessKeyId = 'my-aws-access-key-id'
secretAccessKey = 'my-aws-secret-access-key'
bucket = 'my-bucket'
path = 'my-custom-path'
Please note that this method only works when launching modules directly, when launched via the default launcher they will be ignored.
HISTORY_MODE='aws'