Releases: SkriptLang/Skript
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...
And more bug fixes...
- Fixed a bug with functions (post validation, again)
- Fixed a bug with WorldGuard support (issue #74)
Bug fixes
Skript Timings!
- Fixed functions not always working as expected with "allow function calls before definations" config option
- Added (experimental) Skript timings
Timings?
You can now log how much time your scripts take when using events. Use /sk timings start
to start the timing, then /sk timing stop
to stop it. You'll get timings-X.log
file in Skript's directory root.
As said, it might not work in all cases. For example, it takes some RAM while in use and probably crashes the server if you don't have enough. Also, parsing big enough timing report will take some time, which might freeze your server...
Please report any bugs you find :) This was not easy feature to create, but I think it will be worth it. Now when this is over, I'll probably try to fix some reported bugs...
Edit: Memory leak found. Be careful with timings...
Some fixes for clicks
- Fixed a bug with eye of ender click handling
- Fixed a bug that made click events not work with food when eating was not possible (not hungry)
Just a quick fix, nothing critical here.
You want to ignore those errors and just make it run?
- Added config option "addon safety checks", which defaults to false and is not present unless you manually add it; enables additional checks here and there to remove null classes...
Warning: If this option fixes your problems, something is wrong with your addons and/or Skript. Please open ticket here and on addons' issue tracker once you know which addon was causing problems.
Unbreakable tools? Yes!
- Fixed looping players with delay (wait X seconds/ticks)
- Added support for mount events (for testing!)
- Added unbreakable item expression
Events:
Mount: mount[ing]
Dismount: dismount[ing]
Expression vehicle
should work with both of them.
Expressions:
Unbreakable items: unbreakable %itemtypes%
As always, please report any bugs you notice there :)