# DER AntiCheatVersion: 1.6.0Godot Version: 4.6+Author: 222License: MIT---OverviewEnglishDER AntiCheat is a professional anti-cheat plugin for Godot 4.6+ that protects your game from memory editors, debuggers, and cheat tools. Version 1.6.0 introduces a complete security enhancement system with archive encryption, file integrity verification, and advanced anti-debugging, alongside all existing features from previous versions. All core features are stable and production-ready.中文DER AntiCheat 是 Godot 4.6+ 的专业反作弊插件,保护你的游戏免受内存修改器、调试器和作弊工具的侵害。1.6.0 版本新增完整的安全增强系统,包含存档加密、文件完整性校验和高级反调试功能,配合所有现有功能。所有核心功能均已稳定,可直接用于生产环境。---FeaturesValue ProtectionEnglish· Memory Encryption: Automatically encrypt integers, floats, booleans, and strings in memory· Value Pool: Centralized management of protected values· Access Detection: Detect unauthorized memory access attempts中文· 内存加密:自动加密内存中的整数、浮点数、布尔值和字符串· 值池管理:集中管理受保护的数值· 访问检测:检测未授权的内存访问尝试Cheat DetectionEnglish· Debugger Detection: Detect if debuggers are attached to your game· Memory Scanner Detection: Identify memory scanning tools· Speed Hack Detection: Detect game speed modifications· Integrity Checks: Verify game file integrity at runtime中文· 调试器检测:检测是否有调试器附加到游戏进程· 内存扫描检测:识别内存扫描工具· 变速器检测:检测游戏速度修改· 完整性检查:运行时验证游戏文件完整性Network ProtectionEnglish· Packet Encryption: All network data is automatically encrypted· HMAC Signatures: Prevent packet tampering· Replay Attack Prevention: Timestamp and nonce validation· Connection Pooling: Manage multiple connections efficiently· Auto Reconnect: Automatically reconnect on disconnection· WebSocket Support: Real-time bidirectional communication· Resume Downloads: Support for broken download recovery· Bandwidth Control: Limit bandwidth usage per second· Request Prioritization: Critical requests bypass rate limits中文· 数据包加密:所有网络数据自动加密传输· HMAC签名:防止数据包被篡改· 重放攻击防护:时间戳和随机数验证· 连接池管理:高效管理多个网络连接· 自动重连:断线后自动重新连接· WebSocket支持:实时双向通信· 断点续传:支持下载中断后继续· 带宽控制:限制每秒带宽使用· 请求优先级:关键请求绕过频率限制Cache SystemEnglish· TTL-based auto cleanup· LRU eviction strategy (expired first, then least recently used)· Thread-safe operations· Batch get/set support· Optional encrypted persistence· Hit ratio and eviction statistics中文· 基于 TTL 的自动清理· LRU 淘汰策略(优先淘汰过期项,再淘汰最久未使用)· 线程安全操作· 批量读写支持· 可选加密持久化· 命中率和淘汰统计Replay ProtectionEnglish· Nonce + RequestID双重验证双重 validation· Time window validation (default 60 seconds)· HMAC-SHA256 signature verification· Cryptographically secure random numbers· Auto cleanup of expired nonces· Batch validation interface中文· Nonce + RequestID 双重验证· 时间窗口验证(默认 60 秒)· HMAC-SHA256 签名验证· 密码学安全随机数· 自动清理过期的 nonce· 批量验证接口Time SynchronizationEnglish· NTP-style time synchronization algorithm· HTTPS enforcement (prevents MITM attacks)· Optional certificate pinning· Optional request signing (HMAC-SHA256)· Latency sampling (keeps 70% lowest latency samples)· Median offset calculation· Security status monitoring中文· NTP 风格时间同步算法· 强制 HTTPS(防止中间人攻击)· 可选证书锁定· 可选请求签名(HMAC-SHA256)· 延迟采样(保留 70% 低延迟样本)· 中位数偏移计算· 安全状态监控Configuration SystemEnglish· Config Manager: Load, save, and manage configurations with auto-save· Config Diff: Compare configurations with deep recursion and array modes· Config Preset: 7 ready-to-use presets (Development, Testing, Production, Light, Balanced, Strict)· Config Template: Reusable configuration templates with import/export· Config Validator: Validate configurations with custom rules and auto-fix中文· 配置管理器:加载、保存和管理配置,支持自动保存· 配置差异比对:深度递归比对,支持多种数组模式· 配置预设:7 种即用预设(开发、测试、生产、轻量、平衡、严格)· 配置模板:可复用的配置模板,支持导入导出· 配置验证器:自定义规则验证,支持自动修复Enhanced Detection System (v1.4.0)English· Inject Detector: Detect DLL injection, code hooks, script injection (HemoLoader), memory patches, and framework hooks (Xposed/Magisk)· Memory Scanner: Detect Cheat Engine, GameGuardian, memory scan patterns, and abnormal access rates· Multi Instance Detector: Prevent game from being opened multiple times via process list, file lock, and port detection· VM Detector: Detect virtual machines (VMware, VirtualBox, QEMU, KVM) and Android emulators (Bluestacks, Nox, LDPlayer, MEmu)中文· 注入检测器:检测 DLL 注入、代码钩子、脚本注入(HemoLoader)、内存补丁和框架钩子(Xposed/Magisk)· 内存扫描检测器:检测 Cheat Engine、GameGuardian、内存扫描模式和异常访问频率· 多开检测器:通过进程列表、文件锁和端口检测防止游戏多开· 虚拟机检测器:检测虚拟机(VMware、VirtualBox、QEMU、KVM)和安卓模拟器(蓝叠、夜神、雷电、MEmu)Network Enhancement System (v1.5.0)English· Request Signer: HMAC-SHA256 signature for request authentication, preventing forged requests· Heartbeat: Connection monitoring with auto-reconnect, detects disconnections instantly· Obfuscator: Traffic obfuscation with 3 levels (Light/Medium/Heavy), hides data from packet sniffers· Request Queue: Priority-based request queuing with automatic retry, prevents request loss· Batch Request: Batch request compression with adaptive mode, saves bandwidth中文· 请求签名器:HMAC-SHA256 签名验证,防止请求伪造· 心跳保活:连接监控与自动重连,即时检测断线· 流量混淆器:3 级混淆(轻/中/重),隐藏数据防止抓包· 请求队列:优先级队列与自动重试,防止请求丢失· 批量请求:自适应批量压缩,节省带宽Security Enhancement System (New in v1.6.0)English· Archive Encryptor: AES-256-GCM encrypted save files. Prevents save editors and tampering.· Archive Manager: Multi-slot save management with auto-save, import/export, and integrity checks.· File Validator: SHA256 file integrity verification. Detects game file tampering at runtime.· Debug Detector V2: Advanced anti-debugging with 10 detection methods, 4 protection levels, and honeypot system.中文· 存档加密器:AES-256-GCM 加密存档文件,防止存档修改器和篡改· 存档管理器:多槽位存档管理,支持自动保存、导入/导出和完整性校验· 文件验证器:SHA256 文件完整性校验,运行时检测游戏文件篡改· 反调试增强版:10 种检测方法、4 级防护强度、蜜罐系统---InstallationEnglish1. Download from GitHub Releases or Godot Asset Library2. Copy the addons/DER AntiCheat folder to your project's addons/ directory3. Open Godot Editor -> Project -> Project Settings -> Plugins4. Enable "DER AntiCheat"5. Restart the editor中文1. 从 GitHub Releases 或 Godot Asset Library 下载2. 将 addons/DER AntiCheat 文件夹复制到项目的 addons/ 目录3. 打开 Godot 编辑器 -> 项目 -> 项目设置 -> 插件4. 启用 "DER AntiCheat"5. 重启编辑器---Quick Start```gdscript# Create a protected valuevar pool = DERPool.new()var player_hp = VanguardValue.new(100)pool.set_value("hp", player_hp)# Use it normallyfunc take_damage(amount): var current = pool.get_value("hp").value pool.get_value("hp").value = current - amount# Scan for threatsvar threats = pool.scan_for_threats()if threats.size() > 0: print("Cheat detected!")# ========== Security Enhancement (v1.6.0) ==========# Archive encryption (protect save files)var archive = DERArchiveManager.new("your_secret_password")archive.save(0, {"level": 10, "hp": 100, "inventory": ["sword", "shield"]})var loaded = archive.load(0)# File integrity verification (detect tampering)var validator = DERFileValidator.new()validator.add_file("res://game/main.tscn", "expected_sha256_hash")validator.add_file("res://game/player.gd", "expected_sha256_hash")validator.verify_all()# Anti-debug protection (detect debuggers)var debug = DERDebugDetectorV2.new()debug.level = DERDebugDetectorV2.Level.HEAVYdebug.start()debug.detected.connect(func(type, details): print("Debugger detected!"))# ========== Network Protection (v1.5.0) ==========var client = DERNetworkClient.new("https://yourserver.com", self)client.handshake(func(success, result): if success: print("Connected to server"))var signer = DERSigner.new()var signed = signer.sign("/api/move", {"x": 100, "y": 200})var heartbeat = DERHeartbeat.new(client, get_tree())heartbeat.start()var obf = DERObfuscator.new()obf.set_level(DERObfuscator.ObfuscateLevel.MEDIUM)var queue = DERRequestQueue.new(client, get_tree())queue.add("/api/score", {"score": 100}, _on_score_sent, DERRequestQueue.Priority.HIGH)# ========== Enhanced Detection (v1.4.0) ==========var inject = DERInjectDetector.new()inject.set_threat_callback(func(threat): print("Inject threat: ", threat.to_string()))var scanner = DERMemoryScanner.new()scanner.start_continuous_scan(get_tree())var multi = DERMultiInstance.new()if not multi.is_single_instance(): print("Multiple instances detected!")var vm = DERVMDetector.new()if vm.is_vm(): print("Running in: ", vm.get_stats().type)# ========== Configuration System (v1.3.0) ==========var config = DERConfigManager.new()config.load_config("user://anticheat.json")config.set_value("protect_level", 2)DERConfigPreset.apply_preset(config, DERConfigPreset.PresetType.STRICT)# ========== Cache & Replay Protection (v1.2.0) ==========var cache = DERCacheManager.new()cache.set("player_data", {"level": 10, "exp": 1500})var replay = DERReplayProtector.new()var nonce = replay.generate_nonce()```---ChangelogVersion 1.6.0English· Added Archive Encryptor (DERArchiveEncryptor) with AES-256-GCM encryption· Added Archive Manager (DERArchiveManager) with multi-slot management, auto-save, import/export· Added File Validator (DERFileValidator) with SHA256 integrity verification· Added Debug Detector V2 (DERDebugDetectorV2) with 10 detection methods, 4 protection levels, and honeypot system· Added security/ directory for all security enhancement modules· Added detection_v2/ directory for enhanced debug detection· Updated plugin.gd with new security features· Updated README with comprehensive v1.6.0 documentation中文· 新增存档加密器(DERArchiveEncryptor),支持 AES-256-GCM 加密· 新增存档管理器(DERArchiveManager),支持多槽位管理、自动保存、导入/导出· 新增文件验证器(DERFileValidator),支持 SHA256 完整性校验· 新增反调试增强版(DERDebugDetectorV2),支持 10 种检测方法、4 级防护强度、蜜罐系统· 新增 security/ 目录,统一存放安全增强模块· 新增 detection_v2/ 目录,统一存放增强调试检测· 更新 plugin.gd,集成新安全功能· 更新 README,完善 v1.6.0 文档---Version 1.5.0English· Added Request Signer (DERSigner) with HMAC-SHA256 signature verification· Added Heartbeat (DERHeartbeat) for connection monitoring and auto-reconnect· Added Obfuscator (DERObfuscator) with 3-level traffic obfuscation· Added Request Queue (DERRequestQueue) with priority-based queuing and auto-retry· Added Batch Request (DERBatchRequest) with adaptive batch compression· Added network_v2/ directory for all new network enhancement modules中文· 新增请求签名器(DERSigner),支持 HMAC-SHA256 签名验证· 新增心跳保活(DERHeartbeat),支持连接监控与自动重连· 新增流量混淆器(DERObfuscator),提供 3 级混淆强度· 新增请求队列(DERRequestQueue),支持优先级队列与自动重试· 新增批量请求(DERBatchRequest),支持自适应批量压缩· 新增 network_v2/ 目录,统一存放网络增强模块---Version 1.4.0English· Added Inject Detector (DERInjectDetector) for DLL injection, code hooks, script injection, and framework hooks· Added Memory Scanner (DERMemoryScanner) for Cheat Engine and GameGuardian detection· Added Multi Instance Detector (DERMultiInstance) to prevent game from being opened multiple times· Added VM Detector (DERVMDetector) for virtual machines and Android emulators· Added threat callback system for real-time detection response· Added continuous scan with configurable intervals· Added comprehensive threat reports and statistics中文· 新增注入检测器(DERInjectDetector),检测 DLL 注入、代码钩子、脚本注入和框架钩子· 新增内存扫描检测器(DERMemoryScanner),检测 Cheat Engine 和 GameGuardian· 新增多开检测器(DERMultiInstance),防止游戏多开· 新增虚拟机检测器(DERVMDetector),检测虚拟机和安卓模拟器· 新增威胁回调系统,支持实时检测响应· 新增持续扫描,可配置扫描间隔· 新增完整的威胁报告和统计功能---Version 1.3.0English· Added Configuration System with Manager, Diff, Preset, Template, and Validator· Added 7 ready-to-use presets (Development, Testing, Production, Light, Balanced, Strict)· Added config file import/export with JSON format· Added config validation with custom rules and auto-fix· Added config diff comparison with deep recursion and array modes· Added config change listeners for real-time updates中文· 新增配置系统,包含管理器、差异比对、预设、模板、验证器· 新增 7 种即用预设(开发、测试、生产、轻量、平衡、严格)· 新增配置文件导入导出,支持 JSON 格式· 新增配置验证,支持自定义规则和自动修复· 新增配置差异比对,支持深度递归和多种数组模式· 新增配置变更监听器,支持实时更新---Version 1.2.0English· Added Cache System (DERCacheManager) with TTL, LRU, and encrypted persistence· Added Replay Protection System (DERReplayProtector) with Nonce + RequestID dual validation and HMAC-SHA256· Added Time Synchronization System (DERTimeSync) with NTP algorithm and HTTPS enforcement· Improved thread safety across all modules中文· 新增缓存系统(DERCacheManager),支持 TTL、LRU 和加密持久化· 新增重放防护系统(DERReplayProtector),支持 Nonce + RequestID 双重验证和 HMAC-SHA256· 新增时间同步系统(DERTimeSync),支持 NTP 算法和强制 HTTPS· 优化所有模块的线程安全性---Version 1.1.0English· Added network protection module with encrypted packet transmission· Added WebSocket support for real-time communication· Added resume broken downloads feature· Added connection pooling and auto-reconnect· Added bandwidth control and request prioritization· Improved thread safety and performance中文· 新增网络保护模块,支持加密数据包传输· 新增 WebSocket 实时通信支持· 新增断点续传功能· 新增连接池管理和自动重连· 新增带宽控制和请求优先级· 优化线程安全和性能---Version 1.0.0English· Initial release with core anti-cheat features中文· 首次发布,包含核心反作弊功能---LicenseMIT License - Free for personal and commercial use