Packaging Plugins (SourceMod)

From AlliedModders Wiki
Jump to: navigation, search

Any plugins requiring supporting files would need to include a zip (NOT rar, tar.gz, etc) file containing these. This zip file should be based on the mods root directory, so that if you were to extract it to the "cstrike" directory on a server, everything would go to the correct place.

The sp file of your plugin should still be attached directly to the post. It should not go in this zip file.

Example:

cfg/sourcemod/myconfig.cfg
addons/sourcemod/configs/admin_myadmin.cfg
addons/sourcemod/gamedata/obscuregame.gamedata.txt
addons/sourcemod/translations/myplugin.phrases.txt
models/player/someplayer.vdf
maps/somemap.bsp

This zip file should be named the same as your plugins name (IE, if your compiled plugin is "adminfly.smx", this file should be "adminfly.zip")


An example of what NOT to do (DON'T DO THIS):

cstrike/cfg/sourcemod/myconfig.cfg
cstrike/maps/mymap.bsp