2.5 unstable release
Pre-release
Pre-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.