What it does?
When player is speaking to voice chat, plugin will save the time how long he spoke. Players can use command to view their stats.
Times are stored in seconds into database.
Plugin is tested only in CS:GO, it will maybe work in CSS and other games.
Commands
- sm_talktime [target] - Shows player's stats (if no target specified, sender's menu is displayed)
- sm_toptalkers - List of players that have spoken the most
ConVars
- sm_talktime_onlyadmins (def.0) 1 = Non-admins see only their stats / 0 = Anyone can view anyone's stats
- sm_talktime_warmup (def.1) Save times during warmup?
- sm_talktime_toplistsize (def.30) How many players should be in sm_toptalkers menu?
- sm_talktime_database (def."talktime") Which database (from databases.cfg) to connect to
- sm_talktime_debug (def.0) 1 = Enable debug messages in client's console
How to install?
This plugin requires VoiceannounceEX.
- Drag sm_talktime.smx to your plugins folder
- Drag talktime.phrases.txt to your translations folder.
- Open databases.cfg from configs folder and create connection named "talktime". Or you can change convar sm_talktime_database to something else.
When updating - maybe don't forget localization (
talktime.phrases.txt)
Changes
TODO (Yes, I am lazy)
GitHub Repository
___________________