Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Global Config

TheSnowfield edited this page May 15, 2021 · 8 revisions

List of all available fields

field description
SERVER_PORT port to provide your service
BOTARCAPI_WHITELIST whitelist in regex array
if set '[]' will accept all requests
BOTARCAPI_VERSTR specific version and name you love
BOTARCAPI_BATCH_ENDPOINTS_MAX max of endpoint limitation for batch api
BOTARCAPI_FORWARD_WHITELIST forwarding whitelist
BOTARCAPI_FORWARD_TIMESEC_MAX valid time for the token
BOTARCAPI_FORWARD_TIMESEC_DEFAULT default valid time for the token
BOTARCAPI_FORWARD_FEED_MAX number of times the callers can extend the valid time of the token
BOTARCAPI_USERBEST_HISTORY_MAX max of quantity limitation for user history
BOTARCAPI_USERBEST_HISTORY_DEFAULT default quantity for user history
BOTARCAPI_AGGREGATE_LIMITATION number of endpoint in aggregate. DO NOT CHANGE it if you don't know its meaning
BOTARCAPI_AGGREGATE_ENABLED sending only one 'compose/aggregate' request instead of sending a huge of requests to arcapi
BOTARCAPI_AGGREGATE_CONCURRENT send requests concurrently only valid on 'BOTARCAPI_AGGREGATE_ENABLED' set to false
ARCAPI_RETRY retry count when request failing
ARCAPI_VERSION latest Arcaea api version
ARCAPI_APPVERSION latest Arcaea client version
ARCAPI_USERAGENT user-agent for Arcaea client
ARCAPI_URL URL of the arcapi
DATABASE_PATH path to save database files
LOG_LEVEL log level. range 0 to 3, 0 will output all of the messages
LOG_PATH path to save log files
Clone this wiki locally