Skip to content
Ahmad Saleem edited this page Aug 25, 2026 · 22 revisions

skLambda

Welcome to the skLambda wiki.

Latest: 1.5.0 · Requirements: Paper 1.21.1+ · Skript 2.15+

  • New features: everything added in the latest release, with links to the page that covers each one.

Documentation

  • Lambdas: make a lambda, call it, and pass it around. Includes inline lambdas, default parameter values, piping, and turning a function into a lambda.
  • Predicates: use lambdas as yes/no tests with passes, and combine many of them with all/any/none or a counting quantifier.
  • List operations: run a lambda across a whole list (map, reduce, scan, zip, sort, highest/lowest, paging, take/drop while), plus filtering, counting, and finding with a predicate.
  • Listeners: temporary event listeners with timers, counters, owners, callbacks, and origin metadata.
  • Async: run a lambda off the main thread with futures, succeed or fail them, chain them with then, suspend a trigger with wait for (a future or the next event) without freezing the server, and watch a value or condition with a polling watcher.
  • Configuration: the config.yml options and the /sklambda command.
  • Examples: full, ready-to-run scripts that mix everything together.

Links

Clone this wiki locally