Main page |
Here's a couple of plugins I've written or modified for adminmod.
Updated 2002-12-06. hltrig is a perl script that you pipe the server output into. The script then interprets the logs and sends "trig" events to adminmod for a number of events. This enables adminmod scripts to be "mod aware", i.e. to act on mod-specific events such as bomb plants etc in Counter Strike. (Update added more info to 'attacked' and 'killed' events.)
Use plugin_hltrig.sma [amx] to see all events that occur.
New: plugin_hltrig_cheat.sma is a new script that bans the cheaters caught by Valves new anticheat code.
Hltrig uses KKrcon.pm to communicate with the server. Put it in the same directory as hltrig.
To use it, start it in the same command line that starts the server:
hlds_run -game cstrike +maxplayers 20 +map cs_italy | hltrig.pl
Don't forget to change the XXXX in the script to your rcon password!
Note: I've only tested hltrig.pl on linux.
Enjoy!
-- Zagor