Skip to content

Releases: SkriptLang/Skript

New event!

21 Mar 14:47

Choose a tag to compare

New event! Pre-release
Pre-release
  • Added plant growth event (for wheat, etc.)

Syntax: (plant|crop|block) grow[(th|ing)] [[of] %itemtypes%]
Note that the event does not contain actual block data. While I intend to fix that, of %itemtypes% syntax works, and %block at location% too.

Click events fixed

19 Mar 13:28

Choose a tag to compare

Click events fixed Pre-release
Pre-release
  • Reworked click event hand detection
  • Fixed oak doors not being considered as usable blocks
  • Fixed not being able to get event from non-usable item when clicking air
  • Fixed several ways to skip event handling (to open locked chests)

In the end, I really wonder why Bukkit AIR material is considered to be a block...

Edit: Re-release to remove debug messages. I forgot to recompile after removing them from source.

And more hotfixes

17 Mar 19:26

Choose a tag to compare

And more hotfixes Pre-release
Pre-release
  • Fixed a bug where you could skip click events on usable blocks by having block in main hand and sneaking

Hotfixing click events

17 Mar 07:15

Choose a tag to compare

Pre-release
  • Fixed click events on usable blocks not triggering with items in off hand

So, due to a schedule change I had time to do this now. Hopefully this fixes most serious problems at least :)

Close those issues!

16 Mar 19:30

Choose a tag to compare

Close those issues! Pre-release
Pre-release
  • Word "potion" now describes water bottles and ALL potions; you can use it to check if player is holding non-empty bottle
  • When adding items to players' inventories, full inventories no longer make items to go to armor slots
  • Added technical (code-level) support for ignoring item meta when comparing items

This will be last release until Friday, so if something was broken, please use previous build.

Potions, fixed again?

15 Mar 19:47

Choose a tag to compare

Potions, fixed again? Pre-release
Pre-release
  • Fixed potion compare ("tool of player is potion of instant health" etc.)
  • Potion text representation is bugged, but at least won't tell they're water bottles anymore
  • Added support for lingering and splash potions (see below for syntaxes)
  • Fixed nether portals not working...
  • Removed Minecraft 1.8 requirement for raw names

Syntaxes: [((regular|normal)|(strong|upgraded|level 2)|(extended|long)) ][((splash|exploding)|lingering) ] potion of %potioneffecttype%

Changes for dev7b:

  • Fixed dev7 breaking aliases (and kinda everything else)
  • Fixed giving water bottles giving errors

Still, BE CAREFUL with pre-releases. They might cause severe problems. This one was unlikely to damage your worlds, but who knows... Anything can happen, remember to take backups.

Bug fixes & raw Minecraft hacks

14 Mar 20:11

Choose a tag to compare

Pre-release
  • Added (hacky, unreliable) expression to get raw Minecraft name: (raw|minecraft|vanilla) name of %itemtypes%
  • Potion expression now supports reverse syntax: [((regular|normal)|(strong|upgraded|level 2)|(extended|long)) ] %potioneffecttype% potion
  • Potion expression now gives water bottle when "potion" is used without any additional data
  • General bug fixes

TODO: Rewrite ItemType, ItemData, etc. They operate with number ids, which means they're all horriable mess. That way, I can also make real raw name expression.

Potions, potions and more potions!

13 Mar 19:46

Choose a tag to compare

Pre-release
  • Fix potions for 1.9 (make sure you have latest Spigot - I did not and wondered why it didn't work...)
  • Click events are now thrown with the hand which client shows you are using when doing specific actions
  • Version number is now 2.2-Fixes-V10

Potion syntax: [((regular|normal)|(strong|upgraded|level 2)|(extended|long)) ] potion of %potioneffecttype%
Defaults to normal/regular. If you try to create malformed potions, Skript will spam the console with errors and won't produce any items.

Minor fix

12 Mar 12:54

Choose a tag to compare

Minor fix Pre-release
Pre-release
  • Fix horse type detection

And more fixes...

11 Mar 19:50

Choose a tag to compare

And more fixes... Pre-release
Pre-release
  • Fixed giving items to player deleting existing items
  • Fixed adding items to inventories ("add X to inventory") not working at all
  • Fixed region enter event spam (to get the name of region, wait 1 tick and use %region at location of player%

There might still be some problems with off hand item usability...