ako-uniq-id
This item is free.
Package Description
AKO-UNIQ-ID | TECHNICAL DOCUMENTATION & DEPLOYMENT
Establish a persistent identity foundation with ako-uniq-id—a high-performance unique identification system designed to replace volatile server IDs with permanent, database-driven UIDs.
INSTALLATION PROTOCOL
──────
1. Database Integration: Execute 'ako-uniq-id.sql' via phpMyAdmin or HeidiSQL to initialize the persistent storage schema.
2. Resource Sequencing: Add the following lines to your 'server.cfg' ensuring proper dependency loading:
ensure oxmysql
ensure ako-uniq-id
3. Environment Refresh: Restart your server instance to finalize the integration.
DEVELOPER API (EXPORTS)
──────
The system provides a high-speed bridge for both Server and Client-side cross-resource communication.
[Core Accessors]
• GetUIDfromID(serverID): Retrieves the permanent Unique ID from a volatile session ID.
• GetIDfromUID(uniqueID): Resolves the current Session ID from a persistent Unique ID.
TECHNICAL IMPLEMENTATION EXAMPLES
──────
-- Example: Resolving Session ID from UID
local serverID = exports['ako-uniq-id']:GetIDfromUID(12345)
if serverID then
print("[AKO-UID] Player active. Session ID: " .. serverID)
else
print("[AKO-UID] Target player is currently offline.")
end
-- Example: Fetching UID from Session ID
local uniqueID = exports['ako-uniq-id']:GetUIDfromID(source)
if uniqueID then
print("[AKO-UID] Persistent Identity verified: " .. uniqueID)
end
ARCHITECTURAL NOTES
──────
• Permanent Identity Logic: Unlike session-based IDs that reset on reconnect, UIDs are immutable and tethered to the player's primary license.
• Optimized Data Stream: Leveraging OxMySQL for ultra-low latency queries and modern asynchronous database handling.
Afrikaans
Catalan
Czech
Danish
German
Greek
English (UK)
English (US)
Spanish
Finnish
French
Croatian
Hungarian
Italian
Japanese
Korean
Latvian
Malay
Dutch
Norwegian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Romanian
Russian
Serbian
Swedish
Turkish
Ukrainian
Vietnamese
Chinese (Simplified)
Chinese (Traditional)