Difference between revisions of "Packaging Plugins (SourceMod)"
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...) |
Devicenull (talk | contribs) |
||
Line 1: | Line 1: | ||
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. | 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: | Example: |
Latest revision as of 15:29, 24 February 2009
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