samp.directory
← Scripts e bibliotecas

XenoX352/security-samp-open.mp

granting permission to Indonesian and Malaysian players and not granting permission to players outside the country area

Biblioteca★ 3atualizado jun. de 2026MITPawn
Abrir no GitHub

README.md


📖 Overview

OMP-Security is a robust, drop‑in security include for open.mp servers. It automatically detects and blocks suspicious connections based on:

  • VPN / Proxy usage
  • Hosting / VPS providers
  • Geographic origin (country)
  • High ping (latency)

Using a simple risk‑scoring system, it ensures that only legitimate players can join your server, protecting you from abuse, cheating, and DDoS attacks.


✨ Features

IconFeatureDescription
VPN/Proxy DetectionAutomatically detects and penalises VPN, proxy, and Tor connections.
Hosting DetectionFlags connections from VPS/cloud providers often used for malicious purposes.
Geolocation ScoringApplies a penalty to players from regions outside your primary player base.
Ping FilteringKicks players with exceptionally high latency (>250ms by default).
Non‑blockingRuns asynchronously – players are not delayed during connection.
LightweightUses only one HTTP request and a single timer per player.
Detailed LoggingPrints country, score, and ping to the server console for auditing.
ConfigurableAll thresholds (ping, score, country) can be easily adjusted.

📦 Installation

1. Place the include

Copy omp-security.inc into your Pawn include directory (e.g., qawno/include/).

2. Include in your script

Add this line to your gamemode or filterscript:

#include <omp-security>

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