WARNING: This is the third beta release of Skript 2.6. It will likely contain some bugs, and it is not recommended to run these releases on a live/production server. If you choose to, please ensure you backup any important data beforehand.
NOTICE: After a lot of discussion, we have decided to drop support for 1.12 and lower, as it stops us from adding a lot of features and focusing on other parts of Skript. 2.6.x
will be the last version working with 1.12 and lower. Security patches and other kind of fixes might be ported to this version, but keep in mind that features won't be added.
NOTICE (as per Skript 2.6-alpha1): due to the merge of #3924, many addons might be broken by this release. If you want to make them compatible, you may use SkriptAddonPatcher or its plugin version
It's been a bit since our last release, but the wait has (hopefully) been worth it. This release includes many bug fixes, with even more coming in the near future.
You may have noticed some changes around here too. Recently, we updated our issue templates. Our goal is to provide a better user experience through detailed forms and make triage easier for our team by making sure necessary details are included in user reports.
We have also restyled our documentation site! A big thanks to @AyhamAl-Ali for this awesome redesign.
As always, if you encounter any issues please report them at https://github.com/SkriptLang/Skript/issues.
If you have any ideas or input for the future development of Skript, you can share those too at https://github.com/SkriptLang/Skript/discussions.
Time for the change log!
Additions
- Added an expression to get the last color of a string (#4136, closes #4077)
- Added support to get and set the name of blocks (chests, hoppers, etc.) (#4182)
- This release includes some major improvements to the Section API introduced in the previous beta. Notably, this includes the introduction of EffectSections. Full details can be found at #4147.
- Documentation site improvements (#3935, closes #1598, #4072, #4011, #2705, #1338, #2425) (thanks @AyhamAl-Ali)
- Added missing aliases and improved upon current groupings (#4283, closes #3688, #3671)
Fixes
- Fixed a bug where conditional sections could incorrectly run (#4175)
- Fixed a bug where the magma damage cause didn't work (#4204, closes #4203)
- Fixed a bug where the WorldGuard 6 module only worked when running Java 16 (#4214, closes #4211)
- Fixed a bug where the raw name expression could include extraneous dashes (#4193, closes #4160)
- Fixed false positive 32-bit warnings that could occur (#3813. closes #3805) (thanks @TheDGOfficial)
- Improved handling of numbers internally (#4095, closes #1602, #2326)
- Fixed an issue with rabbit entity comparisons (#4256, closes #4040)
- Skript will now ignore hidden files and folders in more cases (#4135, closes #3910)
- Fixed an issue with getting blocks using directions (#4258, closes #3876)
- Fixed an error that could occur when using players and the console together (for example, sending messages to both) (#4259, closes #3863)
- Skript will now handle and log errors relating to illegal color changes of blocks (#4262, closes #2931)
- Fixed an issue where offline players that haven't joined the server would print as
null
in string form (#4264, closes #2458) - Fixed an issue with quote parsing in command entries (#4267, closes #1679)
- Fixed an issue where the me expression would not properly work for players (#4265, closes #2710)
With this change, the
me
expression will no longer work in console. To refer to the console using effect commands, simply useconsole
.
- Fixed several issues with lenient link parsing (#4271, closes #2283)
- Further improvements to the contains condition (#4273)
- Fixed chat color stripping issues when used with expressions/variables (#4277, closes #2319, #4276)
- Fixed an error that could occur in the 'x of' expression (#4261, #4298, closes #3814, #4296)
- Fixed several issues with the aliases (#4283, closes #4055, #3869, #3773, #4206)
- Fixed dropping in a cancelled death event (#4290, closes #4288)
- Fixed an issue where the experience event would incorrectly fire or return an incorrect amount of experience (#4291, closes #3661, #2915)
- Fixed an issue with getting blocks with directions (#4280, closes #1544)
- Fixed ambiguity between stepping events and possible accidental triggers for the move on event (#4270, closes #2555)
- Fixed using math with the element expression (#4268, closes #1464)
- Fixed an issue where the location function would return
<none>
when a world wasn't provided, even though a world is not required (#4238, closes #4216)
Please note that if a world is not provided to the location function, the default world will be used.