OTServ Manual
From OpenTibia Fans
- If you're looking for a quick way to start your own server see the Quick Server Setup page.
OTServ is extremely configureable to the users demands through configuration files and can also be controlled during runtime either by logging in or through the Status Protocol and the OTAdmin protocol.
Contents |
Runtime Administration
Ingame Administration
When connected to an OpenTibia server, an adminstrator (colloquially "God") or actually anyone with the right access, can use several commands to control the server.
OTAdmin
Using OTAdmin, the server can be controlled either remotely or by the local computer. OTAdmin requires a password to use (individual to each server) and can be used to save the server, shut it down, query information and pay house rents.
Configuration
The server settings can be changed by editing the configuration file called config.lua. This files contain global settings for experience rate, database server, server name etc.
- A comprehensive list of settings and what they affect can be found in the Configuration documentation.
Map Editor
OpenTibia has two map editors, Remere's Map Editor (download) and SimOne's Map Editor (download).
- List of Mapping Tutorials
- More tutorials can be found in the forum.
Data Files
OpenTibia is extremely configurable through a host of XML files.
Monsters are edited through the monster files found in the monsters folder in the data directory. You can open any file there and change the settings to create new monsters or modify old one's. For a comprehensive list of the options available, see Monster Configuration.
Items are modified through the items.xml file found in the data directory. A list of all the options available can be found at Item Configuration.
Scripting
OpenTibia uses the Lua programming language for script files.
These Lua scripts effect many In-game features of a server.
- You can view the list of all Lua functions. (and for revscriptsys)
- Questions can be asked here in the forum regarding XML & Lua
- Tutorials on scripting can also be found in the forum.
Database Configuration
- Main article: OTServ Database
OTServ can ues numerous different database backends. Most popularly SQLite for small servers and MySQL for larger servers. Almost unused but still supported is Postgre SQL and ODBC.
At the moment there are several good quality tutorials that have been submitted by OTFans members that give step by step guidance on how to configure and setup databases for OTServ. Below are some direct links to a few tutorials.
All approved OTFans tutorials that relate to otserv can be found in the Tutorials forum.
Other
Status Protocol
- Main article: OT Status Protocol

