FOnline.cfg 3.16 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#
# [Common]
#

# Window name
WindowName = FOnline

#
# [Server]
#

# Project files to work with
ProjectFiles = ???; FOnlineSDK/Modules/Core; ...

15 16
# Storage location
# Variants:
cvet's avatar
cvet committed
17 18
# - JSON Storage (separate files for each entity in readable json format)
# - UnQLite Storage (single file, bson format)
19
# - Mongo mongodb://localhost:27017 FOnline
cvet's avatar
cvet committed
20
# - Memory (world state will be lost after server shutdown)
21
DbStorage = UnQLite Storage
22

23 24 25 26
# Place where stored changes of storage
# Supported same variants as storage plus None for disable feature
DbHistory = None

27 28 29 30 31 32 33 34
# Position of server window
# 0, 0 - center of monitor
PositionX = 0
PositionY = 0

# GUI size modifier
GUISize = 0

35 36 37
# Listening ports
# Port - all clients except Web
# Port + 1 - web sockets for Web clients connection
38 39
Port = 4000

40 41 42 43 44 45
# Secured Web Sockets credentials
# Private key and certificate pem files separated by space
# e.g. WssCredentials = private.pem public.pem
# Omit to use only unsecured web sockets
WssCredentials =

46
# Admin panel listening port
47
# If set to 0, admin panel will be disabled
48 49
AdminPanelPort = 0

50
# Sleep time after each game cycle, in milliseconds
51 52 53
GameSleep = 10

# Memory monitoring
54
# 0 - disabled, 1 - simple monitoring, 2 - deepest monitoring, 3 - more deepest monitoring
55 56 57 58 59 60 61 62 63 64 65 66
MemoryDebugLevel = 2

# Logging to file or text box
Logging = True

# Profiler data collection mode
# 0 - disabled, 1 - save to file, 2 - display in server, 3 - both
ProfilerMode = 0

# Interval for call stack sampling, in ms
ProfilerSampleInterval = 50

67 68
# Allow or disallow server extensions calls (.dll/.so/etc)
# If enabled, you must provide server extensions for platform where server is running
69 70
AllowServerNativeCalls = True

71 72 73
# Allow or disallow client extensions calls (.dll/.so/etc)
# If enabled, you must provide client extensions for all supported platforms
# This option is disabled by default for maximum portability
74 75
AllowClientNativeCalls = False

76 77
# List of all supported languages; Language_0 is used as default if client requests unknown language
# Length of each language name must be exactly four letters
78 79
Language_0 = engl

80 81 82
# Passwords for ~getaccess
# Engine handles four access levels: client (default on login), tester, moder, admin
Access_client = pass password
83 84 85 86 87 88 89 90 91
Access_tester =
Access_moder  =
Access_admin  =
AccessNames_admin =

#
# [Client]
#

92
# Language
93 94
Language = engl

95
# Remote settings
96 97 98
RemoteHost = localhost
RemotePort = 4000

99 100 101 102 103 104
# Proxy settings
# Types:
#  0 - Disabled
#  1 - Socks4
#  2 - Socks5
#  3 - HTTP
105 106 107 108 109 110
ProxyType = 0
ProxyHost = localhost
ProxyPort = 1080
ProxyUser = 
ProxyPass = 

111 112
# Sound volume
# Percent 0..100
113 114 115
MusicVolume = 100
SoundVolume = 100

116
# Screen resolution
117 118 119
ScreenWidth  = 1024
ScreenHeight = 768

120
# Fullscreen mode
121 122
FullScreen = False

123
# Keep window on top
124 125
AlwaysOnTop = False

126 127 128
# Framerate setting
# Not used if VSync is enabled
# Zero - no restriction
129 130
FixedFPS = 100

131
# Vertical synchronization
132 133
VSync = False

134 135 136
# Key codes redirection
# X Y X Y..., where X source code and Y destination code
# Code numbers - http://fonline.pastebin.com/Qy3E0qwj
137 138 139 140 141 142 143 144 145 146 147 148 149 150
KeyboardRemap =

#
# [InterfaceEditor]
#

# Path to *.fogui files
GuiPath = ???

# GuiScreens.fos output path
GuiOutputPath = ???

# Path to interface resources
GuiResourcesPath = ???