Feature Release 2.9.0 #6904
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
Skript 2.9.0 is here with dozens of new features, quality-of-life improvements, and bug fixes. Notably, this release includes 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.1 on August 1st to address any immediate issues that are spotted with this release. Should it be necessary, an emergency patch release may come before then.
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
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.breakablewith the existing unbreakable syntaxes.invincibleas a synonym ofinvulnerablein related syntaxes.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.###(see above).+) symbol.whether <condition>expression to get the boolean (true/false) representation of a condition (example:send "Flying: %whether player is flying%").1 minute / 15 seconds = 4)Bug Fixes
is connectedpattern to support only Paper server.sort {_list-of-players::*} by {hide-and-seek::%input%::score})last damageexpression.Removals
Changes
{variable::%player%}is the same as{variable::%player's uuid%}. If you need to continue using the name, use{variable::%player's name%}. Variables will not automatically migrate. Click to view this discussion for further information.broadcasteffect to trigger message broadcast event.andlists are equal.#characters within strings. Existing strings will need updated to remove duplicate#characters. This change does not affect hex color tags.nlineandnewl. Additionally,new lineis now a valid option.load default aliasesconfig option.API Changes
returneffect)exitorreturnsyntax is used (and the section is exited).%*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 Feature Release 2.9.0.
Beta Was this translation helpful? Give feedback.
All reactions