Skip to content

Mod Config

Konijima edited this page Jul 12, 2022 · 5 revisions

Find the config file at:

shared/MyModName/Config.lua

Required Fields

Your mod config must contains these fields:

ModName         --- String, your mod ID, preferably don't use spaces into a mod ID.

ModVersion      --- String, your mod version.

ModInfo         --- KeyPair table, your mod Meta data to be printed when the mod is loaded.

ClientModData   --- KeyPair table, GlobalModData names to create on the client.

ServerModData   --- Array table, GlobalModData name to create on the server.

ClientEvents    --- Array table, Custom Event names to create on the client.

ServerEvents    --- Array table, Custom Event names to create on the server.

Optional Fields

You can add any custom fields to the config object that your mod will need.

Clone this wiki locally