Pre-Release 2.9.0-pre2 #6896
APickledWalrus
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Skript 2.9.0-pre2
Skript 2.9.0 Pre-Release 2 is here to fix some issues that came with the first pre-release. As with any other pre-release, be warned that there may be bugs! We do not recommend running this version on your production servers. This release contains many new features and bug fixes, including support for Minecraft 1.21.
We especially want to thank the recent influx of new contributors, many of whom are included in this update. Every contributor means a little less work for the team and a little more progress for Skript, so please, if you want a feature in Skript, go ahead and try to make a pull request! New contributors are very welcome! You can review our contributing guide by clicking here.
Below, you can familiarize yourself with the changes. Additionally, by clicking here, you can view the list of new syntax on our documentation site. As always, report any issues to our issues page!
Per our new release model, we plan to release 2.9.0 on July 15th. We may release additional pre-releases before then should the need arise.
Happy Skripting!
Major Changes
Important
Skript now requires Java 11 to run. While most users are running Java 11 or newer, some may be required to update for this version. Java 11 is supported on all versions Skript supports.
listen to cancelled events by defaultconfig option totrueto allow events to listen to both uncancelled and cancelled events by default:###alone on a line.hello ### there) will not start or end a comment.set {text} to "hello" + "there") with the addition operator.concat(...)function joins any text or objects together into a single text.load default aliasesoption inconfig.sk, which allows you to tell Skript to only load aliases in theplugins/Skript/aliasesfolder. You can provide as many or as few (even none, if you want!) aliases as you like. We will provide the default folder in the GitHub release for your convenience.⚠ Breaking Changes
#characters in strings no longer need to be doubled! Skript can now tell that you are writing a string and will not start a comment in the middle of it. This change means all your##will now appear as two#instead of one! This won't break hex colours, those support either one or two#'s, but it may break other text!broadcast "%{_timespan}%" - "378 days and 20 minutes" + "1 year and 1 week and 6 days and 20 minutes"(){}\",.newlandnlineare no longer valid syntaxes for thenewlineexpression, butnew lineis now valid.#characters in strings no longer need to be doubled. This will mean existing doubled#s will appear as two, rather than one.non-airinstead ofsolidin thehighest solid blockexpression has been removed.on teleportwill now trigger for non-player entities. To detect only player teleports, useon player teleport.Changelog
Pre-Release 2 Changes
Click here to view the full list of commits made since 2.9.0-pre1
Additions
lowest solid blockexpression for obtaining the lowest solid block at a location.is onlinemay continue to return true for players that have disconnected and then reconnected.actualpart of the target block expression. Whenactualis used, the hitboxes of blocks will be considered.teleportevent to trigger when non-player entities are teleported. NOTE: This meanson teleportwill now trigger for entities other than players. Useon player teleportfor detecting only player teleports.###.+) symbol.whether <condition>expression to get the boolean (true/false) representation of a condition (example:send "Flying: %whether player is flying%").Bug Fixes
is connectedpattern to support only Paper server.sort {_list-of-players::*} by {hide-and-seek::%input%::score})last damageexpression.Removals
Changes
#characters within strings.new lineexpression.1 second / 5 ticks = 4)load default aliasesconfig option.API Changes
broadcasteffect now calls BroadcastMessageEvent.returneffect)%*string%in syntax)Click here to view the full list of commits made since 2.8.7
Notices
Help Us Test
We have an official Discord community for beta testing Skript's new features and releases.
Thank You
Special thanks to the contributors whose work was included in this version:
As always, if you encounter any issues or have some minor suggestions, please report them at https://github.com/SkriptLang/Skript/issues.
If you have any bigger ideas or input for the future of Skript, you can share those too at https://github.com/SkriptLang/Skript/discussions.
This discussion was created from the release Pre-Release 2.9.0-pre2.
Beta Was this translation helpful? Give feedback.
All reactions