Releases: SkriptLang/Skript
2.4 is here!
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:
Preparing for stable 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
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.
PRs merged
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
Previous release introduced a number of regressions. They were all quite serious, and have now been fixed.
Bug fixes to you
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
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.
Chat bug fixes
2.4 release plans
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
Backported security fix
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