Skip to content

ScreepsPlus/node-hosted-agent

Repository files navigation

ScreepsPlus hosted agent

Usage

To add an agent:

POST /agent

{
	"method": "console" // See methods below
	"methodConfig": {
		// See options below
	},
	"screepsToken": "<TOKEN>",
	"screepsPlusToken": "<TOKEN>",
}

To delete an agent:

DELETE /agent/:pk

To get current agents:

GET /agent?token=SCREEPSPLUS_TOKEN

Methods and options

console

shard used to filter by shard, defaults to all shards

memory

  • shard [shard0] Shard to pull from
  • path [stats] Path if using Memory
  • segment Segment number if using segments
  • interval [60] Interval in seconds to pull at, defaults to 60. If pulling from segments, you can set this as low as 15 If pulling from multiple shards, multiply this by the number of shards to stay within rate-limits.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published