Skip to content

Releases: SkriptLang/Skript

2.4 is here!

02 Dec 20:33
Compare
Choose a tag to compare

Long-awaited stable release of Skript is here!

We've added new features (see documentation for details), and fixed many bugs. Some highlights:

  • Added support for Minecraft 1.14.4
  • Fixed many item comparison issues (some still remain)
    • 1.12 and older versions are most impacted by this
  • Improved performance and reduced memory usage of aliases

Full changes since Skript 2.3.7 are available below, in form of pre-release patch notes.

Since last release, a few things have changed:

  • Added alternative aliases for stripped wood (closes #2657)
  • Added 1.14 flowers to alias with all flowers (closes #2665)
  • Fixed exception being thrown when a break event is triggered by water pick up (closes #2645)

Preparing for stable release

11 Nov 15:20
Compare
Choose a tag to compare
Pre-release

A collection of bugfixes has been released for Skript 2.4. A stable release will soon follow, unless significant issues are found. Most development currently goes to Skript 2.5.

  • Fixed issues with llamas on 1.14 (closes #2573)
  • Fixed potion aliases (closes #2581)
  • Fixed (rare) item comparison issues
  • Fixed (not so rare) item comparison issues on 1.12 and older versions (closes #2394)
  • Fixed respawn location not being changeable (thanks @bluelhf)
  • Fixed click events on boats triggering block click events (closes #2609)
  • Fixed villager comparisons not working reliably (closes #2625)
  • Fixed coloring items throwing exceptions (closes #2623)
  • Fixed WorldGuard regions including blocks outside the region (closes #2617, thanks @APickledWalrus)

A late beta release

15 Oct 14:01
Compare
Choose a tag to compare
A late beta release Pre-release
Pre-release

This release comes much later than we had originally planned. We were waiting for some further improvements to be finished, but in the end couldn't get them to this release. Stable Skript 2.4 will be released soon if everything goes as planned; development of 2.5 has already started. We may backport a few more bug fixes to 2.4 before that.

  • Fixed beacon alias not being same as crafted beacon (closes #2459)
  • Fixed an exception on Skript startup (closes #2487)
  • Fixed llamas and trader llamas confusion (closes #2507)
  • Fixed function reloading issues (closes #2461)

PRs merged

30 Sep 01:07
Compare
Choose a tag to compare
PRs merged Pre-release
Pre-release

This update has merged a lot of pending PRs with new features and bugfixes and hopefully fixed some critical bugs with items.

Warning

The contains condition was severely changed in this update, please take a look at its new patterns and report any issues you might have with it.

Here's the changelog;

  • Added zombie horse alias for undead horses (thanks to @Wealthyturtle, closes #1389).
  • Added experience level up/down event.
  • Added the ability to parse entities by UUID (thanks to @ShaneBeee, closes #1352).
  • Added the ability to modify a player's view distance (requires Paper, thanks to @ShaneBeee, closes #2010).
  • Added an expression to get a portal blocks in a portal create event (thanks to @Wealthyturtle, closes #576).
  • Added head alias to the skull expression (thanks to @Wealthyturtle).
  • Added an effect to cancel dropping of inventory/experience in some events (thanks to @Blueyescat).
  • Added an expression for getting and setting the entity type of a spawner (thanks to @Wealthyturtle, closes #1186 and #2385).
  • Improved the command with cooldown example script (thanks to @bluelhf).
  • Reworked the contains condition (thanks to @Blueyescat, closes #1404, #1838, #2122).
  • Fixed some grammatical errors in the documentation (thanks to @noftaly).
  • Fixed removal of items from inventories (Closes #2446).
  • Fixed issue where clicking outside an inventory would throw a NPE (thanks to @Wealthyturtle, closes #2306).
  • Fixed issue with sound effect throwing an exception when the input was invalid (thanks to @Wealthyturtle, closes #2412).
  • Fixed displaying issue with cats and pandas (thanks to @Wealthyturtle, closes #2440).
  • Fixed quit event being cancellable (closes #2444).

Regression fixes

05 Sep 17:45
Compare
Choose a tag to compare
Regression fixes Pre-release
Pre-release

Previous release introduced a number of regressions. They were all quite serious, and have now been fixed.

  • Fixed 'contains' negation not always working (closes #2419)
  • Fixed click event filtering by items being too strict with item meta (closes #2429)
  • Improved backwards-compatibility of function system Java API (closes #2422)

Bug fixes to you

03 Sep 18:16
Compare
Choose a tag to compare
Bug fixes to you Pre-release
Pre-release

This is a bit unusual beta release; it also brings new features (from pull requests) instead of just fixing bugs. It should be relatively stable, but if you encounter any new bugs, please report them! We're close to a stable release.

  • Added an expression to reverse list (thanks @JRoy, closes #2260)
  • Added 'summon' as an alias for 'spawn' (thanks @Wealthyturtle)
  • Added a condition for checking if strings are alphanumeric (thanks @Wealthyturtle)
  • Added support for setting non-living entity names (thanks @Blueyescat, closes #2139)
  • Fixed unintended colors in output of Skript's own commands (closes #1269)
  • Fixed Skript trying to load non-script files (thanks @Wealthyturtle, closes #2103)
  • Fixed documentation of 'ban' effect (thanks @Wealthyturtle, closes #2344)
  • Fixed a documentation issue with 'affected entities' expression (thanks @Blueyescat)
  • Fixed a broken example in documentation (thanks @Wealthyturtle, closes #1531)
  • Fixed Skript preventing boat placement and other interaction issues (closes #2389)
  • Fixed removing items ignoring some properties of them (closes #2354)
  • Fixed a serious performance issue with 'contains' condition (closes #2393)
  • Fixed a memory leak caused by ignoring function return values (closes #2337)
  • Fixed functions not being unloaded correctly (closes #2378)
  • Fixed default values of function arguments not always being parsed (closes #2353)
  • Fixed a regression causing warnings from function parameters (closes #2345)
  • Removed prefix from script command 'usage' (thanks @JRoy, closes #1844)
  • Improved documentation of 'name' expression (thanks @Blueyescat)

More fixes for bugs

04 Aug 14:01
Compare
Choose a tag to compare
More fixes for bugs Pre-release
Pre-release

This one is hopefully more usable than the previous one. Still, because it was apparently unclear: this is not a stable release. Critical bugs may exist, test before using.

  • Fixed removing items from inventories not working (closes #2313)
  • Fixed click events being called twice sometimes (closes #2296)
  • Fixed click events causing some items not to be usable (closes #2323)
  • Improved memory usage of aliases (closes #2308)

Chat bug fixes

28 Jul 09:47
Compare
Choose a tag to compare
Chat bug fixes Pre-release
Pre-release

There have not been many changes, but chat issues with previous beta release are too serious to ignore.

  • Fixed pollution in strings (closes #2279)
  • Fixed variable components in strings sometimes not working (closes #2303)

2.4 release plans

20 Jul 13:32
Compare
Choose a tag to compare
2.4 release plans Pre-release
Pre-release

We're moving ahead towards a stable release. Hopefully only some (many?) bugfixes are needed.

  • Fixed chat formatting issues caused by previous release; review docs of send effect for details (closes #2208)
  • Fixed spawning some mobs from variables not working (closes #2212)
  • Fixed pollution of literals (closes #2167)
  • Fixed 'contains' not working with function return values (closes #2187)
  • Fixed 'entities' expression sometimes not finding nearby entities (thanks @Blueyescat)
  • Fixed locations not being local to functions (closes #2257)
  • Fixed exiting nested loops not clearing loop state (closes #1380, thanks @TPGamesNL)
  • Fixed some broken links in documentation (thanks @Matocolotoe)
  • Fixed script aliases being unable to access global aliases (closes #2256)
  • Fixed aliases naming being unpredictable
  • Reworked right click events

Hotfix 2.4-beta2 released

  • Fixed functions not always working (closes #2267)

Hotfix 2.4-beta3 released

  • Fixed ocelots not working on 1.13 and older versions (closes #2271)
  • Fixed llamas not working on 1.13 and older versions (closes #2272)
  • Fixed a bug that caused expressions in strings sometimes not work (closes #2273)
  • Fixed a regression with setting items to variables (closes #2274)

Backported security fix

27 Jun 18:20
Compare
Choose a tag to compare

A security issue with JSON chat formatting was found. The fix was backported for 2.3, since 2.4 is not stable yet.

  • Fixed a security issue with chat styles (closes #2198)
  • Backported other minor bugfixes
  • Updated the aliases
  • Disabled FAWE hook; it cannot currently be compiled