Skip to content

Directory Structure

Konijima edited this page Jul 11, 2022 · 3 revisions

The lua directory contain 3 subdirectories.

client/

lua script loaded on the client only

server/

lua script loaded on the server only.

shared/

lua script loaded on both the client & server.


Inside each of these 3 directories, there is a directory with the same name as the mod.

This will prevent script conflict/overwriting with other mods and make it easier to reload script using command or debug interface (F11).

Clone this wiki locally