Welcome to LegendCS – With grace, in your face !

 
Last Updated: 03-15-2025, 06:51 AM
Name: [Plugin CS2] Discord status
Category: Plugins
by: Berserk
Downloads: 0
Views: 13
MD5: 85a9a16bd6cc67a77b19e9bb01a03fd6
Your rating: N/A
Average rating: N/A
 
Description:
Description : This CSSharp plugin allows monitoring server status from discord with cute embeds and nameformat support. 

Author: TianxSky

Requirements: CounterStrikeSharp >= 101

Features:
  • [b]Displaying server status on discord[/b]
  • Showing Country Flags
  • Custom Name Formatting
  • Sorting Players by CT and T and with their respective team colors (not working if using flags)
  • Sorting Players by kills
  • different displays on Idle, with players, with players not inlined, requesting players, offline.
  • Showing Connect ip:port
  • Embeded links directing to automatically lauch steam and joins server
  • Configurable update intervals to release serverloads
  • Automatically update config and rename the old config

Commands:
  • css_request - @notify members to join the server
  • css_update_names - Update nameformat and updating the embed with the provided argument after the command. exmaple usage: css_update_names {FLAG}{CLAN} {NAME}: {K} - {D}
  • css_update_settings - read and update settings from config without reloading the plugin

Usage:
  • Install plugin like u use to
  • Make a webhost server and put connect.php there if you have one(you can use free webhosting like 000webhost)* not required
  • Do the samething for map img url (or see below)
  • Load the plugin
  • Change the config (/addons/counterstrikesharp/configs/plugins/DiscordStatus)

Config :

PHP Code: 
{
  "GeneralConfig": {
    "ServerIP""77.77.77.77:27027",
    "UpdateInterval"30,
    "PHPURL""https://okand.com/connect.php"
  },
  "WebhookConfig": {
    "NotifyMembersRoleID"0,
    "NewMapNotification"true,
    "GameEndScoreboard"true,
    "NotifyWebhookURL""https://discord.com/api/webhooks/",
    "RequestPlayersURL""https://discord.com/api/webhooks/,https://discord.com/api/webhooks/",
    "ScoreboardURL""https://discord.com/api/webhooks/",
    "StatusWebhookURL""https://discord.com/api/webhooks/",
    "StatusMessageID"0
  
},
  "EmbedConfig": {
    "Title""my cs2 server",
    "MapImg""{MAPNAME}.jpg.png.gif",
    "OfflineImg"".jpg.png.gif",
    "IdleImg"".jpg.png.gif",
    "RequestImg"".jpg.png.gif",
    "EmbedColor""#00ffff",
    "RandomColor"true,
    "MapField""?️ㅤMap",
    "OnlineField""?ㅤOnline",
    "CTField""CT :ㅤ{SCORE}",
    "TField""T :ㅤ{SCORE}",
    "MVPField"" ?ㅤMVP ",
    "NameFormat""{FLAG}{CLAN} {NAME}: {K} - {D}",
    "EmbedSteamLink"true,
    "RequestPlayers""is requesting players to join the server",
    "MapChange""Map changed to {mapname}, Join Now",
    "ServerEmpty""Server Empty",
    "JoinHere""? Join Here",
    "PlayersInline"true
  
},
  "ConfigVersion"5

PHP Code: 
NAME TAG FORMAT:
{
NAME} = NAMES
{K} = KILLS
{D} = DEATHS
{A} = ASSISTS
{KD} = KD Ratio
{CLAN} = Clantag
{RC} = Region Code
{CC} = Country Code
{FLAG} = Country Flag 




Note: For imageurl u can also use "https://image.gametracker.com/images/maps/160x120/csgo/{MAPNAME}.jpg"
Screenshots :
Server Empty(Custom Img): 


[Image: ICN5CzX.png]

Server With Players(Custom Map Img / Custom Img):

[Image: OXwcOKm.png]

Server With Players(With Steam hyperlinks):

[Image: nsQgjnY.png]

Scoreboard Snapshot :

[Image: vhzVdlN.png] 

Request Players:

[Image: oCKobu6.png] 

[-]
Leave a comment
To leave a comment you must log in.