Skript 2.11.0 is now available! This release is of a much more managable size compared to 2.10, but includes a significant amount of new syntaxes to play around with, as well as a major fix for some item variables. Please read the Major Changes section closely.
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 release model, we plan to release 2.11.1 on May 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
Adds the ability to clarify the type of a literal, allowing e.g. black (wolf color) or black (color).
A large number of additional syntaxes for various entities, like wardens, allays, and endermen.
Allows the use of minecraft ids to refer to items: minecraft:oak_log.
Adds a spanish language option.
Fixes bug where stored items in variables could change types between Minecraft versions.
Caution
Updating your Minecraft version before switching to 2.11 can cause some item variables to change materials! To avoid issues, please ensure you start your server normally with 2.11 active, shut it down normally, and only then proceed to updating your Minecraft version.
If you are still on 2.10, have updated your Minecraft version, and are experiencing item variable issues, you may find success by downgrading Minecraft to before the issues began and updating to 2.11 on that version (Or by copying your variables.csv file to a server running on an older version). Be warned that downgrading generally is not supported by Paper or Spigot, and you may encounter other unrelated issues attempting this.
Be warned that downgrading from 2.11 may cause Skript to be unable to load some item variables. Keep this in mind when testing 2.11.
⚠ Breaking Changes
The last colour of %string% expression has been reworked, adding additional support. This necessitated a pattern change, so existing code using this expression should now use last string colour code of %string%.
The potion type type has been renamed to potion effect type. Usages of the previous name will need to be updated in scripts.
The chiseled bookshelf and decorated pot inventory types have been renamed to [chiseled] bookshelf inventory and decorated pot inventory respectively. Usages of the previous names will need to be updated in scripts.
event-item in the 'armor change event' has been removed in favor of 'old armor item' and 'new armor item'
UUIDs are no longer represented by strings in Skript and are instead proper UUID objects. This should cause no changes for normal Skript users, but may cause issues if you are relying on them being strings in contexts like using Skript-Reflect methods.
Changelog
Additions
#7006 Adds full support for modifying players' world borders.
#7270 Adds additional syntax for interacting with dropped items.