You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
620 B

module.exports = {
// Server
certKeyPath: './cert/server.key', //Called by server.js
certPath: './cert/server.cert', //Called by server.js
httpsPort: 9000,
frontEndUrl: 'https://localhost', // Vue running from https
//PlayerCleanup
cleanupInterval: 5000, // runs every 5 seconds
playerExpiration: 60000, //300000, // 5 minutes without activity before being removed
//State Monitor
stateJsonPath: './log/state.json',
stateMonitorRate: 1000,
//Player Settings
playersUpdateCheckRate: 500, // Rate between checks to send player updates to sockets
playerNameMaxLength: 15,
playerIdLength: 6,
}