Packaging Plugins (SourceMod)
Revision as of 14:48, 24 February 2009 by Devicenull (talk | contribs) (New page: 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 w...)
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.
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