Skip to content

V2.0.0-rc.2

Latest

Choose a tag to compare

@danielmillar danielmillar released this 19 Feb 22:47
· 1 commit to master since this release

Internal Refactors

Refactored multiple SlimeLink internals for safer async behavior and cleaner event flow:

  • Improved world-operation reliability and concurrency handling.
  • Added shutdown cleanup for in-progress operation state.
  • Improved main-thread handoff safety for sync-required world operations.
  • Updated event registration flow and internal unload tracking for SlimeWorld events.

New Syntax & Feature Additions

Added new API coverage and usability improvements:

  • Added SlimeWorld load/unload Skript events.
  • Added world existence syntaxes (effects/expressions/conditions) for loader-backed checks.
  • Added a dedicated unload event bridge so unload handling is reliable and SlimeWorld-specific.
  • Updated slime world event filters to use world names (string) directly:
    • on slime world load of "my_world":

Reliability & Error Handling Improvements

Focused heavily on diagnostics and type safety:

  • Fixed property assignment parsing issues caused by unparsed literals.
  • Added robust value coercion/validation for Slime properties (clear expected-type errors).
  • Improved user-facing Skript errors for loader/world operations.
  • Improved loader-expression failure handling and surfaced clearer setup/config errors.

Examples & Documentation

Expanded examples to better reflect real usage:

  • Added a comprehensive SlimeExample.sk flow covering loader/world lifecycle operations.
  • Included practical sequencing patterns (create/load/unload/delete with delays/waits).

Recommendations

Review scripts that chain world operations back-to-back (for example clone -> immediate load).
For best stability, wait for existence/load conditions between async steps.

Check updated docs on SkriptHub:
https://skripthub.net/docs/?addon=SlimeLink

Support

For any issues with v2.0.0-rc.2, please open an issue on GitHub or join the Discord server:
https://discord.gg/B9k2xbrp