diff --git a/configs/config.json.example b/configs/config.json.example index b7a849cb82..ce74ece57b 100644 --- a/configs/config.json.example +++ b/configs/config.json.example @@ -1,184 +1,274 @@ -{ - "auth_service": "google", - "username": "YOUR_USERNAME", - "password": "YOUR_PASSWORD", - "location": "SOME_LOCATION", - "gmapkey": "GOOGLE_MAPS_API_KEY", - "encrypt_location": "", - "websocket_server": false, - "heartbeat_threshold": 10, - "tasks": [ - { - "type": "HandleSoftBan" - }, - { - "type": "SleepSchedule", - "config": { - "enabled": false, - "time": "22:54", - "duration":"7:46", - "time_random_offset": "00:24", - "duration_random_offset": "00:43" - } - }, - { - "type": "CollectLevelUpReward" - }, - { - "type": "IncubateEggs", - "config": { - "longer_eggs_first": true - } - }, - { - "type": "UpdateLiveStats", - "config": { - "enabled": false, - "min_interval": 10, - "stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"], - "terminal_log": true, - "terminal_title": true - } - }, - { - "type": "TransferPokemon" - }, - { - "type": "NicknamePokemon", - "config": { - "enabled": false, - "nickname_template": "{iv_pct}_{iv_ads}" - } - }, - { - "type": "EvolvePokemon", - "config": { - "evolve_all": "none", - "first_evolve_by": "cp", - "evolve_above_cp": 500, - "evolve_above_iv": 0.8, - "logic": "or", - "evolve_speed": 20, - "use_lucky_egg": false - } - }, - { - "type": "RecycleItems", - "config": { - "min_empty_space": 15, - "max_balls_keep": 150, - "max_potions_keep": 50, - "max_berries_keep": 70, - "max_revives_keep": 70, - "item_filter": { - "Pokeball": { "keep" : 100 }, - "Potion": { "keep" : 10 }, - "Super Potion": { "keep" : 20 }, - "Hyper Potion": { "keep" : 30 }, - "Revive": { "keep" : 30 }, - "Razz Berry": { "keep" : 100 } - } - } - }, - { - "type": "CatchPokemon", - "config": { - "catch_visible_pokemon": true, - "catch_lured_pokemon": true, - "min_ultraball_to_keep": 5, - "catch_throw_parameters": { - "excellent_rate": 0.1, - "great_rate": 0.5, - "nice_rate": 0.3, - "normal_rate": 0.1, - "spin_success_rate" : 0.6 +{ + "auth_service":"google", + "username":"YOUR_USERNAME", + "password":"YOUR_PASSWORD", + "location":"SOME_LOCATION", + "gmapkey":"GOOGLE_MAPS_API_KEY", + "encrypt_location":"", + "websocket_server":false, + "heartbeat_threshold":10, + "tasks":[ + { + "type":"HandleSoftBan" + }, + { + "type":"SleepSchedule", + "config":{ + "enabled":false, + "time":"22:54", + "duration":"7:46", + "time_random_offset":"00:24", + "duration_random_offset":"00:43" + } + }, + { + "type":"CollectLevelUpReward" + }, + { + "type":"IncubateEggs", + "config":{ + "longer_eggs_first":true + } + }, + { + "type":"UpdateLiveStats", + "config":{ + "enabled":false, + "min_interval":10, + "stats":[ + "username", + "uptime", + "stardust_earned", + "xp_earned", + "xp_per_hour", + "stops_visited" + ], + "terminal_log":true, + "terminal_title":true + } + }, + { + "type":"TransferPokemon" + }, + { + "type":"NicknamePokemon", + "config":{ + "enabled":false, + "nickname_template":"{iv_pct}_{iv_ads}" + } + }, + { + "type":"EvolvePokemon", + "config":{ + "evolve_all":"none", + "first_evolve_by":"cp", + "evolve_above_cp":500, + "evolve_above_iv":0.8, + "logic":"or", + "evolve_speed":20, + "use_lucky_egg":false + } + }, + { + "type":"RecycleItems", + "config":{ + "min_empty_space":15, + "max_balls_keep":150, + "max_potions_keep":50, + "max_berries_keep":70, + "max_revives_keep":70, + "item_filter":{ + "Pokeball":{ + "keep":100 + }, + "Potion":{ + "keep":10 + }, + "Super Potion":{ + "keep":20 }, - "catch_simulation": { - "flee_count": 3, - "flee_duration": 2, - "catch_wait_min": 2, - "catch_wait_max": 6, - "berry_wait_min": 2, - "berry_wait_max": 3, - "changeball_wait_min": 2, - "changeball_wait_max": 3 + "Hyper Potion":{ + "keep":30 }, - } - }, - { - "type": "SpinFort" - }, - { - "type": "MoveToFort", - "config": { - "lure_attraction": true, - "lure_max_distance": 2000 + "Revive":{ + "keep":30 + }, + "Razz Berry":{ + "keep":100 + } } - }, - { - "type": "FollowSpiral", - "config": { - "diameter": 4, - "step_size": 70 + } + }, + { + "type":"CatchPokemon", + "config":{ + "catch_visible_pokemon":true, + "catch_lured_pokemon":true, + "min_ultraball_to_keep":5, + "catch_throw_parameters":{ + "excellent_rate":0.1, + "great_rate":0.5, + "nice_rate":0.3, + "normal_rate":0.1, + "spin_success_rate":0.6 + }, + "catch_simulation":{ + "flee_count":3, + "flee_duration":2, + "catch_wait_min":2, + "catch_wait_max":6, + "berry_wait_min":2, + "berry_wait_max":3, + "changeball_wait_min":2, + "changeball_wait_max":3 } } - ], - "map_object_cache_time": 5, - "forts": { - "avoid_circles": true, - "max_circle_size": 50, - "cache_recent_forts": true - }, - "walk_max": 4.16, - "walk_min": 2.16, - "action_wait_min": 1, - "action_wait_max": 4, - "debug": false, - "test": false, - "health_record": true, - "location_cache": true, - "distance_unit": "km", - "reconnecting_timeout": 15, - "logging_color": true, - "catch": { - "any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"}, - "// Example of always catching Rattata:": {}, - "// Rattata": { "always_catch" : true } - }, - "release": { - "any": {"release_below_cp": 0, "release_below_iv": 0, "logic": "or"}, - "// Example of always releasing Rattata:": {}, - "// Rattata": {"always_release": true}, - "// Example of keeping 3 stronger (based on CP) Pidgey:": {}, - "// Pidgey": {"keep_best_cp": 3}, - "// Example of keeping 2 stronger (based on IV) Zubat:": {}, - "// Zubat": {"keep_best_iv": 2}, - "// Also, it is working with any": {}, - "// any": {"keep_best_iv": 3}, - "// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {}, - "// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3} - }, - "vips" : { - "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {}, - "any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" }, - "Lapras": {}, - "Moltres": {}, - "Zapdos": {}, - "Articuno": {}, - - "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {}, - "Mewtwo": {}, - "Dragonite": {}, - "Snorlax": {}, - "// Mew evolves to Mewtwo": {}, - "Mew": {}, - "Arcanine": {}, - "Vaporeon": {}, - "Gyarados": {}, - "Exeggutor": {}, - "Muk": {}, - "Weezing": {}, - "Flareon": {} + }, + { + "type":"SpinFort" + }, + { + "type":"MoveToFort", + "config":{ + "lure_attraction":true, + "lure_max_distance":2000 + } + }, + { + "type":"FollowSpiral", + "config":{ + "diameter":4, + "step_size":70 + } + } + ], + "map_object_cache_time":5, + "forts":{ + "avoid_circles":true, + "max_circle_size":50, + "cache_recent_forts":true + }, + "walk_max":4.16, + "walk_min":2.16, + "action_wait_min":1, + "action_wait_max":4, + "debug":false, + "test":false, + "health_record":true, + "location_cache":true, + "distance_unit":"km", + "reconnecting_timeout":15, + "logging_color":true, + "catch":{ + "any":{ + "catch_above_cp":0, + "catch_above_iv":0, + "logic":"or" + }, + "// Example of always catching Rattata:":{ + + }, + "// Rattata":{ + "always_catch":true + } + }, + "release":{ + "any":{ + "release_below_cp":0, + "release_below_iv":0, + "logic":"or" + }, + "// Example of always releasing Rattata:":{ + + }, + "// Rattata":{ + "always_release":true + }, + "// Example of keeping 3 stronger (based on CP) Pidgey:":{ + + }, + "// Pidgey":{ + "keep_best_cp":3 + }, + "// Example of keeping 2 stronger (based on IV) Zubat:":{ + + }, + "// Zubat":{ + "keep_best_iv":2 + }, + "// Also, it is working with any":{ + + }, + "// any":{ + "keep_best_iv":3 + }, + "// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:":{ + + }, + "// Zubat":{ + "keep_best_cp":2, + "keep_best_iv":3 + } + }, + "vips":{ + "Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!":{ + + }, + "any":{ + "catch_above_cp":1200, + "catch_above_iv":0.9, + "logic":"or" + }, + "Lapras":{ + + }, + "Moltres":{ + + }, + "Zapdos":{ + + }, + "Articuno":{ + + }, + "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)":{ + + }, + "Mewtwo":{ + + }, + "Dragonite":{ + + }, + "Snorlax":{ + + }, + "// Mew evolves to Mewtwo":{ + + }, + "Mew":{ + + }, + "Arcanine":{ + + }, + "Vaporeon":{ + + }, + "Gyarados":{ + + }, + "Exeggutor":{ + + }, + "Muk":{ + + }, + "Weezing":{ + + }, + "Flareon":{ } + } }