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

[L4D1 AND L4D2] Dynamic Info In Hostname


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Ernecio
Junior Member
Join Date: Sep 2019
Plugin ID:
6857
Plugin Version:
1.0
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    The plugin shows in Hostname the difficulty and the number of players in real time.
    Unapprover:
    Reason for Unapproving:
    This Plugin has been discontinued
    Old 12-16-2019 , 16:16   [L4D1 AND L4D2] Dynamic Info In Hostname
    Reply With Quote #1

    [L4D1 AND L4D2] Dynamic Info In Hostname


    Sorry, This Plugin has been discontinued

    This is a basic Plugin based on the original idea of ​​Players count in hostname by D1maxa and in Server namer by Sheo, but unlike these plugins this version can show: Difficulty, HostName and Player Counter in the main name of the server, withot extra configs file (Only Autoxec autocreated by default). this plugin not show game modes or other values ​​in the server name.

    Description:
    This plugin has three operating modes which can show basic information about the current difficulty on the server, server name and player counter, the plugin updates the information in real time (It also depends on the speed of the steam master server update ), for example: [Advanced] My Awesome Server [8/10]

    (This plugin has only been designed for coop game mode and therefore only tested in coop mode)

    Convars:

    PHP Code:
    // Enables/Disables The Plugin. 0 = Plugin OFF, 1 = Plugin ON.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_hostname_enable "1"

    // Name of the server to be used
    // -
    // Default: "HostName"
    l4d_hostname_data "HostName"

    // Select HostName Format Modes.
    // 1 = Show: Difficulty, HostName And Player Counter.
    // 2 = Show: Difficulty And HostName.
    // 3 = Show: HostName And Player Counter.
    // -
    // Default: "1"
    // Minimum: "1.000000"
    // Maximum: "3.000000"
    l4d_hostname_modes "1" 
    Known Bugs:
    If the name of the server is changed by external sources then the format established by the plugin will be lost, to return to its normality only wait for a change in the difficulty or connected players

    Installation:

    1 - Click "Get Plugin" and put the l4d_dynamic_info_in_hostname.smx file into your server \addons\sourcemod\plugins\ folder.
    2 - The first time the plugin is executed, it will create a configuration file called: l4d_dynamic_info_in_hostname.cfg in the path: cfg\sourcemod \ forlder.
    change the parameter (HostName) in this file: l4d_hostname_data "HostName" to your prefer, example: l4d_hostname_data "My Awesome Server"
    3 - (Optional) In order for the plugin to work correctly at the server startup it is necessary to have: sv_pausable 0 in server.cfg
    Otherwise the server will go into hibernation and the default name assigned in server.cfg will be displayed (the plugin will display information until a player connects or changes the difficulty if its set sv_pausable 1)

    (Note the Web compiler is configured for SM 1.10)

    Last edited by Ernecio; 01-17-2023 at 16:05.
    Ernecio is offline
     


    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 08:10.


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