Releases: SkriptLang/Skript
Second 2.5 unstable alpha release
Warning: This is the second public test release of Skript 2.5. It is likely to contain breaking bugs - do NOT run it outside of a test server. Skript 2.4 will continue to receive critical bug fixes until 2.5 is stable, which may take a while.
This release fixes a few bugs and also brings a handful of new syntaxes available for testing.
- Fixed exception error in replace effect (closes #2763)
- Fixed damage effect not showing damage (closes #2760)
- Fixed some tree types not working in grow tree effect (thanks @APickledWalrus, closes #2580)
- Fixed experience spawn event firing more than once after script reloads (closes #2751)
- Fixed some item comparison issues (closes #2714)
- Added support for llamas in entity equip effect
- Added an expression to get/set number of arrows stuck in an entity (closes #1655)
- Added an expression to get/set no damage ticks of entities
- Added support for creating fiery explosions within the explode effect (thanks @APickledWalrus)
- Added syntax to replace existing potion effects (thanks @APickledWalrus, closes #2598)
- Added syntax to get the entities in a chunk
- Added new line expression (thanks @JRoy)
- Added an effect and condition to change/check charged creepers (thanks @APickledWalrus)
- Added an info sub-command to the
/skript
command which will provide links to docs and aliases (thanks @Olyno, closes #1825)
Notes:
- Added nightly builds to GH Actions (These builds are not “supported” versions, use at your own risk)
2.5 unstable release
Warning: This is the first public test release of Skript 2.5. It is likely to contain breaking bugs - do NOT run it outside of a test server. Skript 2.4 will continue to receive critical bug fixes until 2.5 is stable, which may take a while.
There has been months of more or less active work on 2.5 by many people. We introduced an automated testing system and done some refactoring to improve stability of new Skript releases. Beyond that, there are some bug fixes that did not make it into 2.4, and a large amount of new features.
- Added an effect and a condition for silencing entity sounds (thanks @OfficialDonut)
- Added support for non-player entities to item pickup event
- Added location for block command senders (closes #2160)
- Added recursive list size as an option to 'amount' expression (closes #1869)
- Added an expression for toggling entity AI on and off (thanks @OfficialDonut)
- Added an event for players propelling through air due to riptide enchantment (thanks @OfficialDonut)
- Added a condition to check if entities are leashed (thanks @JRoy)
- Added more descriptive alternative syntax for 'blocking' condition (closes #1578)
- Added an expression to get how long players have been online
- Added support for mooshroom variations (closes #2537)
- Added an expression to get max durability of items (closes #2582)
- Added different capitalization styles to 'case text' (closes #1860)
- Added an effect and a condition for entity invulnerability (thanks @OfficialDonut)
- Added syntaxes for Minecraft 1.14+
CustomModelData
- Added support for Paper's per-client view distance (not supported on all Paper versions)
- Added an expression to get all blocks destroyed by explosions (closes #2509)
- Added a way to replace only first occurrance with replace effect (closes #2531, thanks @APickledWalrus)
- Added an event value for selected hotbar button in inventory click events (closes #2643)
- Added an event for armor changes (closes #2595)
- Added support for taming entities
- Added an expression for counting characters in a string (thanks @APickledWalrus)
- Added a way to convert unix timestamps to dates (closes #2675)
- Added an event for sponge absorbing blocks (related #1655)
- Added support for item (tool or armor) damage
- Added an option to temp-ban players (closes #2667)
- Fixed asterisks not being allowed in expressions in variable names (closes #2381)
- Fixed flickering fireworks not working (closes #2229)
- Fixed 'all foxes' not actually referring to all foxes (closes #2535)
- Fixed example of 'glowing' expression (closes #2518)
- Fixed exceptions caused by passing invalid arguments to functions (closes #2384)
- Fixed player-specific weather not being always set correctly (closes #2551)
- Fixed random fish spawning not working (closes #2046)
- Fixed some types not being parseable (closes #2186, #1832)
- Fixed comparisons between entities and entity types with similarly named aliases (closes #2213, #2286)
- Fixed parsing of overlapping syntaxes in comparisons (closes #2184)
- Fixed numerous conditions, expressions, and events using ItemStack instead of ItemType (closes #2151, #2162, #2175)
In total, Skript 2.5 adds 5 events, 7 conditions, 2 effects and 12 expressions. Many existing syntaxes also received significant improvements and new features.
A holiday update
Skript now fully supports Minecraft 1.15! We expect that future patches for 2.4 will contain only bug fixes and support for future Minecraft versions, while Skript 2.5 is being prepared.
- Added support for 1.15's particles
- Added bees
- Added aliases for new items and blocks from 1.15
- Fixed command reloading not working on 1.15
- Fixed a typo in iron golem name
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.