-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.toml
75 lines (54 loc) · 2.46 KB
/
config.toml
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
# The TCP port on which the lobby will listen.
# Ensure that clients configure this port in their NETWORK_LOBBYPORT
# setting within both Settings.cfg and GameServer.cfg.
Port = 7066
# The full or relative path to a text file on which the logs will be appended
LogPath = "./log.txt"
# Only messages with severity equal or higher than this value will be logged
# Available values are: Trace, Info, Warning, Error
LogLevel = "Info"
# A message that will appear in a popoup the first time a client joins the lobby after starting the game.
MessageOfTheDay = '''
Welcome player,
thanks for playing with us!
'''
# A message that will appear in the chat when the client joins a channel
# If you're hosting a public lobby, you're kindly asked to
# keep at least a link to the original project
# Thank you <3
ChannelChatMessage = '''
Unofficial LobbyServer reimplementation by \cFF00FFFFKryotek
Source: \cFFAA55FFhttps://github.com/kryotek777/Sacred-Gold-LobbyServer
'''
# How many messages will be stored for the chat history
# Use 0 to disable chat history
ChatHistoryLimit = 20
# Fake servers that will be sent in the server list to act as separators.
# Servers are always ordered alphabetically by the client,
# so try to be clever with your names to preserve ordering!
ServerSeparators = [ "## Vanilla ##", "## Modded ##" ]
# A Regular Expression defining what usernames are allowed
# The default one is '^[\w-\\]+$' and allows letters, numbers, underscores (_), dashes (-) and backslashes (\, for colored names)
AllowedUsernameRegex = '^[\w-\\]+$'
# Here you can ban people by their ip address
# Bans can be of three types
# Full: The connection is dropped instantly without even attemping to figure out the client's type.
# use this to ban for security reasons
# ClientOnly: They cannot play the game, but can still host servers.
# use this for cheaters and general morons
# ServerOnly: They can play the game, but cannot host servers.
# use this for players with unstable connections that insinst on hosting their server
# It is advisable to use "Full" as the ban type when dealing with dangerous clients
# while ClientOnly and ServerOnly are advised for 'soft' bans for people who just misbehave
[[Bans]]
Ip = "169.254.0.0"
BanType = "Full"
Reason = "Attempted exploits" # Note: reason isn't shown for Full bans
[[Bans]]
Ip = "169.254.0.1"
BanType = "ClientOnly"
Reason = "Cheated characters"
[[Bans]]
Ip = "169.254.0.2"
BanType = "ServerOnly"
Reason = "Unstable servers that always crash"