Description
Displays spectators names from time to time, sorted by longest time connected in server.
Made it a long time ago, but I still see some competitive servers using my private version instead.
Useful for competitive servers that has a lot of spectators slots and want to replace a player during AFK or an entire team at the end of the match.
Features- Allows enabling/disabling the plugin.
- Allows configuring the interval that a message is displayed.
- Public command to output the queue to caller chat.
- Translations supported.
Cvars
A configuration file named "
l4d_specs_msg_queue.cfg" will automatically be created for you upon the first run in the "
\cfg\sourcemod\" folder.
PHP Code:
// Enable/Disable the plugin.
// 0 = Disable, 1 = Enable.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_specs_msg_queue_enable "1"
// Interval in seconds that the queue message should output to everyone.
// -
// Default: "60.0"
// Minimum: "0.100000"
l4d_specs_msg_queue_timer_interval "60.0"
Public Commands
- sm_queue => Shows the current player queue.
Admin Commands
- sm_print_cvars_l4d_specs_msg_queue => Print the plugin related cvars and their respective values to the console. (z flag required)
Change Log
Current Translations
- en - English
- es - Spanish
- pt - Brazilian Portuguese
- pt_p - Portuguese
Notes
- The sort is based on the return of the GetClientTime function. (only sorts SPECTATOR and HUMAN players)
Thank you!
Post Reply
- Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.
Installation
- Put the "l4d_specs_msg_queue.phrases.txt" file in your "\addons\sourcemod\translations\" folder.
- Put the "l4d_specs_msg_queue.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.