{"action":"created","issue":{"url":"https://api.github.com/repos/NECROBOTIO/NecroBot/issues/3890","repository_url":"https://api.github.com/repos/NECROBOTIO/NecroBot","labels_url":"https://api.github.com/repos/NECROBOTIO/NecroBot/issues/3890/labels{/name}","comments_url":"https://api.github.com/repos/NECROBOTIO/NecroBot/issues/3890/comments","events_url":"https://api.github.com/repos/NECROBOTIO/NecroBot/issues/3890/events","html_url":"https://github.com/NECROBOTIO/NecroBot/issues/3890","id":170189109,"number":3890,"title":"[Suggestion] Split config.json file","user":{"login":"progz","id":510107,"avatar_url":"https://avatars.githubusercontent.com/u/510107?v=3","gravatar_id":"","url":"https://api.github.com/users/progz","html_url":"https://github.com/progz","followers_url":"https://api.github.com/users/progz/followers","following_url":"https://api.github.com/users/progz/following{/other_user}","gists_url":"https://api.github.com/users/progz/gists{/gist_id}","starred_url":"https://api.github.com/users/progz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/progz/subscriptions","organizations_url":"https://api.github.com/users/progz/orgs","repos_url":"https://api.github.com/users/progz/repos","events_url":"https://api.github.com/users/progz/events{/privacy}","received_events_url":"https://api.github.com/users/progz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-09T15:00:38Z","updated_at":"2016-08-09T17:53:02Z","closed_at":"2016-08-09T15:12:26Z","body":"In 0.8.0, The config.json file is almot 500 lines.\r\n\r\nI am wondering if it's not the time to split the config.json ?\r\n\r\nFor example : \r\n**main.json =>** \r\n>   \"TranslationLanguageCode\": \"fr\",\r\n>   \"AutoUpdate\": true,\r\n>   \"TransferConfigAndAuthOnUpdate\": true,\r\n>   \"UseWebsocket\": false,\r\n>   \"WebSocketPort\": 14251,\r\n>   \"StartupWelcomeDelay\": false,\r\n>   \"DefaultLatitude\": 45.757523,\r\n>   \"DefaultLongitude\": 4.832354,\r\n>  \"AmountOfPokemonToDisplayOnStart\": 10,\r\n>   \"WalkingSpeedInKilometerPerHour\": 18.0,\r\n>   \"MaxSpawnLocationOffset\": 10,\r\n>   \"DelayBetweenPlayerActions\": 2000,\r\n>   \"DelayBetweenPokemonCatch\": 1000,\r\n>   \"DumpPokemonStats\": true,\r\n>   \"RenamePokemon\": true,\r\n>   \"RenameOnlyAboveIv\": true,\r\n>   \"RenameTemplate\": \"{1}_{0}\",\r\n\r\n\r\n**pokemon.json =>**\r\n>   \"EvolveAboveIvValue\": 90.0,\r\n>   \"EvolveAllPokemonAboveIv\": false,\r\n>   \"EvolveAllPokemonWithEnoughCandy\": true,\r\n>   \"EvolveKeptPokemonsAtStorageUsagePercentage\": 90.0,\r\n>   \"KeepPokemonsThatCanEvolve\": true,\r\n>   \"KeepMinCp\": 1600,\r\n>   \"KeepMinIvPercentage\": 85.0,\r\n>   \"KeepMinLvl\": 6,\r\n>   \"KeepMinOperator\": \"or\",\r\n>   \"UseKeepMinLvl\": false,\r\n>   \"PrioritizeIvOverCp\": true,\r\n>   \"KeepMinDuplicatePokemon\": 1,\r\n> \r\n\r\n**item.json =>**\r\n>   \"MaxPokeballsPerPokemon\": 6,\r\n>   \"MaxTravelDistanceInMeters\": 1000,\r\n>   \"RandomizeRecycle\": false,\r\n>   \"RandomRecycleValue\": 5,\r\n>   \"TotalAmountOfPokeballsToKeep\": 160,\r\n>   \"TotalAmountOfPotionsToKeep\": 80,\r\n>   \"TotalAmountOfRevivesToKeep\": 40,\r\n>   \"TotalAmountOfBerriesToKeep\": 60,\r\n\r\n**snipe.json =>**\r\n> \"UseSnipeLocationServer\": true,\r\n>   \"SnipeLocationServer\": \"localhost\",\r\n>   \"SnipeLocationServerPort\": 16969,\r\n>   \"GetSniperInfoFromPokezz\": true,\r\n>   \"GetOnlyVerifiedSniperInfoFromPokezz\": true,\r\n>   \"GetSniperInfoFromPokeSnipers\": true,\r\n>   \"MinPokeballsToSnipe\": 20,\r\n>   \"MinPokeballsWhileSnipe\": 0,\r\n>   \"MinDelayBetweenSnipes\": 60000,\r\n>   \"SnipingScanOffset\": 0.003,\r\n>   \"SnipeAtPokestops\": false,\r\n>   \"SnipeIgnoreUnknownIv\": false,\r\n>   \"UseTransferIvForSnipe\": true,\r\n>   \"SnipePokemonNotInPokedex\": false,\r\n\r\nWe can also imagine a true|false switch in the main.json : \r\nEnableSniping: true => going to read sniping.json\r\nEnableCatching: true => going to read  pokemon.json\r\netc..."},"comment":{"url":"https://api.github.com/repos/NECROBOTIO/NecroBot/issues/comments/238635001","html_url":"https://github.com/NECROBOTIO/NecroBot/issues/3890#issuecomment-238635001","issue_url":"https://api.github.com/repos/NECROBOTIO/NecroBot/issues/3890","id":238635001,"user":{"login":"MapleEve","id":1845053,"avatar_url":"https://avatars.githubusercontent.com/u/1845053?v=3","gravatar_id":"","url":"https://api.github.com/users/MapleEve","html_url":"https://github.com/MapleEve","followers_url":"https://api.github.com/users/MapleEve/followers","following_url":"https://api.github.com/users/MapleEve/following{/other_user}","gists_url":"https://api.github.com/users/MapleEve/gists{/gist_id}","starred_url":"https://api.github.com/users/MapleEve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MapleEve/subscriptions","organizations_url":"https://api.github.com/users/MapleEve/orgs","repos_url":"https://api.github.com/users/MapleEve/repos","events_url":"https://api.github.com/users/MapleEve/events{/privacy}","received_events_url":"https://api.github.com/users/MapleEve/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T17:53:02Z","updated_at":"2016-08-09T17:53:02Z","body":"basement conf should be in one file\r\nitem logic should be in another\r\npet logic too.\r\nEasy deployable and configureable."}}
{"actor":{"display_login":"MapleEve"}}