Skip to content

DioneB/vrp_redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published