PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Proposal to consolidate example configuration files

Open Philipp59 opened this issue 10 years ago • 5 comments

instead of removing task from the example config and also instead of giving path.config and cluster.config can we just commit to show features that are available but not necessary needed for staple with just adding another empty task line? for sleeper, renaming,cluster and path task. for e.g.:

   "// tasks": [
    {
        "type": "Sleeper",
        "config": {
         "time": "12:00",
         "duration":"5:30",
         "time_random_offset": "00:30",
         "duration_random_offset": "00:30"
     }
 },
      {
        "type": "FollowCluster",
        "config": {
            "radius": 50,
            "lured": true
        }

Philipp59 avatar Aug 01 '16 10:08 Philipp59

While this sounds great in theory, I know a lot of people blindly copy from the config.json and use it. I would be concerned that having a bunch of tasks and configuration to show the possibilities would actually cause us more harm.

I do agree though, having multiple example configs that only change slightly to show a new feature is not the correct approach. If people have more ideas of how we can approach this problem, we are all ears.

elicwhite avatar Aug 01 '16 11:08 elicwhite

What about a basic one that goes into config.json.example with the most commonly used settings, and an advanced one that has all the possible variables

mrthrowaway avatar Aug 01 '16 11:08 mrthrowaway

@TheSavior I think what @Philipp59 proposes is not to add every possibility to the config, but rather have "tasks":[] with all the tasks that are used, and a "unused tasks(or //tasks)":[] with additional possibilities, that are ignored.

sgitkene avatar Aug 01 '16 12:08 sgitkene

exactly

Philipp59 avatar Aug 01 '16 12:08 Philipp59

Ah. That sounds better to me.

I don't think will solve all of our problems here though because some of the other configs don't just add another worker, they have different top level configuration for things like release settings.

elicwhite avatar Aug 01 '16 17:08 elicwhite