Raised This Month: $89 Target: $400
 22% 

[ANY] Server status


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Gachl
BANNED
Join Date: Feb 2009
Plugin ID:
949
Plugin Version:
1.1.6
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    36 
    Plugin Description:
    More advanced view of 'status' console command.
    Old 06-24-2009 , 11:22   [ANY] Server status
    Reply With Quote #1

    Server status
    Version 1.1.6
    Support level: Bugs and requests

    Description

    Show some server and/or user informations. More advanced view of the status console command.

    Server information
    • Hostname
    • Max. number of players
    • Current player count
    • Current number of connecting players
    • Current count of free slots
    • Current map
    • Next map
    • Approximate total amount of players connected after last server restart
      This works only if at least one player is connected and may vary up to ~20 players.

    Client information
    • Handle
    • UID
    • SteamID
    • Ontime
    • Avg. latency
    • Cur. latency
    • Team
    • IP
    • Port

    Usage

    CVars
    Quote:
    • sm_status_version
      The current version of the plugin.
    Commands
    The commands are public, so regular players can use them too.
    Quote:
    • sm_status
      Shows the server status only
    • sm_status_full
      Shows the server and user status (for all users)
    • sm_status_player <playername>
      Shows the user status for the specific user only
    Example

    Code:
    sm_status_full
    
    Hostname:       BiG|Ultimate CP Server
    Maxplayer:      32
    Curplayer:      4
    Connecting:     0
    FreeSlots:      28
    Current map:    cp_dustbowl
    Nextmap:        cp_egypt_final
    TotalPlrs:      406
    
    Users:
    =========================================
    
    **** Stev******
            Handle: 1
            UID:    403
            Steam:  STEAM_0:0:5****38
            OnTime: 0.000000 seconds
            AvgLat: 0.000000
            CurLat: 0.000000
            Team:   Blue
            IP:     80.**.89.**
            Port:   27005
    
    **** D*****wn
            Handle: 2
            UID:    404
            Steam:  STEAM_0:1:16*****2
            OnTime: 0.000000 seconds
            AvgLat: 0.000000
            CurLat: 0.000000
            Team:   Red
            IP:     85.**.25.***
            Port:   27005
    
    Cra****ot
            Handle: 3
            UID:    405
            Steam:  STEAM_0:0:1*****96
            OnTime: 0.000000 seconds
            AvgLat: 0.000000
            CurLat: 0.000000
            Team:   Red
            IP:     80.*.29.**
            Port:   27005
    
    eli*******rz
            Handle: 4
            UID:    406
            Steam:  STEAM_0:0:203****2
            OnTime: 0.000000 seconds
            AvgLat: 0.000000
            CurLat: 0.000000
            Team:   Blue
            IP:     77.***.234.**
            Port:   27005
    (Names, SteamIds and IPs censored.)

    Changelog

    Code:
    v1.0.0 2009/06/24
    +	Plugin created.
    v1.1.0 2009/06/25
    +	Added IP to userdetail
    +	Added Port to userdetail
    +	Parameter 0 disables user list.
    v1.1.2 2009/06/30
    +	Added sm_status_player
    +	Added sm_status_full
    +	Added version cvar
    +	Added current map
    +	Added next map
    *	Fixed a bug (wrong player index).
    v1.1.3 2009/07/02
    +	Added support for all games
    v1.1.4 2009/07/02
    *	Fixed support for all games (Team names)
    v1.1.5 2009/07/03
    *	Fixed latest version doesnt show nextmap and current map.
    +	Added TotalPlrs showing the amount of players connected since last server restart
    v1.1.6 2009/07/08
    *	Fixed status cvar (FCVAR_NOTIFY)
    Please report bugs here, I'll try to fix them as soon as possible.
    Attached Files
    File Type: sp Get Plugin or Get Source (serverstatus.sp - 2117 views - 4.7 KB)

    Last edited by Gachl; 07-08-2009 at 21:21. Reason: New version
    Gachl is offline
    h00x
    Senior Member
    Join Date: Jun 2009
    Old 06-24-2009 , 11:36   Re: Server status
    Reply With Quote #2

    Nice layout, could you include the users ip address?
    h00x is offline
    Gachl
    BANNED
    Join Date: Feb 2009
    Old 06-24-2009 , 11:45   Re: Server status
    Reply With Quote #3

    Yea, I were thinking about that too, I'll do that.
    Gachl is offline
    exvel
    SourceMod Donor
    Join Date: Jun 2006
    Location: Russia
    Old 06-24-2009 , 12:42   Re: Server status
    Reply With Quote #4

    Good job.
    Also you can round this values: OnTime, AvgLat, CurLat. This would look more clean I think.
    And of course translations support are welcome.
    __________________
    For admins: My plugins

    For developers: Colors library
    exvel is offline
    Send a message via ICQ to exvel
    Gachl
    BANNED
    Join Date: Feb 2009
    Old 06-24-2009 , 15:03   Re: Server status
    Reply With Quote #5

    Quote:
    Originally Posted by exvel View Post
    Also you can round this values: OnTime, AvgLat, CurLat. This would look more clean I think.
    Good idea!

    Quote:
    Originally Posted by exvel View Post
    And of course translations support are welcome.
    Well, since this doesn't contain so much text I decided not to add language support.
    Gachl is offline
    Gachl
    BANNED
    Join Date: Feb 2009
    Old 06-25-2009 , 07:13   Re: Server status
    Reply With Quote #6

    New version.
    Gachl is offline
    Gachl
    BANNED
    Join Date: Feb 2009
    Old 06-30-2009 , 08:13   Re: [ANY] Server status
    Reply With Quote #7

    Update (again).
    Updated:
    • Added version cvar
    • Disabled plugin if mod is not supported
    • Added current map
    • Added next map
    • Splitted sm_status in sm_status, sm_status_full and sm_status_player <plrname>
    Gachl is offline
    crazydog
    SourceMod Donor
    Join Date: Jan 2006
    Old 07-01-2009 , 18:19   Re: [ANY] Server status
    Reply With Quote #8

    Aw, no L4D support?

    You shouldn't label this [ANY] if it only supports TF2 DOD:S CSS and HLDM
    crazydog is offline
    Gachl
    BANNED
    Join Date: Feb 2009
    Old 07-02-2009 , 03:24   Re: [ANY] Server status
    Reply With Quote #9

    Okay, I fixed that. All unsupported games doesn't show a team now.
    Gachl is offline
    Gachl
    BANNED
    Join Date: Feb 2009
    Old 07-02-2009 , 04:34   Re: [ANY] Server status
    Reply With Quote #10

    I'm so damn stupid
    I added now support for all games including team names (GetTeamName <-oooh shiny function <.<)
    Gachl 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 15:47.


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