Releases: SkriptLang/Skript
Parser Preview
Preview release of new parser. Do not use this outside of test server (or at least take backups). This is so I can see what is broken and get someone else do a bit debugging - I don't have enough time to do all that myself.
- Added multithreaded parser
- Loading scripts now freezes server for shorter time than before
- Added gliding events and expression
- Added area effect cloud support (experimental)
- Added inventory open/close events (closes #217)
- Added expression for gravity (NoGravity flag of Vanilla)
- Added effect to force player respawn (no NMS)
- Fixed timings not working on Windows (closes #211)
- Fixed encoding issue with documentation (now uses UTF-8 always)
Probably broken stuff, especially:
- Parser logging, mostly
- Error reporting might be more confusing too (due to bugs)
- Some of new expressions/whatever added are tested too little
Please report (at least) the following:
- If some addon that worked with previous version doesn't work now
- If something else that previously worked doesn't work now
- If the logging is confusing and you have some idea how to fix it
- If this doesn't work on 1.9 properly, tested mostly on 1.10
So, I'll leave it here. Please report the bugs. Then this might be at least somewhat functional by the time when 1.11 hits.
Fix 1.9 compatibility
Even bugs need updates
- Fixed polar bears and shulkers (closes #110)
- Fixed 'update to pre-releases' error (closes #176)
- Fixed villager spawn bug (closes #174)
- Fixed Grief Preventation admin regions throwing errors when trying to get owners of them (closes #188)
- Fixed cursor item deletion... I guess? (thanks @Sharpjaws)
- Fixed click actions not working (closes #173)
- Updated aliases, thus fixing some buges (closes #186)
- Added suppport for multiple strings in replace effect (thanks @TheLimeGlass)
- Added way to get unix timestamp (closes #147)
- Added support for inventory name (closes #123)
- Added support for crops (wheat, potations, carrots, etc.) to grow event
- Removed 'block growth' (
on crop grow
) event, useon grow
I did not have change to debug everything I 'fixed' here, since I worked on computer which doesn't have (quite complex to set up) debug environment. Please report bugs as usual :)
We will also soon see if my updater really works. It should, but this is first release for it to notify of, so...
Docs are up!
- Documentation is available
- Skript is now built with Gradle
- Updated the updater (closes #146)
- Added README file for common information
- Improved 1.8 compatibility (relates #159)
- Fixed a bug with click events at mob spawners (relates #131)
- Added glowing and bad luck potion effects (closes #152)
- Added location to on break with hanging entities (closes #158)
- Added final damage expression to use with damage events (closes #135)
You can find syntaxes for new stuff in the documentation. (use search of your browser, usually bound to Ctrl+F)
This release might be a bit less stable than usually due to build system change. Please report any issues as usual.
Small fixes
Merge those PRs
Bug fixes, once again
- Fixed entities not spawning
- Fixed shulker and shulker bullet not parsing correctly (relates #110)
- Fixed creative gamemode being parsed as inventory action (closes #111)
- Fixed
toggle
effect on 1.8 doors, and iron trapdoor (closes #114) - Fixed speed expression not working as expected (closes #115)
- Updated WorldGuard (relates #108 )
- Fixed authors in plugin.yml, which also allows detecting if Skript is using my fork (relates #120)
- Added support for soft exceptions, as config option (closes #120)
- Added expression for entitys glowing state (closes #91)
Expressions:
toggle
now supports 1.8 doors, iron trapdoor and fence gates
walking/flying speed
now supports adding, removing and reseting it
Glowing: glowing [of entities]
; can be set and reseted
1.10 Support
- Skript is now built against SpigotAPI 1.10 (relates to #104)
- Added polar bears and strays; husks are not yet here (closes #107)
- Added experimental (read: unstable) support for Residence regions (closes #99 and #83)
- Added few new messages under "commands" in language files (closes #101)
- Added/fixed inventory click events
- Added example script for inventory clicks,
equip anything.sk
(added to new Skript installations, and available here
Expressions:
Cursor Slot: cursor slot of %player%
Event Slot: event-slot
Events:
Inventory Click: [player] inventory(-| )click[ing] [[at] %itemtypes%]
This release was late, I must admit. To compensate this, I included few features that I have no use myself (like Residence support). Please report any bugs you find :)
Bug fix release
First, dev16b with inventory click events is coming soon. The code is there, but I didn't manage to fix all bugs - please don't use it yet. Anyway, I think there are few other much needed updates...
- Fixed a bug which caused removing items from players' inventories mess with off hand
- Fixed right clicking horse sometimes bypassing event handling
- Fixed Skript's built-in Java functions not working at all since dev15
- Added EffectLib as effect backend (optional, automatically used if available)
- Added upper/lower case string expression
Expressions:
Upper/lower Case Text: %string% in (0¦upper|1¦lower) case"
, "capitalized %string%
Skript Structure parser
- Reworked parser and function validation system to properly support calling function before defining it
- Function calls are now always allowed before definitions of the functions - configuration option doesn't do anything or appear in new Skript installations
- Commands defined by scripts are now registered to Skript's namespace, not Bukkit's (you can use /skript:cmd as /cmd), thanks to @RoyCurtis
- Spigot 1.9.4 is now officially supported, and updating to it is recommended
- Fixed a bug with click events (clicking a sign)
Note that function parser is kinda experimental at this point. It might need some more bug fixes...