-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ini
58 lines (50 loc) · 2.01 KB
/
config.ini
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
[network]
; The ip the server needs to bind to (supports ipv4 and ipv6)
; 0.0.0.0 | available outside of the running machine (default)
; 127.0.0.1 | only available from the running machine
; ::1 | shorter way to express the previous example
ip=0.0.0.0
; The port the server needs to bind to
; 2105 | (default)
port=2105
[game]
; The size of the board on which the game is played
; 20 | The game will be played on a 20x20 board (default)
board_size=20
; The maximum time per player to play, a player loses if they exceed this limit
; The value is in milliseconds
; 0 | no timeout, the match will take as long as it needs to take
; 300000 | each player as 300000ms or 5min to play the match (default)
timeout_match=300000
; The maximum time per player to play each turn, a player loses if they exceed
; this limit
; The value is in milliseconds
; 0 | no timeout, each player can take as much time as they want per turn
; 10000 | each player as 10000ms or 10s to play their turn (default)
timeout_turn=10000
; The maximum memory allowed per player
; There is no way to reliably this setting on the players if they are not
; controlled directly by the server
; The value is in KB
; 0 | no limit (default)
; 5000 | each player can use 5MB on RAM each
max_memory=0
[other]
; How many spectators should be allowed at most on the server
; -1 | Unlimited (Not recommended)
; 0 | No spectators allowed (No graphical feedback)
; 10 | 10 spectators allowed at most (default)
spectator_slots=10
; The message of the day every client will see when connecting
; h | (default)
; Frieren is really good you should watch it | facts (recommended)
motd=h
[log]
; Minimum log level
; Debug | All logs are shown (Lots of data)
; Info | All logs at info or above are shown (default)
; Warn | All logs at warn or above are shown
; Error | All logs at error or above are shown (almost nothing)
; Fatal | All logs at fatal are shown (Only happens once at most)
; None | No logs are shown ever
level=Debug