Pre-Release 2.9.0-pre1 #6847
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-pre1
Skript 2.9.0 Pre-Release 1 is here for everyone to begin previewing! As a 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 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.is connected
pattern inis online
.###
multi-line comment support.whether <condition>
expression to allow conditions to be used as boolean expressions. (set {_test} to whether player is flying
)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
#
characters within strings.new line
expression.1 second / 5 ticks = 4
)load default aliases
config option.API Changes
broadcast
effect now calls BroadcastMessageEvent.return
effect)%*string%
in syntax)Click here to view the full list of commits made since 2.8.X
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-pre1.
Beta Was this translation helpful? Give feedback.
All reactions