Gyms

Prerequisites

This page assumes:

  • You have a working scanner.
  • You understand JSON formatting.
  • You are using the latest version of PokeAlarm.
  • You have read and understood the Filters page.

Introduction

The "gyms" section has four distinct settings.

Setting Name Description
enabled Process Gym Events only if true
ignore_neutral If true, ignore uncontested gyms
defaults Section for the default settings
filters See below parameters

Available DTS

General

Parameter Description Example
old_teams List of allowed previous teams, by id or name. ["Instinct","Mystic"]
new_teams List of allowed new teams, by id or name. ["Valor","Mystic"]
gym_name_contains List of regex’s required to be in the gym name. ["Sponsored","West\\sOak"]
gym_name_excludes List of regex’s rejected to be in the gym name. ["Sponsored","West\\sOak"]
gym_ids List of allowed gym IDs. ["123456789","987654321"]
gym_ids_exclude List of excluded gym IDs. ["123456789","987654321"]
is_ex_eligible Restrict ex-raid eligible gyms. true or false
min_slots Minimum number of guard slots available. 2
max_slots Maximum number of guard slots available. 6
park_contains List of regex’s required to be in the park name. ["Sponsored","Park\\sName"]
sponsored Restrict sponsored gyms. true or false

Miscellaneous

Parameter Description Example
min_dist Min distance of event from set location in miles or meters (depending on settings). 0.0 *
max_dist Max distance of event from set location in miles or meters (depending on settings). 1000.0 *
geofences See Geofences page on ‘Geofences’ ["geofence1","geofence2"]
exclude_geofences Opposite of geofences. See Geofences page. ["geofence1","geofence2"]
min_time See Time DTS page on ‘Time DTS’ 8:30
max_time See Time DTS page on ‘Time DTS’ 22:00
custom_dts See Custom DTS page on ‘Custom DTS’ {"dts1":"substitution"}
is_missing_info See Missing Information page on ‘Missing Info’ true or false
  • Floats can use "inf" to represent infinity