Welcome to LegendCS – With grace, in your face !

 
Last Updated: 03-29-2025, 07:22 AM
Name: [Plugin CS2] Welcome
Category: Plugins
by: Berserk
Downloads: 0
Views: 6
MD5: eb79cd7d45fbf521efe3666577ce3c8b
Your rating: N/A
Average rating: N/A
 
Description:
Author: ZIFON 

Set Up : Create a folder for the plugin called Welcome
plugins/Welcome
Config/Welcome/Welcome.json

PHP Code: 
{
  "PluginName""[Welcome] | ",
  "Timer"10// Welcome delay
  "WelcomePlayerOneEnable""true"// "true"|"1"/"false"|"0"
  "WelcomePlayerAllEnable""true"// "true"|"1"/"false"|"0"
  "DisconnectPlayerAllEnable""true"// "true"|"1"/"false"|"0"
  "WelcomeText"" {RED}---------------------------------{ENTER} {LIGHTBLUE}Welcome on server {PLAYERNAME} {ENTER} Now map: {MAP} {ENTER} Players online: {PLAYERS}/{MAXPLAYERS} {ENTER} {RED}Your IP: {IPUSER} {ENTER} {RED}------------------------------ "// Greeting for one player
  "disconnectAllText"" {RED} {PLAYERNAME} disconnect to reason: {REASON} "// The message is all when the player is disconnected
  "WelcomeAllText"" {RED} {PLAYERNAME} connected to server {ENTER} His IP address: {IPUSER} "// Announcement of the player's entry
  "ConfigVersion"1


Installation:

Build:
  • Dump the file to the plugins folder in cssharp
Collect your own:
  • Installing the Dotnet SDK 8.0
  • Go to the project folder in cssharp/source in VS Code:
  • Next, we write in the terminal "dotnet build"
  • And see if there are any errors:
  • Next, we upload files from source/welcome/bin/net.8.0:

[Image: hBVccQc.png]


Variables:

"WelcomePlayerOneEnable":
  • {MAXPLAYERS} - View max players
  • {PLAYERNAME} - View player's name connecting to server;
  • {ENTER} - Next line
  • {STEAMID} - Player STEAMID
  • {IPUSER} - Player IP Address
  • {MAP} - Now map
  • {TIME} - Time(hh:mmConfuseds)
  • {DATE} - Date(dd.mm.yyyy)
  • {SERVERNAME} - Hostname
  • {IP} - Server IP address
  • {PORT} - Server Port
  • {PLAYERS} - The current number of players on the server
"WelcomePlayerAllEnable":
  • {MAXPLAYERS} - View max players
  • {PLAYERNAME} - View player's name connecting to server;
  • {ENTER} - Next line
  • {STEAMID} - Player STEAMID
  • {IPUSER} - Player IP Address
  • {MAP} - Now map
  • {TIME} - Time(hh:mmConfuseds)
  • {DATE} - Date(dd.mm.yyyy)
  • {SERVERNAME} - Hostname
  • {IP} - Server IP address
  • {PORT} - Server Port
  • {PLAYERS} - The current number of players on the server
"DisconnectPlayerAllEnable":
  • {MAXPLAYERS} - View max players
  • {PLAYERNAME} - View player's name connecting to server;
  • {ENTER} - Next line
  • {MAP} - Now map
  • {TIME} - Time(hh:mmConfuseds)
  • {DATE} - Date(dd.mm.yyyy)
  • {REASON} - the reason for logging out of the server
  • {SERVERNAME} - Hostname
  • {IP} - Server IP address
  • {PORT} - Server Port
  • {PLAYERS} - The current number of players on the server
Colors: {GREEN} {BLUE} {RED} {SILVER} {MAGENTA} {GOLD} {DEFAULT} {LIGHTBLUE} {LIGHTPURPLE} {LIGHTRED} {LIGHTYELLOW} {YELLOW} {GREY} {LIME} {OLIVE} {ORANGE} {DARKRED} {DARKBLUE} {BLUEGREY} {PURPLE}

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