samp.directory
← Scripts y librerías

XenoX352/security-samp-open.mp

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

Librería★ 3actualizado jun 2026MITPawn
Abrir en 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 se genera con lo que GitHub publica sobre el repositorio. samp.directory no aloja el código. Informar de un problema con esta ficha

XenoX352/security-samp-open.mp: Librería de SA-MP | samp.directory