1.6.0 • Published 3 years ago

screepsmod-history v1.6.0

Weekly downloads
20
License
MIT
Repository
-
Last release
3 years ago

screepsmod-history

This is a history mod for the Screeps Private Server

JavaScript Style Guide CircleCI

NPM info

Requirements

  • nodejs 10+
  • 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.

Warning

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

Configuration

All options and defaults are listed below

History

  • historyChunkSize: 100 (Number of ticks per history file)
  • mode: sqlite (valid values are file, aws, and sqlite)
  • region: us-east-1
  • apiVersion: latest
  • accessKeyId:
  • secretAccessKey:
  • bucket:
  • path: history

Examples

Config can be applied in several ways:

.screepsrc

Add to the bottom of your .screepsrc file

[history]
historyChunkSize = 100
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'

ENV Method

Please note that this method only works when launching modules directly or with screeps-launcher, when launched via the default launcher they will be ignored.

HISTORY_MODE='aws'
1.6.0

3 years ago

1.5.5

3 years ago

1.5.4

3 years ago

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.0

5 years ago

1.4.0-beta.1

5 years ago

1.4.0-beta.0

5 years ago

1.3.0

5 years ago

1.2.2

6 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago