Skip to content

HLstats, SourceBans, MapChooser, Advertising, Discord Webhook

Notifications You must be signed in to change notification settings

SnipeZilla/HLstatsZ-Classics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

HLstatsZ Classics

A lightweight, dependency-free plugin for CS2 servers using CounterStrikeSharp.
Designed for a smooth transition from SourceMod, preserving your existing HLstats and SourceBans database. Admins, bans, and stats remain intact โ€” no migration needed.
HLstats and SourceBans integration are fully supported โ€” but not required.
You can disable either system without affecting core functionality or admin workflows.

โœ… No external dependencies
โœ… Compatible with existing MySQL schema
โœ… Reload-safe and performance-optimized
โœ… Native command support with privilege flags
โœ… Discord webhook notification

๐ŸŽฎ Player Chat Commands

Command HLstats MapChooser SourceBans Description
!menu / !hlx_menu โœ… โœ… โœ… Open the main menu
!rank โœ… Show your personal rank
!top10 โœ… Show Top 10 players
!next โœ… Show progress to next rank
!rtv โœ… Rock-the-vote
!nominate โœ… Nominate a map for rtv
!votemap โœ… Start a map vote
!nextmap/!next โœ… Force the next nominate map
@ โœ… User โ†’ Message all admins

๐Ÿ›ก๏ธ Admin Commands Chat & Client console (SourceBans)

Command Description
@y Admin message to global chat
@s Admin โ†’ Spectators chat
@ct Admin โ†’ Counter-Terrorists
@t Admin โ†’ Terrorists
@username Private message to specific player
!say Admin message to global chat
!psay Private admin message
!hsay Admin center-screen message
!kick Kick a player
!slay Kill a player
!ban Ban a player by SteamID
!banip Ban a player by IP
!unban Remove a ban
!gag Disable text chat
!mute Disable voice chat
!silence Disable both voice & text
!ungag Remove text gag
!unmute Remove voice mute
!unsilence Remove silence
!team Move a player to a team
!give Give item/weapon
!camera Show duplicate IP
!players Show current player list
!map Change map immediately
!rename Rename session player name
!refresh Refresh admin permissions cache

๐Ÿ›ก๏ธ Console RCON Commands (SourceBans)

Command Description
kick Kick a player
slay Kill a player
ban Ban a player by SteamID
banip Ban a player by IP
unban Remove a ban
gag Disable text chat
mute Disable voice chat
silence Disable both voice & chat
ungag Remove chat gag
unmute Remove voice mute
unsilence Remove silence
team Move a player to a team
camera Show duplicate IP
players Show current player list
rename Rename session player name
refresh Refresh admin permissions cache

Flags

Flag Description
b Generic admin (basic abilities)
c Kick players
d Ban players
e Unban players
f Slay players
g Change map
i Configs (!refresh)
o Banip
n Cheats (!give)
p Ban permanently
q Unban anyone
z Root admin (full access)
image image image

HLstatsZ.json

{
  "Enable_HLstats": false,
  "Enable_Sourcebans": true,
  "Log_Address": "64.74.97.164",
  "Log_Port": 27500,
  "BroadcastAll": 0,
  "ServerAddr": "",
  "Version": 2,

  "SourceBans": {
    "Host": "64.74.97.164",
    "Port": 3306,
    "Database": "sourcebans",
    "Prefix": "sb",
    "User": "",
    "Password": "",
    "Website": "https://bans.example.com",
    "VoteKick": "public",
    "Chat_Ban_Duration_Max": 10080,
    "Menu_Ban1_Duration": 15,
    "Menu_Ban2_Duration": 60,
    "Menu_Ban3_Duration": 1440,
    "Menu_Ban4_Duration": 10080,
    "Menu_Ban5_Duration": 0,
  },

  "Maps": {
    "VoteMap": "public",
    "Nominate": true,
    "MapCycle": {
      "Admin": {
        "Maps": ["workshop/3240327667/awp_lego_3"]
      },
      "Public": {
        "Maps": ["de_inferno",
                 "de_mirage",
                 "de_nuke",
                 "de_overpass",
                 "de_ancient",
                 "workshop/3552466076/mocha"]
      }
    }
  },

  "Avertissements": [
  { "Message": "Welcome To Snipe{red}Zilla{default}", "PrintType": "html", "EveryMinutes": 12 },
  { "Message": "Visit Snipe{red}Zilla{default}.com", "PrintType": "say", "EveryMinutes": 15 }
  ],

  "Discord": {
    "Username": "HLstatsZ",
    "WebhookUrl": "https://discord.com/api/webhooks/123456789/........",
	"LogsWebhookUrl": "https://discord.com/api/webhooks/123456789/........",
    "ColorPermanent": "#FF0000",
    "ColorWithExpiration": "#FF9900",
    "ColorUnban": "#00FF00",
    "ShowAdmin": true
  }
}

About

HLstats, SourceBans, MapChooser, Advertising, Discord Webhook

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages