View Single Post
Author Message
Gachl
BANNED
Join Date: Feb 2009
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 - 3658 views - 4.7 KB)

Last edited by Gachl; 07-08-2009 at 21:21. Reason: New version
Gachl is offline