sqlite database - mtanksl/OpenTibia GitHub Wiki

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",
		...
	}
}