Server Config

Location

Once you’ve installed the mod and run the game at least once, you’ll find the server config in the following location:

/config/spawn_notification.json

Default Values

{
  "broadcastRange": -1,
  "playerLimit": -1,
  "broadcastAcrossDimensions": false,
  "actionBar": false,
  "baseColor": "GRAY",
  "partColors": {
    "spawn_notification:pokemon_species": "WHITE",
    "spawn_notification:pokemon_form": "WHITE",
    "spawn_notification:player_name": "WHITE",
    "spawn_notification:biome": "WHITE",
    "spawn_notification:dimension": "WHITE",
    "spawn_notification:bucket": "WHITE",
    "spawn_notification:coord_x": "WHITE",
    "spawn_notification:coord_y": "WHITE",
    "spawn_notification:coord_z": "WHITE"
  },
  "disabledSituations": [],
  "disabledSegments": [],
  "disabledSegmentsBySituation": [
    {
      "situations": [
        "spawn_notification:*/captured",
        "spawn_notification:*/fished",
        "spawn_notification:*/resurrected",
        "spawn_notification:*/hatched"
      ],
      "segments": [
        "spawn_notification:coordinates",
        "spawn_notification:biome",
        "spawn_notification:dimension"
      ]
    },
    {
      "situations": [
        "spawn_notification:*/despawned",
        "spawn_notification:*/snacked",
        "spawn_notification:*/spawned"
      ],
      "segments": [
        "spawn_notification:player"
      ]
    }
  ],
  "ignoreSpectators": true,
  "debug": false
}

Options

broadcastRange

The default broadcast range (in blocks) at which to broadcast a chat broadcast, if one’s not explicitly listed in the data for a broadcast. By default, the value is -1, which turns this feature off and does not restrict broadcasts by range.

If broadcastAcrossDimensions is true, this is ignored.

playerLimit

The default number of players (sorted by the closest to the event) to which chat broadcasts will be emitted, if one’s not explicitly listed in the data for a broadcast. By default, the value is -1, which turns this feature off and does not restrict broadcasts by a given number of closest players.

If broadcastAcrossDimensions is true, this is ignored.

broadcastAcrossDimensions

The default value for if a chat broadcast should ignore broadcastRange and playerLimit and send to everybody on the server, regardless of which dimension they’re in, if one’s not explicitly listed in the data for the broadcast. By default, the value is false, showing the chat broadcast’s message to everybody in the same dimension as the event, and respecting broadcastRange and playerLimit.

actionBar

The default value for if a chat broadcast should display in the chat logs or the action bar, just above the player’s health bar, if one’s not explicitly listed in the data for the broadcast. By default, the value is false, showing the chat broadcast’s message in the chat logs.

baseColor

The formatting of the general text in a chat broadcast’s message.