HomeJavaModsRedisHostVelocity
RedisHostVelocity
ModsJava

RedisHostVelocity

Host a Redis Server from your Velocity Proxy. Free Minecraft Java mod for 1.20.6, 1.21, 26.1.

⬇ Download on Spigot
RedisHostVelocity
RedisHostVelocity is a lightweight Redis-compatible TCP server built as a Velocity plugin. It lets backend Minecraft servers and Redis-aware plugins connect to your Velocity proxy as if it were a Redis server, removing the need for a separate Redis instance for simple Minecraft network-sync workloads.

Source:
https://github.com/HealingHalo8/VelocityRedisHost/tree/main

What It Does
RedisHostVelocity emulates a useful subset of Redis for Minecraft network infrastructure, including:

It supports Redis-style TCP connections, RESP command parsing, password authentication, multiple logical databases, key expiration, persistence, and common Redis client startup commands.

Supported Features
RedisHostVelocity includes support for common Redis command groups:

Connection:
AUTH, PING, HELLO, CLIENT SETINFO, CLIENT SETNAME, SELECT, QUIT

Strings:
GET, SET, SETEX, MGET, MSET, INCR, DECR, APPEND, STRLEN

Hashes:
HSET, HGET, HGETALL, HMGET, HDEL, HEXISTS, HKEYS, HVALS

Lists:
LPUSH, RPUSH, LPOP, RPOP, LRANGE, LINDEX, LLEN

Sets:
SADD, SREM, SMEMBERS, SISMEMBER, SCARD

Sorted Sets:
ZADD, ZREM, ZRANGE, ZREVRANGE, ZSCORE, ZCARD

Keys / TTL:
DEL, EXISTS, EXPIRE, TTL, TYPE, KEYS, SCAN, DBSIZE

Pub/Sub:
PUBLISH, SUBSCRIBE, UNSUBSCRIBE, PSUBSCRIBE, PUNSUBSCRIBE

Some commands are full implementations, while others are compatibility stubs for Redis clients like Lettuce and Jedis.

Persistence
RedisHostVelocity includes local persistence through:

Persistence is intended for lightweight Minecraft plugin data, not massive production Redis datasets.

v1.1.6 Persistence Improvements
Version 1.1.6 adds stronger protection around append-only files and startup recovery.

This update includes:

Recommended persistence config:

persistence:
enabled: true
snapshot-enabled: true
appendonly-enabled: true

aof-auto-rewrite-enabled: true
aof-auto-rewrite-min-size-mb: 96
aof-auto-rewrite-min-changes: 1000
aof-auto-rewrite-cooldown-seconds: 300
aof-log-select-on-change-only: true
aof-skip-noop-writes: true

recovery:
async-startup-load: true
compact-after-startup-recovery: false
aof-replay-progress-lines: 50000
aof-startup-delay-seconds: 10
aof-replay-yield-lines: 5000
aof-replay-yield-millis: 5

After updating, it is recommended to run:

/redishost save

This creates a cleaner saved state using the updated persistence system.

Not a Full Redis Replacement
RedisHostVelocity does not implement every Redis feature. It is not recommended for plugins that require:

If a plugin depends on advanced Redis behavior, use a real Redis server instead.

Requirements
Basic Setup
  1. Place the jar in your Velocity plugins folder.

  2. Start the proxy once to generate the config.

  3. Set the bind host, port, password, database count, memory limit, and persistence options.

  4. Restart Velocity.

  5. Point backend plugins to the Velocity proxy IP/domain and RedisHostVelocity port.
Example backend config:

host: "your-proxy-ip"
port: 25738
password: "your-password"
database: 0
ssl: false

Startup should show:

RedisHost listening on 0.0.0.0:25738

Upgrade Notes
Before updating, make a backup of your RedisHost data files:

appendonly.rbst.aof
dump.rdb

Then replace the old RedisHostVelocity jar with the new version and restart Velocity.

After the server loads successfully, run:

/redishost save

Project Goal
RedisHostVelocity provides a fast, simple, Minecraft-focused Redis compatibility layer for networks that need Redis-style communication without running a separate Redis provider.

It is designed for small-to-medium Minecraft network sync workloads where a full external Redis setup may not be practical.

RedisHostVelocity is a free Minecraft Java mod. Compatible with Minecraft 1.20.6, 1.21, 26.1, 26.2. Downloaded 15 times (via Spigot). Download it and open it directly in the game.

Explore more