From 97e3781c1010d09c0d886e797794cc13ad4f383d Mon Sep 17 00:00:00 2001 From: notheowner <86596679+notheowner@users.noreply.github.com> Date: Tue, 28 Oct 2025 21:21:54 +0200 Subject: [PATCH 1/4] Scan rule examples with usage of areas and scanner modes Signed-off-by: notheowner <86596679+notheowner@users.noreply.github.com> --- pages/docs/golbat/config.mdx | 39 ++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/pages/docs/golbat/config.mdx b/pages/docs/golbat/config.mdx index 00b24c6..aedca1a 100644 --- a/pages/docs/golbat/config.mdx +++ b/pages/docs/golbat/config.mdx @@ -73,14 +73,49 @@ include_hundos_under_cap = false **⭐ Advanced Option ⭐** -With Scan Rules you can modify the behavior globally for all areas or for specific areas using +With Scan Rules you can modify the behavior globally for all areas, for specific areas or specific scanner 'modes'. +These will be processed in order, first match applies - and allows disabling of processing certain types of game objects. +A global scan rule example: ```toml [[scan_rules]] wild_pokemon = false # disables Pokémon without iv from the gmo (waits for encounter) nearby_pokemon = false # disables cell/pokestop Pokémon +```` -# insert example for a specific area +Here the main area would not process nearby pokemon. Messages arriving in 'scout' mode would have everything processed; and the default would not process any pokemon (so outside main area not delivered by the scout service) +```toml +[[scan_rules]] +areas = ["MainArea"] +nearby_pokemon = false + +[[scan_rules]] +context = ["Scout"] + +[[scan_rules]] +pokemon = false +``` + +Example with the use of *context* for various scanner 'modes': +```toml +[[scan_rules]] +context = ["Quest"] + +[[scan_rules]] +context = ["Fort"] +pokemon = false +nearby_pokemon = false +wild_pokemon = false + +[[scan_rules]] +context = ["Invasion"] +pokemon = false +nearby_pokemon = false +wild_pokemon = false + +[[scan_rules]] +context = ["Pokemon"] +nearby_pokemon = false ``` ## Sentry Section From 9a94711975d75ff5b27ea0a11098fa89d67c76a6 Mon Sep 17 00:00:00 2001 From: notheowner <86596679+notheowner@users.noreply.github.com> Date: Tue, 28 Oct 2025 21:35:19 +0200 Subject: [PATCH 2/4] Bump browserslist Signed-off-by: notheowner <86596679+notheowner@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index c966ce4..fff6065 100644 --- a/yarn.lock +++ b/yarn.lock @@ -394,9 +394,9 @@ busboy@1.6.0: streamsearch "^1.1.0" caniuse-lite@^1.0.30001406: - version "1.0.30001699" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001699.tgz" - integrity sha512-b+uH5BakXZ9Do9iK+CkDmctUSEqZl+SP056vc5usa0PL+ev5OHw003rZXcnjNDv3L8P5j6rwT6C0BPKSikW08w== + version "1.0.30001751" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001751.tgz" + integrity sha512-A0QJhug0Ly64Ii3eIqHu5X51ebln3k4yTUkY1j8drqpWHVreg/VLijN48cZ1bYPiqOQuqpkIKnzr/Ul8V+p6Cw== ccount@^2.0.0: version "2.0.1" From a56a7b0c09e1aeef60a2c0d85ee55c7136eed41c Mon Sep 17 00:00:00 2001 From: notheowner <86596679+notheowner@users.noreply.github.com> Date: Tue, 28 Oct 2025 21:36:15 +0200 Subject: [PATCH 3/4] table Signed-off-by: notheowner <86596679+notheowner@users.noreply.github.com> --- pages/docs/golbat/config.mdx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pages/docs/golbat/config.mdx b/pages/docs/golbat/config.mdx index aedca1a..e71753d 100644 --- a/pages/docs/golbat/config.mdx +++ b/pages/docs/golbat/config.mdx @@ -117,6 +117,15 @@ wild_pokemon = false context = ["Pokemon"] nearby_pokemon = false ``` +| Key | Description | +| :-- | :-- | +| `pokemon` | any pokemon processing (also disables spawnpoints) | +| `wild_pokemon` | process wild pokemon from GMO | +| `nearby_pokemon` | process nearby pokemon from GMO | +| `weather` | process weather in GMO | +| `gyms` | process gyms in GMO | +| `pokestop` | process pokestops in GMO | +| `cells` | process cell updates (disabling this also disables automatic fort clearance) | ## Sentry Section From 788b358f1ed8d8b9113076c5364d71a2d87c5f9a Mon Sep 17 00:00:00 2001 From: notheowner <86596679+notheowner@users.noreply.github.com> Date: Tue, 28 Oct 2025 22:21:54 +0200 Subject: [PATCH 4/4] oops --- pages/docs/golbat/config.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/docs/golbat/config.mdx b/pages/docs/golbat/config.mdx index e71753d..6215fdb 100644 --- a/pages/docs/golbat/config.mdx +++ b/pages/docs/golbat/config.mdx @@ -81,7 +81,7 @@ A global scan rule example: [[scan_rules]] wild_pokemon = false # disables Pokémon without iv from the gmo (waits for encounter) nearby_pokemon = false # disables cell/pokestop Pokémon -```` +``` Here the main area would not process nearby pokemon. Messages arriving in 'scout' mode would have everything processed; and the default would not process any pokemon (so outside main area not delivered by the scout service) ```toml