samp.directory
← Scripts e bibliotecas

Abdelhamid04/Anti-Cheat-Custom-GTA

WinForms (.NET Framework 4.8.1) moderation and anti-cheat utility for SAMP/NewLife RP with Discord-based authorization and update workflows.

Ferramenta★ 0atualizado mar. de 2026MITC#
Abrir no GitHub

README.md

NewLife Checker

NewLife Checker is a Windows desktop utility for SAMP/NewLife RP moderation workflows. It combines local anti-cheat checks, Discord-based authorization, and remote update distribution.

Features

  • SAMP-oriented suspicious file scanning (extensions and keyword-based checks)
  • Staff helper tooling for moderation actions (/ban, /jail, /fine)
  • Discord-integrated authorization flow (admin/player codes)
  • Auto-update checks for App.config and executable releases
  • Logging and webhook reporting

Tech Stack

  • C# / Windows Forms
  • .NET Framework 4.8.1
  • Discord REST API integration

Project Structure

  • SAMPChecker.sln - Visual Studio solution
  • SAMPChecker.csproj - WinForms project file
  • Form1.cs - Main application logic
  • BanInfoForm.cs - Moderation helper UI
  • discord_bot_changecode.py - Optional Discord bot script

Prerequisites

  • Windows 10/11
  • Visual Studio 2022 (or compatible) with .NET desktop workload
  • .NET Framework 4.8.1 targeting pack

Local Setup

  1. Clone the repository.
  2. Open SAMPChecker.sln in Visual Studio.
  3. Configure App.config with your own Discord values:
    • WebhookUrl
    • AdminCodeChannelId
    • AuthChannelId
    • DiscordBotToken
    • UpdateChannelId
  4. Build and run in Debug or Release.

Build (CLI)

MSBuild.exe SAMPChecker.csproj /p:Configuration=Release

Compiled artifacts are generated under bin/Release/.

Security

  • Never commit real tokens, webhooks, or private channel IDs.
  • If a token was exposed, rotate it immediately in Discord Developer Portal.
  • Keep production secrets outside source control.

Release Process

  1. Update assembly version in Properties/AssemblyInfo.cs.
  2. Build Release.
  3. Publish NewLifeChecker.exe through your update channel workflow.
  4. Create a GitHub Release with a matching tag (example: v1.0.0).

License

This project is released under the MIT License. See LICENSE.

anti-cheatcsharpdesktop-appdiscorddotnet-frameworkmoderation-toolsampwinforms

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página