Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.23 KB

README.md

File metadata and controls

50 lines (30 loc) · 1.23 KB

Banner

A RedisDB Wrapper for vRP Based on FiveM Redis

APIWikiLicenseRoadmapContribute

Methods

-- Get vrp_redis Reference/Functions (ONLY SERVER-SIDE)

local Cache = Proxy.getInterface("vrp_redis")


-- Save data on Redis Cache | if not "expire_time" passed they will persistent
Cache.set(key, value, expire_time)

-- Get data from Redis Cache
local result = Cache.get(key)

-- Remove data with informed key from Redis Cache
Cache.remove(key)

-- Invalidate all data with informed prefix from Redis Cache
local res = Cache.invalidate(prefix)

Wiki

Roadmap

  • Find on our roadmap the next steps of the project.

Contribute