diff --git a/.github/workflows/test-skripts.yml b/.github/workflows/test-skripts.yml index 61be5e3..2181fa8 100644 --- a/.github/workflows/test-skripts.yml +++ b/.github/workflows/test-skripts.yml @@ -88,7 +88,7 @@ jobs: test_script_directory: tests # Skript version or ref (tag, branch, or commit) - skript_repo_ref: dev/feature + skript_repo_ref: 2.14.3 # directory containing addon/plugin jars (relative to repo root) extra_plugins_directory: build/libs 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