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/catch_on_defeat.json

Default Values

{
  "heal": true,
  "preventRegularCapture": true,
  "thereCanOnlyBeOnePlayerInBattle": true,
  "everybodysCaughtThisWay": false,
  "countsAsCapture": true,
  "alwaysAcceptJoin": false,
  "rejectsCountAsRelease": true,
  "defaultJoinChance": 100.0,
  "debug": false
}

Options

heal

Whether or not Pokémon should be instantly healed to full when they join a player’s party via the join on defeat mechanic.

preventRegularCapture

Whether or not capturing a Pokémon with a PokeBall should be cancelled, so that Pokémon can only join via the join on defeat mechanic. This can also be applied using the custom property method to assign this mechanic to individual Pokémon or spawns.

thereCanOnlyBeOnePlayerInBattle

A property that’s unlikely to see actual use for a while. If you’ve managed to set up the game such that you can have more than one player in a player-vs-wild Pokémon battle, this requires that there be only one player present in battle in order for the join on defeat mechanic to trigger. This can also be applied using the custom property method to assign this requirement to individual Pokémon or spawns.

everybodysCaughtThisWay

Whether or not every Pokémon should be caught this way. If you don’t use this option, you can still use the custom property method to assign the join on defeat mechanic to individual Pokémon or spawns.

countsAsCapture

Whether or not an accepted join on defeat is counted as a capture for the sake of Cobblemon’s events.

rejectsCountAsRelease

Whether or not a rejected join on defeat is counted as a release for the sake of Cobblemon’s events.

alwaysAcceptJoin