-
Notifications
You must be signed in to change notification settings - Fork 9
config
mtanksl edited this page Apr 24, 2024
·
5 revisions
Edit the \mtanksl.OpenTibia.GameData\data\server\config.lua
file to configure which database to use and to configure the login and game binding port.
server = {
login = {
...
port = 7171,
...
},
game = {
...
port = 7172,
...
},
...
}
Note: The message of the day is stored in database's Motd
table.
server = {
...
motd = "MTOTS - An open Tibia server developed by mtanksl",
...
}
Note: The server IP, port and world's name are stored in database's Worlds
table.
server = {
...
worlds = {
["Cormaya"] = {
ipaddress = "127.0.0.1",
port = 7172
}
},
...
}
server = {
...
info = {
maxconnections = 1,
port = 7173,
public = {
servername = "MTOTS",
ipaddress = "",
port = 7171,
location = "",
url = "",
ownername = "",
owneremail = "",
mapname = "",
mapauthor = ""
}
},
...
}