Report a cheater
Version 1.0.3
Support level: Bugs
Requirements
Source TV enabled and running.
Description
This plugin has been requested
here.
Players can report a
cheater by saying /cheater and picking his username from a list. The plugin will start recording a demo with source tv (because there is no other way to record a demo serverside) and save it to cheater_timestamp_steamid.dem on the server. It will automatically stop the demo on map end, or after sm_cheater_rounds rounds or after sm_cheater_time seconds.
Usage
CVars
Quote:
- sm_cheater_time = 300.0
Max. time to record in seconds.
- sm_cheater_rounds = 3
Max. rounds to record.
- sm_cheater_wait = 300.0
Time that must elapse until an other /cheater can be reported (spam protection). The time will count from the end of the last recording, so you don't have to include recording time.
- sm_cheater_runcmd = "status"
This command(s) will be run after the demo started. For multiple commands seperate them with an semicolon (;). This can be used for status or sb_status etc.
- sm_cheater_version
The current version of the plugin.
|
Commands
The commands are public, so regular players can use them.
The commands must be used in chat.
Quote:
- /cheater
Report a cheater. "/" is the silent chat trigger of the server. Alternatively you can write "sm_cheater" in your client console.
|
Changelog
Code:
v1.0.0 2009/07/08
+ Plugin created.
v1.0.1 2009/07/08
* Fixed status cvar (FCVAR_NOTIFY)
v1.0.2 2009/07/17
+ Added sm_cheater_runcmd
v1.0.3 2009/08/21
* Fixed !cheater sometimes not showing the menu
* Changed !cheater to /cheater
Please report bugs here, I'll try to fix them as soon as possible.