Compatibilité
- Frameworks
- Non spécifié
- Version
- 1.0
- Mode de jeu
- FiveM

by m3ftwz
This project was forked from CommunityOx’s oxmysql and adapted to use Redis instead of MySQL.
A FiveM resource providing Redis connectivity for game server scripts using node-redis. It serves as a bridge between your FiveM resources and a Redis database, offering both synchronous and asynchronous APIs.
github.comNote: The full, most recent documentation can be found in the Github README.
Add the following to your fxmanifest.lua to enable type-checking and intellisense:
server_script '@redisfx/lib/Redis.lua'
Then use in your scripts:
-- String commands
local name = Redis.get.await('player:1:name')
Redis.set('player:1:name', 'John', { EX = 3600 }) -- expires in 1 hour
-- Hash commands
Redis.hset('player:1', 'money', 1000)
local money = Redis.hget.await('player:1', 'money')
local player = Redis.hgetall.await('player:1')
-- List commands
Redis.lpush('queue', 'job1')
local job = Redis.lpop.await('queue')
-- Set commands
Redis.sadd('online', 'player:1')
local isOnline = Redis.sismember.await('online', 'player:1')
-- Sorted sets (leaderboards)
Redis.zadd('leaderboard', 100, 'player:1')
local top10 = Redis.zrange.await('leaderboard', 0, 9)
Free download (ad supported)
Free downloads are supported by a brief ad page (Linkvertise) to keep this service running.
Written by the VertexMods editorial team based on the current CitizenFX artifact and the target framework — not copy-pasted from the upstream post.
resources/[standalone]/redisfx-a-redis-resource-for-fxserver on your server. Keep the resource folder name as-is — most manifests reference it verbatim.ensure redisfx-a-redis-resource-for-fxserver to your server.cfg.ensure redisfx-a-redis-resource-for-fxserver in the live console to confirm it loads without red errors. If you hit a dependency error, the mod probably needs ox_lib or ox_inventory — install those first, then retry.Tirez le meilleur des mods gratuits
Créez un compte gratuit pour les notifications de mises à jour, votre collection de mods et les téléchargements sans publicité.
Premium Alternative
Get premium scripts with dedicated support, lifetime updates, and one-click installation.
D'autres mods gratuits populaires qui pourraient ĂŞtre utiles pour votre serveur.
Réponses rapides basées sur les informations publiées pour RedisFX: a Redis resource for FXServer..
Vous avez une autre question ? Consultez la description du mod ci-dessus pour plus de détails.
Découvrez plus de ressources pour votre serveur FiveM ou GTA 5.
Free mods are a good starting point. When your server needs stronger support, cleaner installs, and premium systems, move into the commercial hubs below.