mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2026-04-18 12:30:27 +00:00
add new lua scripts for cluster info/time requesting
This commit is contained in:
@@ -14,6 +14,8 @@ public class LuaManager {
|
|||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public Script createScript(String script) {
|
public Script createScript(String script) {
|
||||||
RedisTask<Script> scriptRedisTask = new RedisTask<Script>(plugin.getApi()) {
|
RedisTask<Script> scriptRedisTask = new RedisTask<Script>(plugin.getApi()) {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
return redis.call("INFO")
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
return redis.call('TIME')
|
||||||
Reference in New Issue
Block a user