-
Notifications
You must be signed in to change notification settings - Fork 2
/
Config.toml
68 lines (61 loc) · 2.49 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
# discover configurations
[discover]
# server name
name = "nanos world server"
# server description (max 127 characters)
description = ""
# server IP. we recommend leaving it 0.0.0.0 for default
ip = "0.0.0.0"
# server port (TCP and UDP)
port = 7777
# query port (UDP)
query_port = 7778
# announce server in the master server list
announce = true
# true if should run as dedicated server or false to run as P2P - dedicated server requires port forwarding - P2P will provide a fake IP to be used to connect
dedicated_server = true
# general configurations
[general]
# max players
max_players = 64
# leave it blank for no password
password = ""
# nanos world server authentication token
token = ""
# banned nanos account IDs
banned_ids = [
]
# game configurations
[game]
# default startup map
map = "default-blank-map"
# game-mode package to load (set the main game-mode package to load - you can load only one 'game-mode' package type at once)
game_mode = ""
# packages list (set the packages you want to load)
packages = [
"",
]
# asset packs list (additionally loads the asset packs you define here)
assets = [
]
# loading-screen package to load (the loading screen will be displayed when players join your server)
loading_screen = ""
# custom settings values
# those values can be accessed through Server.GetCustomSettings() method from any package
[custom_settings]
# my_setting_01 = "value"
# my_setting_02 = 123
# debug configurations
[debug]
# log Level - (1) normal, (2) debug or (3) verbose
log_level = 1
# if to use async or sync logs (async provides better performance, disabling async logs can help debugging crashes)
async_log = true
# enables performance profiling logs for debugging
profiling = false
# optimization configurations
[optimization]
# server tick rate in milliseconds (dangerous! server will tick at each [tick_rate] ms, affecting both server and client performance. 33 ms means 30 ticks per second and is the default and recommended value)
tick_rate = 33
# sets the compression level to use in some networking operations (0 - 9) - (0) disables it, (1) is the fastest and (9) is the slowest but has the highest compression ratio
compression = 0