From b910fa5eb60a112980930db613f941c3000ff0f7 Mon Sep 17 00:00:00 2001 From: mohammed jasem alaajel Date: Sat, 16 Jul 2022 10:14:06 +0400 Subject: [PATCH] add new lua scripts for cluster info/time requesting --- .../minecraft/redisbungee/internal/util/LuaManager.java | 2 ++ RedisBungee-API/src/main/resources/lua/get_cluster_info.lua | 1 + RedisBungee-API/src/main/resources/lua/get_cluster_time.lua | 1 + 3 files changed, 4 insertions(+) create mode 100644 RedisBungee-API/src/main/resources/lua/get_cluster_info.lua create mode 100644 RedisBungee-API/src/main/resources/lua/get_cluster_time.lua diff --git a/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/internal/util/LuaManager.java b/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/internal/util/LuaManager.java index 77dba56..09ee8ed 100644 --- a/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/internal/util/LuaManager.java +++ b/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/internal/util/LuaManager.java @@ -14,6 +14,8 @@ public class LuaManager { this.plugin = plugin; } + + public Script createScript(String script) { RedisTask