Skip to main content

About

What does this config do?

The pokemon.json config is used by the client to determine exactly which Pokemon (by name or dex number) are alerted.
It is also used for displaying information about the Pokemon in conjunction custom alert messages, as well as custom sounds, click events, and Journeymap waypoints.

For alerting broader groups of Pokemon (e.g. legendaries), see main.json.

How to use the config

Inside the pokemonConfigs object, you will find a default config named default (You can...). You may freely edit anything below that line, beginning with "enabled".

danger

DO NOT delete it.
DO NOT edit the name of it.
If you do either of these, things will break.

These default options are used for alerting any Pokemon which you haven't manually specified a config for.

Config options

OptionDescription
nameEach config object needs a name to specify the list of Pokemon it should target. See how the default config is formatted. You can list multiple Pokemon separated by commas (e.g. "charmander, charmeleon, charizard"). Names are not case-sensitive, and dex numbers are also valid (e.g. "1, 2, 3").
configVersionDO NOT EDIT. Self-updating mod version - used to notify of important changes when updating the mod.
enabledEnables the spawn message for the Pokemon. If set to false, this setting will override every other config setting for the Pokemon and make its spawn message never display.
alwaysAlertAlways alerts, assuming enabled is true. If alwaysAlert is false, then an alert will only trigger for other conditions, such as alertShiny.
alertShinyTriggers an alert if the Pokemon is shiny. Shiny Pokemon within your client's tracking range will always trigger this. Globally alerted Pokemon may not broadcast their shiny status to clients if broadcastShiny is disabled in the server config.
alertHiddenAbilityTriggers an alert if the Pokemon has a hidden ability. Requires the server config to have broadcastAbility enabled.
alertDespawnedTriggers an alert when the Pokemon despawns. This requires the Pokemon to have been globally alerted. See the known issues for more details.
showLegendaryShows in the alert message whether the Pokemon is Legendary, Mythical, Ultra Beast, or Paradox. Uses the rarities.json config on versions 1.12.0+. For previous versions, these are hardcoded on the client.
showBucketShows which spawn bucket (common, uncommon, rare, ultra-rare) the Pokemon spawned from. Requires the server config to have broadcastBucket enabled.
statDisplayModsDefines which stats are shown in the alert, and how. The 3 options are: "MAIN_MESSAGE", "HOVER", and "DISABLED". The following will not display without the server broadcasting them to clients: ivs, nature, and ability. EV yields (evs) may be inaccurate.
autoGlowMakes the alerted Pokemon glow the same way the glowing potion effect does. Click the alert message to toggle the glow.
glowColorSets the color of autoGlow. Does not work for manually applying glow. Formatted as #AARRGGBB (e.g. #FF00FFFF for cyan). You can use an online tool for creating colors. Alpha is required, but does not actually control the alpha of the glow.
customAlertMessageOverrides the default spawn message with a custom one. Supports ETA markup and dynamic replacements. For more details, click here.
customAlertTooltipOverrides the default hover tooltip with a custom one. Supports ETA markup and dynamic replacements.
customAlertClickEventOverrides the default click event with a custom one. Supports dynamic replacements. Formatted as "event_name:action" using the following events: open_url, open_file, run_command, suggest_command, change_page, and copy_to_clipboard. For example, run_command:/csa openconfig would open the config folder when clicked on.
sounds / customAlertSoundPlays a sound for the specified alert. Formatted as namespace:path. E.g. minecraft:entity.warden.sonic_boom or cobblemon:pokemon.bidoof.cry. For more details, click here.
Important

If you are using Pokemon's names for your configs, the names must be in the language you are playing Cobblemon with. Using dex numbers instead of names is recommended for sharing configs in multilingual communities.

Journeymap compatibility

When Journeymap is installed, the following can be used to automatically manage waypoints for alerts:

OptionDescription
enableWaypointCreates waypoints when an alert is triggered.
waypointNameSets the name of the waypoint, defaulting to the Pokemon's name if left blank.
waypointColorSets the color of the waypoint. Formatted as #RRGGBB (e.g. #00FFFF for cyan). You can use an online tool for creating colors.
persistentSets the waypoint to persist upon leaving/rejoining the world.