forked from lekro/elosensei
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.json
84 lines (83 loc) · 1.56 KB
/
config.example.json
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"general": {
"description": "Manage Elo ratings and matches",
"prefix": "elo",
"space_after_prefix": true,
"playing": "MissileWars",
"log_level": "INFO",
"token": "your bot token here"
},
"elo": {
"enable": true,
"match_history_path": "matches.pickle",
"user_status_path": "players.pickle",
"default_elo": 1200,
"default_status_value": 0.0,
"status_values": {
"win": 1.0,
"loss": 0.0,
"draw": 0.5
},
"allow_only_defined_status_values": true,
"k_factor": 50,
"max_teams": 2,
"score_limit": 1.0,
"require_score_limit": true,
"ranks": [
{
"name": "Bronze",
"color": "cd7f32",
"cutoff": 0,
"default": true
},
{
"name": "Silver",
"color": "d3d3d3",
"cutoff": 1350,
"default": false
},
{
"name": "Gold",
"color": "ffd700",
"cutoff": 1500,
"default": false
},
{
"name": "Platinum",
"color": "e5e4e2",
"cutoff": 1650,
"default": false
},
{
"name": "Diamond",
"color": "b9f2ff",
"cutoff": 1800,
"default": false
},
{
"name": "Champion",
"color": "aabbcc",
"cutoff": 2000,
"default": false
}
],
"ranks_use_raw_elo": false,
"max_top": 16,
"max_player_cards": 4,
"max_match_cards": 4,
"queries_need_admin_perms": false,
"player_perms_need_role": false,
"player_role_name": "Player",
"admin_role_name": "Elo Manager",
"periodic_save": true,
"periodic_save_interval": 1000,
"save_on_shutdown": true
},
"eggs": {
"enable": true,
"default_egg": "plot",
"eggs": {
"plot": "eggs/plot.png"
}
}
}