forked from Hay1tsme/artemis
4.5 KiB
4.5 KiB
ARTEMiS Configuration
Server
listen_address: IP Address or hostname that the server will listen for connections on. Set to 127.0.0.1 for local only, or 0.0.0.0 for all interfaces. Default127.0.0.1allow_user_registration: Allows users to register in-game via the AimeDBregisterfunction. Disable to be able to control who can use cards on your server. DefaultTrueallow_unregistered_serials: Allows games that do not have registered keychips to connect and authenticate. Disable to restrict who can connect to your server. Recomended to disable for production setups. DefaultTruename: Name for the server, used by some games in their default MOTDs. DefaultARTEMiSis_develop: Flags that the server is a development instance without a proxy standing in front of it. Setting toFalsetells the server not to listen for SSL, because the proxy should be handling all SSL-related things, among other things. DefaultTruethreading: Flags thatreactor.runshould be called via theThreadstandard library. May provide a speed boost, but removes the ability to kill the server viaCtrl + C. Default:Falselog_dir: Directory to store logs. Server MUST have read and write permissions to this directory or you will have issues. Defaultlogs
Title
loglevel: Logging level for the title server. Defaultinfohostname: Hostname that gets sent to clients to tell them where to connect. Games must be able to connect to your server via the hostname or IP you spcify here. Note that most games will rejectlocalhostor127.0.0.1. Defaultlocalhostport: Port that the title server will listen for connections on. Set to 0 to use the Allnet handler to reduce the port footprint. Default8080
Database
host: Host of the database. Defaultlocalhostusername: Username of the account the server should connect to the database with. Defaultaimepassword: Password of the account the server should connect to the database with. Defaultaimename: Name of the database the server should expect. Defaultaimeport: Port the database server is listening on. Default3306protocol: Protocol used in the connection string, e.imysqlwould result inmysql://.... Defaultmysqlsha2_password: Weather or not the password in the connection string should be hashed via SHA2. DefaultFalseloglevel: Logging level for the database. Defaultwarnuser_table_autoincrement_start: What theaime_usertable ID autoincrememnt should start with. Default10000memcached_host: Host of the memcached server. Defaultlocalhost
Frontend
enable: Weather or not the frontend should be enabled. DefaultFalseport: Port the frontend should listen for connections on. Default8090loglevel: Logging level for the frontend server. Defaultinfo
Allnet
loglevel: Logging level for the allnet server. Defaultinfoport: Port the allnet server should listen for connections on. Games are hardcoded to ask for port80so only change if you have a proxy redirecting properly. Default80allow_online_updates: Allow allnet to distribute online updates via DownloadOrders. This system is currently non-functional, so leave it disabled. DefaultFalse
Billing
port: Port the billing server should listen for connections on. Games are hardcoded to ask for port8443so only change if you have a proxy redirecting properly. Set to 0 to use the allnet handler to reduce the number of ports the server eats up. Default8443ssl_key: Location of the ssl server key for the billing server. Ignored ifportis set to0oris_developset toFalse. Defaultcert/server.keyssl_cert: Location of the ssl server certificate for the billing server. Must match the CA distributed to users or the billing server will not connect. Ignored ifportis set to0oris_developis set toFalse. Defaultcert/server.pemsigning_key: Location of the RSA Private key used to sign billing requests. Must match the public key distributed to users or the billing server will not connect. Defaultcert/billing.key
Aimedb
loglevel: Logging level for the aimedb server. Defaultinfoport: Port the aimedb server should listen for connections on. Games are hardcoded to ask for port22345so only change if you have a proxy redirecting properly. Default22345key: Key to encrypt/decrypt aimedb requests and responses. MUST be set or the server will not start. If set incorrectly, your server will not properly handle aimedb requests. Default""