• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient Lua Documentation


New Member
Aug 13, 2023
Reaction score
hello, people of the forum. I've come here to share some of my resource with you all.

I've just started doing modding for the client and I was a little bogged down because there is not much documentation easily found about the lua API given to us. So I've made these simple lua files with directives that tell your lua language server about the objects and their methods. So that you can escape from those warnings, and even get some autocompletion to boot.

The files are in this repository on github. You can just copy it to the root of the data folder and set the "workspace.library" option in the language server to point to this directory.

Cheers, y'all.
I believe it would fit more on the OTClient board. Great contribution btw!