Skip to content

Releases: SkriptLang/Skript

A pretty solid release

06 Nov 03:52
Compare
Choose a tag to compare
Pre-release

A lot of bugs regarding the aliases have been fixed! I'd like to thank @ShaneBeee, @Efnilite and @Blueyescat as they have been of a lot of help by testing the fixes we've made. This release wouldn't have happened without your help guys.

Remember that even if many bugs have been fixed, this is a beta release, not a stable one. Please don't run this on a production server until you have tested that everything works as expected.

That being said, here are the changes:

  • Updated WorldGuard hook (make sure to have WG 7.x or Skript may not work properly).
  • Added a connect effect for teleporting players through BungeeCord servers
  • Enhanced the tab-completion of command arguments (Closes #1600)
  • Added 1.13 particles and potion effects (Thanks to @ShaneBeee)
  • Added support for all 1.13 entities (thanks to @ShaneBeee, closes #1635)
  • Added an effect for sending titles and subtitles (thanks to @ShaneBeee, closes #1213)
  • Added swim related events and condtions (1.13 only, thanks to @ShaneBeee)
  • Added the ability to change inventory names (thanks to @TheLimeGlass)
  • Added the ability to change difficulty of a world (thanks to @TheLimeGlass)
  • Improved englishness of documentation (thanks to @Efnilite and @JRoy)
  • Re-added the block change effect that got lost in a merge (Closes #1626)
  • Fixed the kill effect having a strange behaviour with players (thanks to @TheLimeGlass)
  • Fixed block events firing when they had a common alias group (Closes #1567)
  • Fixed the break event having a different entity event-value in some cases (Closes #1561)
  • Fixed the place event not firing in cases where it should (Closes #1614)
  • Fixed a bug with item's durability making it not run on 1.12 and older (Closes #1617 and #1608)
  • Fixed the item with lore expression removing previous meta from items (Closes #1620)
  • Fixed a bug where entities would be treated as item types (Closes #1631)
  • Fixed item names not being always the same (Closes #1658)

A bit more stable release

17 Oct 13:05
Compare
Choose a tag to compare
Pre-release

Everything is finally starting to look stable! 1.12 and older Minecraft versions might be not so stable with this build, but this is (hopefully) quite usable on 1.13.

Also, this is a beta release, not stable one. Except bugs, and don't run this outside of a test server until you have tested whether there are critical bugs or not.

  • Added a warning for using only single ':' in variable name (closes #1440)
  • Added support for 1.13 mobs (related #1385, thanks @ShaneBeee)
  • Added an event for jumping (closes #444, thanks @jaylawl)
  • Added an event for hand-switching items (closes #1445, thanks @jaylawl)
  • Added 1.13 enchantment support (related #1385, thanks @ShaneBeee)
  • Added an effect to execute an effect conditionally (thanks @OfficialDonut)
  • Added support for server list ping (thanks @Blueyescat)
  • Added expressions for player count shown in server list (thanks @Blueyescat)
  • Added an expression for protocol version (thanks @Blueyescat)
  • Added support for setting shown protocol version and version string (thanks @Blueyescat)
  • Added an expression for controlling player information visibility in server list (thanks @Blueyescat)
  • Added support for server list icon manipulation
  • Added support for tab-completing comments on 1.13 (closes #1548)
  • Added ability to send action bar messages (closes #1351, thanks @JRoy)
  • Added support for manipulating leashes
  • Added an effect for suppressing some warnings (closes #1260)
  • Improved code quality of conditions
  • Fixed a memory leak with local variables (closes #1570)
  • Fixed a bug that would freeze the server when reading a variable (closes #1591)
  • Fixed a bug with nothing as zero arithmetic (closes #1437)
  • Fixed 'raw name' expression not working reliably
  • Fixed a serious issue with plurality of aliases (closes #1592)
  • Improved documentation website (experimental, old version is still available)

More bugfixes

07 Oct 19:19
Compare
Choose a tag to compare
More bugfixes Pre-release
Pre-release

Warning: this is an unstable release. It will likely break your server. Use it only if you're interested in helping us find and fix bugs.

Might be time for beta build after this; testing might even prove 1.13 to be perfectly usable. 1.12 has also got some bug fixes; 1.11 and earlier are untested, and will likely be tested once we're in beta.

  • Added support for WorldGuard 7 (closes #1537)
  • Fixed 'starts with' condition parse-time checking (thanks @Blueyescat)
  • Fixed variable locking related server crashes (closes #1558)
  • Fixed item equality checks not working reliably with damaged items (closes #1563)
  • Fixed item names not working on 1.12 (closes #1554)
  • Fixed endermen not working on 1.13 (closes #1557)
  • Fixed delayed change block exceptions
  • Fixed 'on flight toggle' event syntax (closes #1541)
  • Removed, for now, support for WorldGuard 6

1.12 + a pile of bug fixes

22 Sep 10:05
Compare
Choose a tag to compare
Pre-release

Warning: this is an unstable release. It will likely break your server. Use it only if you're interested in helping us find and fix bugs. In particular, this release features experimental variable system tweaks, which might cause... interesting issues.

1.12 appears to be working, but is probably even more buggy than 1.13. Feel free to submit any bugs you find now. Same goes for earlier versions (1.9, 1.10, 1.11), but they've received pretty much no testing yet.

  • Fixed continue effect not being available
  • Fixed various alias comparison issues (closes #1533, #1543)
  • Fixed setting blocks sometimes throwing exceptions (closes #1539)
  • Fixed Unicode color character validation in chat (closes #1534)
  • Fixed variable writes sometimes blocking and causing lag spikes (highly experimental)
  • Fixed Minecraft 1.12 not working
  • Fixed some regressions due to commits being lost in merge conflicts
  • Updated build system (Gradle and ecj)

More bugs found

10 Sep 17:48
Compare
Choose a tag to compare
More bugs found Pre-release
Pre-release

Warning: this is an unstable release. It will likely break your server. Use it only if you're interested in helping us find and fix bugs.

In addition to that, 1.12 and older are not supported at the moment. When we have them working again, a new release will be made.

  • Fixed continue effect not being available (closes #1514)
  • Fixed alias matching not working reliable (closes #1518)
  • Fixed some raw block names not being available (closes #1519)
  • Fixed using blocks and items that cannot have any metadata (closes #1524)
  • Fixed 'make say' effect not being available (closes #1526)
  • Fixed toggle effect not working at all (closes #1527)

1.13 testing continues

05 Sep 14:58
Compare
Choose a tag to compare
Pre-release

Warning: this is an unstable release. It will likely break your server. Use it only if you're interested in helping us find and fix bugs.

In addition to that, 1.12 and older are not supported at the moment. When we have them working again, a new release will be made.

  • Added automatic placement for bed parts and doors (closes #1502)
  • Fixed leaves not having names available (closes #1503)
  • Fixed an issue that caused comparing blocks with aliases to fail (closes #1507)
  • Fixed 'named' expression not actually changing item name (related #1505)
  • Fixed command argument number not being validated (closes #1494)
  • Fixed setting specific line of item lore sometimes throwing an exception (closes #1506)
  • Fixed type checking in 'sorted' expression (closes #1433)
  • Fixed slots not being comparable with numbers (closes #1469)
  • Removed unnecessary debug messages
  • Updated the aliases (closes #1508)

1.13 test release

03 Sep 20:06
Compare
Choose a tag to compare
1.13 test release Pre-release
Pre-release

Warning: this is an unstable release. It will likely break your server. Use it only if you're interested in helping us find and fix bugs.

In addition to that, 1.12 and older are not supported at the moment. When we have them working again, a new release will be made.

Known Issues

  • Variable storage format may be unstable
  • Updating variable database from 1.12 is not (yet) possible
  • Multipart blocks such as beds and doors do not have both parts automatically placed (#1502)
  • Memory usage of Skript is higher than it should be
  • Some blocks do not have user-friendly names available

There will certainly be many currently unknown issues.

1.13 support

Other changes in the update

Additions

  • Added a condition to check whether players have any custom weather set
  • Added an expression to get a copy of an item with given lore
  • Added a condition to check whether chunks are slime chunks, according to a formula from the Minecraft Wiki
  • Added the spawn reason of entity type and expression for getting it from entities
  • Added the teleport cause type
  • Added a condition and an expression for scoreboard tags (#346, thanks @Blueyescat)
  • Added Skript releases to JitPack, which addons should now be built against with Gradle and Maven (thanks @eyesniper2)

Fixes and improvements

  • Improved the lore expression by making it possible to add or set multiple lines at the same time
  • Updated the unbreakable item expression to work with new Minecraft versions (closes #1447)
  • Fixed the unexpected behavior of looping less than one time - it has no effect now
  • Fixed the custom player weather expression being fundamentally broken (closes #1408)
  • Fixed the ability to use local variables in the wait effect (closes #1394)
  • Fixed an issue with the documentation generator, which made it impossible to generate the docs (closes #1426)
  • Fixed the ability to send non-single expressions with the message effect (closes #1454)
  • Fixed the all permissions of players expression being generally broken (closes #1456, thanks @TheLimeGlass)
  • Fixed the problem with variables not working in expressions that accepted multiple types (closes #1287)
  • Improved code quality

Feature update

16 Jul 16:06
Compare
Choose a tag to compare
Feature update Pre-release
Pre-release

1.13 is not supported (or working) yet. It will be in future, but that is going to take some time. In this release, we have fixes for some ancient bugs, fancy new features and, as always, some interesting new bugs.

Documentation coming up as soon as possible. Right now there are some technical issues.

  • Added support for looping inventories
  • Added a condition for checking whether chunks or worlds are loaded
  • Added an expression to get languages of players' clients, and a trigger for language changes (related #1291, thanks @Blueyescat)
  • Added support for joining all types together
  • Added an expression for spectator target (closes #1346)
  • Added effect to continue in loops (closes #1372)
  • Added an effect for sending fake block changes to players (related #1291)
  • Added support for manipulating balances of offline players (needs Vault, of course)
  • Added (broken, apparently) local variable type hints
  • Fixed a bug which caused iterating over a single item enchantment to fail (closes #1289)
  • Fixed setting burning duration of an already burning furnace not working
  • Fixed local variables being local to events instead of triggers (closes #1095)
  • Fixed a minor issue in builtin function documentation (closes #1344)
  • Fixed coloring and JSON chat issues in permission messages (closes #1303)
  • Fixed a type issue with 'where' expression (closes #1284)
  • Fixed a minor issue with 'highest block' expression
  • Fixed effect to make a player fly not working in some cases
  • Fixed expression to get the highest solid block returning a wrong block (thanks @Nicofisi)
  • Fixed past/future states of expressions targeting players not always working (closes #1182)
  • Fixed putting multiple 'else' blocks crashing horribly instead of showing an error (closes #1294, thanks @Nicofisi)
  • 'Fixed' tests on Windows (thanks @crzyBrown)
  • Fixed some cases of missing documentation
  • Improved code quality (thanks @Nicofisi)
  • Removed warnings that might or might not be accurate from visual effects

Hotfix 2.2-dev37b:

  • Added an effect for making players say things (thanks @Blueyescat, related #1291)
  • Probably fixed local variable type hints (maybe closes #1379)

Hotfix 2.2-dev37c:

  • Added player visibility controls (thanks @Blueyescat, related #1291)
  • Fixed more issues with type hints

A bag of tricks

01 Jun 13:02
Compare
Choose a tag to compare
A bag of tricks Pre-release
Pre-release

This release features a rather big amount of new features and bug fixes. The changes shouldn't be breaking, but as always, test before using.

  • Added support for default values, to reduce amount of conditional blocks needed in scripts
  • Added support for ternary operations (sort of)
  • Added conditions for checking whether blocks are solid, flammable or transparent
  • Added conditions for checking whether items are edible
  • Added support for using expressions in command permission message (closes #652)
  • Added conditions for checking if a string starts or ends with given string
  • Added an expression to get all enchantments of an item (relates #1234)
  • Added a way to get ping of a player
  • Added expressions to get server TPS values, available only on some server platforms
  • Added support for getting and setting players' current hotbar slots
  • Added support for Bukkit's block metadata (warning: not saved when the server restarts)
  • Added support for filtering lists (experimental, subject to change!)
  • Added a trigger for flight toggles
  • Fixed numbers between two integers not working when the first integer is larger (thanks @TheLimeGlass, closes #97)
  • Fixed a regression that caused recursive function returns not to work
  • Fixed an issue that might have crashed updater on Java 11
  • Fixed some broken links in the documentation
  • Fixed a bug that caused 'item of' from previous release to not work for anything but item frames
  • Fixed cancelling right click events not working in some cases (closes #290)
  • Fixed a bug causing replace effect not to work when replacing in multiple strings (closes #1248)
  • Fixed a bug that mixed lists with other variables (#1262)
  • Fixed potential null safety issues with inventory click events (closes #1207)
  • Fixed a potential chat crash on 1.8
  • Fixed options not being parsed in function declarations (closes #1230)
  • Fixed an exception caused by unspecified parrot type (closes #1273)
  • Removed command for old Skript timings, which were replaced more than a year ago
  • Moved Skript under a Github organization SkriptLang, and updated some of the links to point there

An inventory update

19 Apr 10:33
Compare
Choose a tag to compare
An inventory update Pre-release
Pre-release

The few previous releases were, if not small, not huge either. Well, this one isn't. Lots of new features, old bugs fixed and so on. Also, probably some new bugs. Test before you put this to your public server.

If you use addons, this release might cause you some trouble due to inventory slot handling changes. Known problems:

  • TuSKe prints errors on startup, but appears to work otherwise

The addon developers have been notified. If you are an addon developer and were not noticed, open an issue or contact me in some other way.

  • Added more information to Skript's exceptions (thanks @Pikachu920)
  • Added support for modifying remaining air better (thanks @TheLimeGlass)
  • Added an item despawn event (thanks @TheLimeGlass)
  • Added an event for item merge (thanks @TheLimeGlass)
  • Added support for exhaustion of players (thanks @TheLimeGlass)
  • Added an expression to get all offline players (thanks @TheLimeGlass)
  • Added possibility to set location of respawn in the event (thanks @TheLimeGlass)
  • Added an event for addons that is triggered just before a script is loaded (thanks @Pikachu920)
  • Added support for multiple JSON-formatted messages (thanks @Pikachu920, closes #1153)
  • Added a warning for unnecessary string conversions (thanks @Pikachu920, closes #1149)
  • Added an expression to get seed of the world (thanks @TheLimeGlass)
  • Added expressions for temperature and humidity (thanks @Pikachu920, closes #896)
  • Added support for comparing slots with numbers when they have indices
  • Added support for negation of 'on ground' condition
  • Added an expression for getting an indices of inventory slots
  • Added item frame slot support
  • Fixed a bug with documentation generator not working on new Paper versions
  • Fixed grammar issues in the README (thanks @TheLimeGlass)
  • Fixed some edge cases where some entities would not be killed correctly (thanks @Pikachu920, closes #937)
  • Fixed function return values sticking around too long (thanks @Pikachu920)
  • Fixed slots not working as specified in the Javadoc
  • Fixed inventory info expression sometimes causing exceptions (closes #1163)
  • Fixed list being parsed where they shouldn't have been (closes #1148, #842, relates to #946)
  • Fixed capitalized color codes not working (closes #1083)
  • Fixed negated comparisons with nothing (closes #1088)
  • Fixed contains condition not always working with list variables (closes #411)
  • Fixed inventory slots being incorrectly converted to text (#362)
  • Fixed event-value for the slot not always representing the correct inventory
  • Fixed functions not being executed when values are provided but do not exist (closes #1089)
  • Renamed click actions as click types, because that makes more sense
  • Reworked some slot handling, which might break some addons
  • Removed ability to cause client crashes and freeze the server using weird inventory sizes

Plus a few changes which shouldn't be visible for scripters:

  • Added an API for registering custom chat codes
  • Fixed compilation on Java 9 or newer (closes #1166)
  • Improved code quality (thanks @Nicofisi and @TheLimeGlass)

If your functions broke, try adding

execute functions with missing parameters: false

in your config.sk. It will revert back to the old, weird, behaviour, where functions are not executed at all when any parameter provided does not exist.

Release dev35b, mainly to fix some serious parser issues:

  • Fixed entities being parsed as inventory holders (closes #1126)
  • Fixed a conflict that custom inventory syntax had (closes #1202)
  • Fixed 'or' lists not working, where only 'and' lists should have been disallowed (closes #1196)
  • Fixed some regressions with item/slot to string conversion (closes #1200)
  • Improved the expression to format time (closes #1167)