Skip to content

sqlite database

mtanksl edited this page Jan 29, 2025 · 3 revisions

Introduction

Edit the \mtanksl.OpenTibia.GameData\data\server\config.lua file to set the database type to sqlite. Then set the source file location. Or use custom connection string setting overrideconnectionstring property with string value.

The DDL file is in \mtanksl.OpenTibia.Data.Sqlite\structure.sql.

Example

server = {
	...
	database = {
		type = "sqlite",
		source = "data/database.db",
		...
	}
}