forked from UnownHash/Golbat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml.example
65 lines (51 loc) · 1.7 KB
/
config.toml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
port = 9001 # Listening port for golbat
raw_bearer = "" # Raw bearer (password) required
api_secret = "golbat" # Golbat secret required on api calls (blank for none)
stats = false # Enable creation of pokemon_timing and pokemon_history table (now recommended=false)
in_memory = false # Use in-memory storage for pokemon only
[koji]
url = "http://{koji_url}/api/v1/geofence/feature-collection/{golbat_project}"
bearer_token = "secret"
[cleanup]
pokemon = true # Keep pokemon table is kept nice and short
incidents = true # Remove incidents after expiry
quests = true # Remove quests after expiry
stats = true # Enable/Disable stats history
stats_days = 7 # Remove entries from ["pokemon_stats", "pokemon_shiny_stats", "pokemon_iv_stats", "pokemon_hundo_stats", "pokemon_nundo_stats" after x days
[logging]
debug = false
save_logs = true
[database]
user = ""
password = ""
address = "127.0.0.1:3306"
db = ""
[pvp]
enabled = true
include_hundos_under_cap = false
level_caps = [50, 51]
[[pvp.leagues]]
name = "little"
cap = 500
little = false
[[pvp.leagues]]
name = "great"
cap = 1500
little = false
[[pvp.leagues]]
name = "ultra"
cap = 2500
little = false
# You can specify more than one webhook destination by including the [[webhooks]] section
# multiple times. The hook types can optionally be filtered by using the types array
[[webhooks]]
url = "http://localhost:4201"
# types if specified can be...
# types = ["pokemon", "gym", "invasion", "quest", "pokestop", "raid"]
#[[webhooks]]
#url = "http://localhost:4202"
#types = ["raid"]
#[[webhooks]]
#url = "http://localhost:4202"
#types = ["raid"]
#areas = ["London/*", "*/Harrow", "Harrow"]