File structure
A Plextoria mod follows the standard Minetest mod format.
Required files
| File | Required | Purpose |
|---|---|---|
| mod.conf | Yes | Mod metadata |
| init.lua | Yes | Entry point, loaded on server start |
Optional files
| File | Purpose |
|---|---|
| depends.txt | Declare dependencies on other mods |
| description.txt | Plain text description |
| textures/ | PNG image files used by the mod |
| sounds/ | OGG or WAV audio files |
Allowed file types
Only the following file types are accepted inside your zip:
.lua-- Lua scripts.png-- Textures and images.ogg-- Audio files.wav-- Audio filesmod.conf-- Mod metadatadepends.txt-- Dependency declarationsdescription.txt-- Mod description
Any other file type will cause the upload to be rejected.
Size limits
| Limit | Value |
|---|---|
| Max zip size | 500 KB |
| Max total uncompressed per world | 5 MB |
Example structure
my_mod/
mod.conf
init.lua
depends.txt
textures/
my_mod_icon.png
sounds/
my_mod_alert.ogg