PLUGIN - CS2-Check-Cheats

Spatiul dedicat dezvoltatorilor. Aici gasesti resurse pentru CounterStrikeSharp, ajutor pentru cod si scripting avansat.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 2389
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

PLUGIN - CS2-Check-Cheats

Post by greenie »

CS2-Check-Cheats
EN
To facilitate easier assistance, I have created a dedicated Discord server. You can join it using the following link: https://discord.gg/yQm8edwV

Check Cheats - is designed to assist administrators in checking suspicious players for the use of cheats.
Video demonstration - https://www.youtube.com/watch?v=ovRJaYl ... nnel=ABKAM
Installation
Install Metamod:Source and CounterStrikeSharp. For the ban function, install CS2 Admin System
Download Check Cheats
Unzip the archive and upload it to your game server
How to Access Commands?
Open the directory "addons/counterstrikesharp/configs".
Find the file "admins.json" in the specified folder.
Inside the "admins.json" file, add the necessary flags to access the commands. For example:
"76561198847871713": {
"identity": "76561198847871713",
"flags": [
"@admin/check",
"@admin/uncheck"
]
}
After this, you will be granted access to the commands.

Main Config (Config.yml)
# Configuration file for the CheckCheatsPlugin plugin
# Format of the command to ban players (mm_ban {0} time {1})
BanCommand: "mm_ban {0} 0 {1}"
# Reason for player ban
BanReason: "Cheating"
# Duration of player check in seconds
CheckDuration: "120"
# Format of the countdown message during player check
CountdownMessageFormat: "<font color='red' class='fontSize-l'>You are called for a check. Please provide your Discord. Remaining time: {remainingTime} sec. Type !contact your_discord.</font>"
# Error message when contact information is not provided correctly
ErrorMessage: "[{Red}ADMIN{White}] Please provide your Discord. Use: {Green}!contact your_discord"
# Message format for the administrator after the player provides contact information
AdminMessageFormat: "[{Red}ADMIN{White}] Player {Yellow}{PlayerName} {White}has provided their Discord: {Green}{DiscordContact}"
# Message displayed to the player after successfully passing the check
SuccessMessage: "<font color='green' class='fontSize-l'>You have successfully passed the check.</font>"
Commands
!check to inspect a player for cheats
!uncheck to stop inspecting a player
!contact to send Discord to the administrator

https://github.com/ABKAM2023/CS2-Check- ... s/main.zip
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️
Post Reply

Return to β€œScripting CS2”