A Gym is a structure that spawns near towns. Gyms have an assortment of NPC Trainers inside of them, each specializing in a certain type that the Gym corresponds to. At the end of each Gym is a Gym Leader, an NPC Trainer who is more difficult to defeat than the other NPC Trainers.
The NPC Trainers inside a Gym vary in level. For the first four Gyms to spawn in a world, they will follow the level progression below.
From the fifth Gym onwards, NPC Trainers will be set to "Equal" level, and will use Pokémon that are the same level as the highest-level Pokémon in the player's party.
Gyms spawned with the /struc command are "Equal" level by default. A manually spawned Gym's level can be specified by using the "lvl<level>" argument with /struc (e.g., "/struc grassgym lvl80") to spawn a Grass Gym at level 80).
- "spawnGyms": Whether Gyms will spawn naturally.