From c2521bb98f969ddbf6fc4a9b56cd17ee31360f51 Mon Sep 17 00:00:00 2001 From: devdinc <234956748+devdinc@users.noreply.github.com> Date: Thu, 2 Apr 2026 12:28:10 +0300 Subject: [PATCH 1/3] Delete scripts/libs/routines.sk --- scripts/libs/routines.sk | 181 --------------------------------------- 1 file changed, 181 deletions(-) delete mode 100644 scripts/libs/routines.sk diff --git a/scripts/libs/routines.sk b/scripts/libs/routines.sk deleted file mode 100644 index a64662c..0000000 --- a/scripts/libs/routines.sk +++ /dev/null @@ -1,181 +0,0 @@ -# ============================================================================= -# FLUENT ROUTINES INTEGRATION (Paper / Skript) -# ============================================================================= -# -# This script exposes the devdinc/routines API to Skript via skript-reflect, -# enabling fluent, composable, and contextual routine execution. -# -# It allows scheduling and chaining of Java-compatible functional interfaces -# (Runnable, Supplier, Function, Consumer) with explicit execution contexts -# (virtual, async, global). -# -# ----------------------------------------------------------------------------- -# REQUIREMENTS -# ----------------------------------------------------------------------------- -# -# - Paper server -# - Skript -# - skript-reflect -# - Skcrew (for lambda support) -# -# The following MUST be present in skript-reflect's directory: -# - routines-core.jar -# - routines-paper.jar - -# The following MUST be installed as a skript: -# - devdinc/skript/functionsv2.sk -# -# ----------------------------------------------------------------------------- -# INITIALIZATION -# ----------------------------------------------------------------------------- -# -# On load, this script: -# - Instantiates a singleton RoutineService -# - Registers Paper execution contexts: -# * virtual → lightweight, non-thread-affine execution -# * async → Paper async scheduler -# * global → main server thread -# -# These are stored in global variables for reuse. -# -# ----------------------------------------------------------------------------- -# PROVIDED EXPRESSIONS -# ----------------------------------------------------------------------------- -# -# 1) instant now -# - Returns java.time.Instant.now() -# -# 2) routine service -# - Returns the singleton RoutineService instance -# -# 3) context -# - Returns a PaperContext for routine execution -# -# 4) fluent routine [at