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
-
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 default
config option totrue
to 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 aliases
option inconfig.sk
, which allows you to tell Skript to only load aliases in theplugins/Skript/aliases
folder. 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!(){}\",
.newl
andnline
are no longer valid syntaxes for thenewline
expression, butnew line
is 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-air
instead ofsolid
in thehighest solid block
expression has been removed.on teleport
will now trigger for non-player entities. To detect only player teleports, useon player teleport
.Changelog
Additions
lowest solid block
expression for obtaining the lowest solid block at a location.is online
may continue to return true for players that have disconnected and then reconnected.breakable
with the existing unbreakable syntaxes.invincible
as a synonym ofinvulnerable
in related syntaxes.actual
part of the target block expression. Whenactual
is used, the hitboxes of blocks will be considered.teleport
event to trigger when non-player entities are teleported. NOTE: This meanson teleport
will now trigger for entities other than players. Useon player teleport
for 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 connected
pattern to support only Paper server.sort {_list-of-players::*} by {hide-and-seek::%input%::score}
)last damage
expression.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.broadcast
effect to trigger message broadcast event.and
lists are equal.#
characters within strings. Existing strings will need updated to remove duplicate#
characters. This change does not affect hex color tags.nline
andnewl
. Additionally,new line
is now a valid option.load default aliases
config option.API Changes
return
effect)exit
orreturn
syntax 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