Raised This Month: $ Target: $400
 0% 

[L4D1 & L4D2] Spectators Name Message Queue [v1.0.1 | 15-January-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
8372
Plugin Version:
1.0.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Displays spectators names from time to time, sorted by longest time connected in server
    Old 01-15-2023 , 12:22   [L4D1 & L4D2] Spectators Name Message Queue [v1.0.1 | 15-January-2023]
    Reply With Quote #1

    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

    Spoiler


    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.
    Attached Files
    File Type: txt l4d_specs_msg_queue.phrases.txt (1.2 KB, 200 views)
    File Type: sp Get Plugin or Get Source (l4d_specs_msg_queue.sp - 324 views - 11.8 KB)
    __________________

    Last edited by Marttt; 02-06-2023 at 13:17.
    Marttt 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 19:30.


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