This repository was archived by the owner on Aug 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.ini
More file actions
112 lines (99 loc) · 2.94 KB
/
config.ini
File metadata and controls
112 lines (99 loc) · 2.94 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[steam]
api-key = KEY
valve-group-id = 103582791429521412
# How long to wait on a connection before timing out
connect-timeout = 5
# For the given app IDs sim will always be used instead of attempting an API request
sim-only-apps = 730
[cgi]
# Enable FastCGI instead of the default wsgi mode
# If not ran by a server optf2 will run with a builtin
# one either way
fastcgi = no
# Enable webpy's debug mode?
web-debug-mode = no
# If set to yes this will set SCRIPT_NAME and REAL_SCRIPT_NAME
# to '' (a workaround for issues related to HTTP redirects)
redirect-workaround = yes
[resources]
template-dir = templates/
virtual-root = /
static-prefix = /static/
cache-dir = /tmp/opnet-cache
[app-aliases]
tf2 = 440
tf2b = 520
p2 = 620
d2 = 570
d2b = 205790
csgo = 730
[modes]
# A list of apps to be linked in the top navbar
# Order matters
440 = Team Fortress 2
620 = Portal 2
570 = DOTA 2
205790 = DOTA 2 Beta
730 = Counter Strike: GO
[wiki]
# List of wiki labels and URL prefixes appropriate for each mode. ':' separates the label and URL
440 = Official TF Wiki: http://wiki.teamfortress.com/wiki/
520 = %(440)s
620 = Portal Wiki: http://theportalwiki.com/wiki/
570 = DOTA Wiki: http://dota2wiki.com/
205790 = %(570)s
[particle-modes]
# List of mode aliases where particle icons can be reused
620 = 440
520 = 440
[css-aliases]
# List of aliases where stylesheets can be reused
205790 = 570
[page-dimensions]
# List of backpack page dimensions in the format of WidthxHeight
default = 10x5
570 = 6x10
205790 = 6x10
[cache]
# Default is the standard memcached binding
memcached-address = 127.0.0.1:11211
# How long to cache backpack data
backpack-expiry = 30
# How long to cache the list of the user's inventories
# and associated stats
inventory-list-expiry = 240
# How long to cache user profile data
# used for most non-backpack information
# including names, avatar, online status, etc.
profile-expiry = 30
# A minimum number of seconds between
# connections to the schema server
schema-check-interval = 30
# Same as above for asset server
# Default is high because as of this writing if-modified-since
# is broken for asset catalogs
assets-check-interval = 120
# Used for the groupStats API (keep this at a higher minimum to avoid the wrath of Valve)
group-stats-expiry = 120
# The minimum size to start compression in bytes, makes for less memory use
compress-len = 256000
[http]
session-timeout = 86400
session-cookie-name = opsession_id
[motd]
filename = motd
[misc]
# Used in various places
project-name = OPTF2
# Max number of rows to show for the top backpacks table
top-bp-table-rows = 15
# List of apps where a max cell count being 50 means
# the player is free to play
f2p-check-modes = tf2, tf2b, d2, d2b, p2
# List of appids where item color overrides (like sim items)
# should be ignored. This is sometimes preferable in
# places such as CSGO where the default quality colors are more appealing and useful
color-override-exceptions = 730
[rss]
# Set to 0 for uncapped
inventory-max-items = 0