DMD Store - Security Core Library | Universal Protection System
DMD-LIB Security Core
The foundation of all DMD Store scripts - A centralized security and licensing system designed to protect premium FiveM resources from unauthorized use and leaks.
DMD-LIB acts as a security handshake layer that validates and authenticates all DMD Store scripts before they execute. It uses token-based verification, script name validation, and dependency checks to ensure only legitimate copies run on your server.
Built for script developers and server owners who value security and integrity.
----------------------------------------------------------------
FEATURES
Security Token System
• Generates unique security tokens for script validation
• Token-based handshake between scripts
• Prevents unauthorized script execution
• Mathematical verification algorithms
Script Name Verification
• Validates resource names match expected values
• Prevents leakers from renaming scripts
• Auto-stops scripts with incorrect names
• Console logging for security violations
Dependency Management
• Centralized dependency checking
• Ensures all required resources are running
• Prevents partial script loading
• Automatic script shutdown on dependency failure
Console Logging
• Clean, professional ASCII art banners
• Color-coded security messages
• Detailed error reporting
• Script activation confirmations
Export System
• GetSecurityToken() - Returns validation token
• Clean API for script integration
• Callback support for async operations
• Universal compatibility
----------------------------------------------------------------
HOW IT WORKS
1. Server Startup: DMD-LIB starts and generates security tokens
2. Script Validation: Protected scripts request tokens via export
3. Handshake: Token is verified using mathematical checks
4. Authorization: If valid, script execution continues
5. Monitoring: Continuous dependency checks ensure integrity
----------------------------------------------------------------
COMPATIBILITY
• Frameworks: QBCore, ESX, VRP, Standalone
• Works with: All DMD Store scripts
• Version: FiveM Cerulean
• Lua: Lua 5.4 support
• Dependencies: None (standalone core)
----------------------------------------------------------------
PROTECTED SCRIPTS
All DMD Store scripts use this security system:
- dmd-realisticfight
- dmd-nitro
- dmd-tactical
- dmd-holsteranimation
- dmd-holsteranimationsounds
- dmd-antiafkv2
- dmd-clearintities
- dmd-fishing
- dmd-parkingmeter
----------------------------------------------------------------
CONFIGURATION
DMD-LIB is plug-and-play - no configuration needed. Simply ensure:
1. Resource is named "dmd-lib"
2. Started before all other DMD scripts
3. Added to server.cfg:
ensure dmd-lib
ensure dmd-realisticfight
ensure dmd-nitro
# ... other DMD scripts
----------------------------------------------------------------
DEVELOPER INTEGRATION
To protect your own scripts with DMD-LIB:
Client-side example:
local DMD_Authorized = false
Citizen.CreateThread(function()
if GetResourceState('dmd-lib') ~= 'started' then
print("[ERROR] dmd-lib not found!")
return
end
local token = exports['dmd-lib']:GetSecurityToken()
if type(token) == "number" and token > 1000000 then
DMD_Authorized = true
StartYourScript()
end
end)
----------------------------------------------------------------
SUPPORT
For issues or questions:
- Discord: DMD Store Support
- Documentation: Included in resource
- Updates: Automatic via Tebex
----------------------------------------------------------------
DMD Store - Professional FiveM Resources