Configuration
Check out the configuration sections below
- Server Port Configure the server port
- Dashboard Configure server dashboard
- Super Email Super admin email address
- Super Password Super admin email address
- Menu Message Configure in game menu message
- Galaxy At War Configure Galaxy At War system
- Daily Decay Daily galaxy at war decay amount
- Include Promotions Including promotions in gaw assets
- Logging Configure the logging level
- Retriever Configure the retriever system
- Enabled Retriever enabled state
- Origin Fetch Whether Origin fetching is enabled
- Origin Fetch Data Whether Origin fetching should include player data
Server configuration is loaded from a file named config.json
in the same folder as the server.
By default this file will not exist. You will have to create it manually see the default configuration below.
If you are running the server within a Docker container you will need to use the PR_CONFIG_JSON
environment variable providing the config JSON as the variable
Use the different configuration sections linked above to modify the default configuration to your liking
Default Configuration
{
"port": 80,
"dashboard": {
"super_email": "",
"super_password": "",
"disable_registration": false
},
"menu_message": "<font color='#B2B2B2'>Pocket Relay</font> - <font color='#FFFF66'>Logged as: {n}</font>",
"galaxy_at_war": {
"decay": 0.0,
"promotions": true
},
"logging": "info",
"retriever": {
"enabled": true,
"origin_fetch": true,
"origin_fetch_data": true
}
}