In brief
According to the official MTA wiki, resources go into the server's mods/deathmatch/resources folder and meta.xml describes the scripts to load. We go through the structure of a minimal resource and starting it from the server console.
Where does the resource go?
Copy the resource, as a ZIP file or a folder, into mods/deathmatch/resources. The name of the folder becomes the resource's name.
The server recognises a new resource only after the refresh command, so run one in the console after copying.
meta.xml and the two scripts
According to the wiki, meta.xml specifies which scripts to load. The quick-start template uses two script elements: a server-side one and a client-side one.
The type parameter can be server or client. The server sends the client-side script to the connecting player, so keep it small.
Starting and stopping
In the server console you can start and stop the resource with the start and stop commands, giving its name. refresh rereads the folder.
If the script reports an error, you will also see where it happened in the server log. After fixing it, stop and restart the resource.
Mikor kell nagyobb csomag?
A few small resources are fine on the Start plan. If you run many scripts and models or the player count grows, memory use grows too.
According to the manual it is worth watching when the MTA Server process grows beyond roughly 1.2 GB and planning regular restarts.



