Configuration

Back

Check out the configuration sections below

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
  }
}