Raised This Month: $32 Target: $400
 8% 

[CSGO/ANY?] Talk Time


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Minfas
Member
Join Date: Dec 2017
Plugin ID:
7166
Plugin Version:
1.3
Plugin Category:
Statistical
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Saves how much players are speaking
Old 06-17-2020 , 11:50   [CSGO/ANY?] Talk Time
Reply With Quote #1

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
Spoiler


TODO (Yes, I am lazy)
Spoiler


GitHub Repository
___________________
Attached Files
File Type: sp Get Plugin or Get Source (sm_talktime.sp - 127 views - 13.4 KB)
File Type: smx sm_talktime.smx (10.6 KB, 125 views)
File Type: txt talktime.phrases.txt (724 Bytes, 134 views)

Last edited by Minfas; 06-17-2020 at 19:02. Reason: Update
Minfas is offline
Sandervraun
Senior Member
Join Date: May 2019
Location: Denmark
Old 06-17-2020 , 15:46   Re: [CSGO/ANY?] Talk Time
Reply With Quote #2

Maybe add a top list? so people can see who have spoken the most Just for the fun and gags
Sandervraun is offline
Minfas
Member
Join Date: Dec 2017
Old 06-17-2020 , 17:44   Re: [CSGO/ANY?] Talk Time
Reply With Quote #3

Quote:
Originally Posted by Sandervraun View Post
Maybe add a top list? so people can see who have spoken the most Just for the fun and gags
Ok, added.
__________________
Founder of LEXTEN CZ/SK JailBreak
Minfas is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode