How to Create an Open Tibia Server (OTS): Complete Beginner Guide
An Open Tibia server (also called an OT, OTS or Tibia private server) is a game server that anyone can run on their own computer or on a rented machine. Players connect with a compatible client and play on your rules: your map, your monsters, your experience rate. This guide walks you through the whole path, from nothing to a server that other people can join.
What you need
- A server engine: the program that runs the game world. The two most common open source choices are The Forgotten Server (TFS) and Canary. We compare them in TFS vs Canary.
- A datapack: the scripts, monsters, NPCs, spells and map that run on top of the engine. Some engines include a ready to use one.
- A database: MySQL or MariaDB stores accounts, characters, houses and items.
- A client that matches your server version. See Tibia client versions explained.
- A website (AAC) so players can create accounts. Popular choices are Znote AAC, MyAAC and Gesior.
Step 1: Choose the version and engine
Decide which Tibia version your server will use first, because everything else depends on it. Classic versions such as 7.4, 7.72 and 8.60 have huge communities and many ready made maps and scripts. Version 10.98 is the last release of the older style client and is what The Forgotten Server 1.4.2 supports. Newer versions such as 13.40 and 15.x give modern features but need more assets and are harder for beginners.
If you are unsure, pick the version of a server you enjoy playing. Browse the OTServZone server list and filter by client to see what is popular right now.
Step 2: Download the engine and datapack
Both TFS and Canary are open source and published on GitHub. Download the release that matches your version, or the source code if you plan to compile it yourself. Read the README of the project you choose: it lists the supported client version and the exact setup steps, and it is the most reliable source for your specific release.
Keep the engine and datapack in a simple folder such as C:\ots\myserver. Avoid folders with spaces or special characters in the path.
Step 3: Install the database
Install MySQL or MariaDB. On Windows, a bundle such as XAMPP or Uniform Server gives you the database and phpMyAdmin together. Then:
- Create a new empty database, for example
myots. - Import the
schema.sqlfile that comes with your engine. This creates the tables. - Write down the database user and password. You will put them in the server config.
Step 4: Edit config.lua
Every engine has a config.lua file with the main settings. The ones every beginner must check are:
ip: use127.0.0.1while testing on your own computer, and your public address when you go online.mysqlHost,mysqlUser,mysqlPass,mysqlDatabase: the database details from step 3.- The ports. The usual defaults are 7171 for login and 7172 for the game.
- Server name, message of the day, and the experience, skill and loot rates.
Change one thing at a time and restart the server after each change. That way you always know which change broke something.
Step 5: Start the server
Run the engine executable. A console window shows the loading steps: items, map, monsters, NPCs and scripts. When it prints that the server is online, the engine is working. If it closes immediately, read the last lines of the console. The most common causes are a wrong database password, a missing schema, or a datapack that does not match the engine.
Step 6: Set up the website and create an account
Install a PHP web server (Apache or Nginx with PHP) and a website for accounts such as Znote AAC or MyAAC, and point it at the same database. Create your first account on the website, then create a character. The OTLand guide to setting up an Open Tibia server has a clear beginner walkthrough for this part that you can follow alongside this guide.
Step 7: Connect with a client
Use a client that matches your version. Many servers use OTClient, a free open source client, and set the server address in its init file. For older versions you can also use the matching official client with a tool that changes the server address. Log in with the account you created. If you can walk around, you have a working server.
Step 8: Edit the map and scripts
Now the fun part. The map is edited with Remere's Map Editor (RME), a free tool: open the map file, draw towns, dungeons and spawns, then save it and restart the server. Monsters, NPCs, spells and quests are Lua and XML files in the datapack. Start by changing small things, like a monster's loot, and check that the change works in game.
Step 9: Put it online
Running on your own computer is perfect for testing, but it is not ideal for a public server. When you are ready, read how to host an Open Tibia server online. It covers VPS hosting, opening the right ports and basic protection against attacks.
Step 10: Get players
A server with no players is a quiet world. Add your server to OTServZone for free so players can find it, and read how to get players for your OT server for more ideas.
Common beginner mistakes
- Mixing an engine, datapack and client from different versions.
- Forgetting to import the database schema.
- Leaving
ipas127.0.0.1after going online, so nobody else can connect. - Not opening the login and game ports in the firewall.
- Editing many files at once and not knowing what broke the server. Keep a backup before big changes.
Frequently asked questions
Is it free to create an Open Tibia server?
The engines and tools are free and open source. Running it on your own computer costs nothing. A public server usually needs a rented VPS, which costs a few dollars or euros a month for a small one.
Can I make an OTS without coding?
Yes, to start. You can run a ready made engine and datapack, change settings in config.lua and edit the map with RME. Learning basic Lua later lets you build your own features.
Which is better for beginners, TFS or Canary?
Both work. TFS has a lot of beginner tutorials and a simple setup, while Canary targets the newer client versions and has a bigger datapack. Our comparison helps you choose.
Is running an Open Tibia server legal?
Tibia is a trademark of CipSoft, and Open Tibia projects are unofficial fan projects. Do not claim to be affiliated with CipSoft, and read the rules and the licenses of the engine and assets you use. OTServZone is an independent server list and is not affiliated with CipSoft.
Browse live Open Tibia servers by players, uptime and client version, or list your own server for free.
See the server list | Add your server