I'm happy to release the first plugin to do this for SF
It allows you to prevent players from purchasing certain weapons. You do this through a couple console commands
blockweapon <weapon> <0|1>
Ex:
blockweapon 1 1
would block the pulse rifle, or
blockweapon 11 1 would block the repair kit.
The weapon is the fkey you would normally press to buy it.
Installation is pretty easy, but you need to install Metamod: Source first. Go to
http://sourcemm.net/ to download it, then follow the instructions at
http://sourcemm.net/?go=docs&doc=install
After MMS is installed, extract the file at
http://devnull.vision-host.net/files...ceforts_mm.zip to your sourceforts\addons directory.
Next add this line to your sourceforts\addons\metamod\metaplugins.ini file:
addons\sourceforts_mm
Save this file, then restart the server.
To make it so a weapon is blocked every round, put the commands in your cfg\server.cfg file. You can also block and unblock weapons on the fly via rcon.
To make your server a lot more stable, add this to your server.cfg
Quote:
blockweapon 2 1
blockweapon 11 1
blockweapon 12 1
|
This will block slams, the repair kit, and the destablizer, which seem to be the three things most responsible for crashing your server.
Mapcycle:
Create a mapcycle.txt file in Souceforts\
One map per line, ex:
Do NOT repeat maps.
Now set mp_timelimit to whatever you want. Around 30 seconds before the timelimit would normally kick in, it changes it to the next map.
Get it and its source at:
http://devnull.vision-host.net/files...ceforts_mm.zip
Edit:
Update:
0.3-> Added mapcycle fix, servers will actually cycle maps instead of reloading the same one over and over
0.2 -> You can see the results of the commands from rcon now.