Packaging Plugins (SourceMod)

From AlliedModders Wiki
Revision as of 15:29, 24 February 2009 by Devicenull (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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