Skip to content

MartyCSGO/LOGZ_ConnectInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

LOGZ ConnectInfo

LOGZ ConnectInfo is a CounterStrikeSharp / CS2 plugin that adds join, leave and welcome messages for LOGZ Romania servers.


Current Version

1.0.0

Features

  • join messages
  • leave messages
  • delayed welcome message
  • chat / center / both / silent output modes
  • configurable messages
  • optional SteamID placeholder
  • admin command permission
  • version/info/license commands
  • version.txt support
  • GitHub update URL support
  • LOGZ Romania proprietary license

Commands

css_logzconnect_status
css_logzconnect_version
css_logzconnect_info
css_logzconnect_license
css_logzconnect_reload

Permission

Default permission:

@logz/connectinfo

Optional SteamID visibility permission:

@logz/connectinfo_steamid

Root permissions also have access automatically:

@css/root
@logz/root

Installation

  1. Compile the plugin with Visual Studio 2022.
  2. Copy the compiled files to:
/game/csgo/addons/counterstrikesharp/plugins/LOGZ_ConnectInfo/
  1. Make sure the folder contains:
LOGZ_ConnectInfo.dll
version.txt
  1. Restart the server or reload the plugin:
css_plugins reload LOGZ_ConnectInfo

Config Path

The config is generated automatically at:

/game/csgo/addons/counterstrikesharp/configs/plugins/LOGZ_ConnectInfo/LOGZ_ConnectInfo.json

Default Config Example

{
  "Enabled": true,
  "ChatPrefix": "{Gold}[LOGZ]{Default}",
  "WebsiteUrl": "https://www.logz.ro",
  "GithubUrl": "https://github.com/MartyCSGO/LOGZ_ConnectInfo",
  "VersionUrl": "https://raw.githubusercontent.com/MartyCSGO/LOGZ_ConnectInfo/main/version.txt",
  "LicenseName": "LOGZ Romania Proprietary License",
  "CommandPermission": "@logz/connectinfo",
  "IgnoreBots": true,
  "ShowJoinMessage": true,
  "ShowLeaveMessage": true,
  "ShowWelcomeMessageToPlayer": true,
  "WelcomeDelaySeconds": 4.0,
  "JoinOutputMode": "chat",
  "LeaveOutputMode": "chat",
  "WelcomeOutputMode": "chat",
  "JoinMessage": "{LightBlue}{PLAYER}{Default} a intrat pe server.",
  "LeaveMessage": "{LightBlue}{PLAYER}{Default} a ieșit de pe server.",
  "WelcomeMessage": "{Green}Bine ai venit pe {Gold}LOGZ Romania{Default}, {LightBlue}{PLAYER}{Default}! Scrie {Yellow}!forum {Default}sau {Yellow}!discord{Default}."
}

Placeholders

Supported placeholders:

{PLAYER}
{STEAMID}
{STEAMID_TEXT}

version.txt

Recommended format:

1.0.0
https://github.com/MartyCSGO/LOGZ_ConnectInfo

Config raw URL:

"VersionUrl": "https://raw.githubusercontent.com/MartyCSGO/LOGZ_ConnectInfo/main/version.txt"

If your GitHub branch is master, use:

"VersionUrl": "https://raw.githubusercontent.com/MartyCSGO/LOGZ_ConnectInfo/master/version.txt"

Reload Notes

For real reload, use:

css_plugins reload LOGZ_ConnectInfo

The command:

css_logzconnect_reload

only prints the correct reload instruction.


Recommended GitHub Structure

LOGZ_ConnectInfo/
├── LOGZ_ConnectInfo.cs
├── LOGZ_ConnectInfo.csproj
├── README.md
├── LICENSE.md
└── version.txt

License

This project is licensed under the LOGZ Romania Proprietary License.

Redistribution, resale, reuploading, leaking, or claiming ownership of this plugin is not allowed.

See LICENSE.md for details.


Credits

Created for LOGZ Romania.

Website:

https://www.logz.ro

About

Official LOGZ Romania CS2 ConnectInfo plugin for CounterStrikeSharp. Adds join, leave and welcome messages with configurable output modes, version.txt support and LOGZ proprietary licensing.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors