Skip to content

Releases: SkriptLang/Skript

Pull Requests Merged

08 Feb 14:39
Compare
Choose a tag to compare
Pull Requests Merged Pre-release
Pre-release

There was no significant features added by me. However, some pull requests were merged.

  • Tried to use Travis CI, in the end it couldn't compile Skript...
  • Added possibility to replace items in inventories (thanks @Tuke-Nuke)
  • Added expression for specific inventory slot (thanks @Tuke-Nuke)
  • Added expression to get currently open inventory (thanks @Tuke-Nuke)
  • Added support for entity UUIDs (thanks @Tuke-Nuke)
  • Added expression to get an amount of item (thanks @Syst3ms)
  • Added possibility to spawn baby polar bears (closes #355)
  • Added enchantment Sweeping Edge (closes #366)
  • Fixed a critical bug with growth event
  • Re-added old plant growth event as an option
  • Fixed a typo in word expression (thanks @TheLimeGlass)
  • Fixed a potential exception in open inventory expression (thanks @Tuke-Nuke)
  • Fixed entities expression assuming an entity where there wasn't one (closes #326)
  • Fixed a potential NullPointerException (closes #319)
  • Fixed a typo with experience orb display name (closes #320)
  • Fixed a potential NullPointerException in WorldGuard hook (closes #280)
  • Fixed equipping saddles on all horse types (closes #377)
  • Removed new parser for now
  • Removed a debug message (closes #337)

Can we call it stable release?

10 Jan 14:58
Compare
Choose a tag to compare
Pre-release

Nope. But it is probably the most stable release since good old dev20.

  • Added safeguard against broken offline player UUIDs (closes #303)
  • Added player to PrepareItemCraftEvent (closes #323)
  • Possibly fixed a crash with WorldGuard (closes #280)
  • Changed updater to initialize GSON as late as possible since some people like to run ancient Spigot versions (closes #328)
  • Removed trades from Skript-spawned nitwits (#311)

This all needed to go with very little testing, since I'm very busy. But I also did not add anything significant, just fixed/enhanced existing stuff.

Entity Fixes

22 Dec 12:23
Compare
Choose a tag to compare
Entity Fixes Pre-release
Pre-release

I'm not going to go for dev23 until vectors are ready, but some things really needed fixing now.

  • Updated Residence (closes #307)
  • Potentially fixed potential NullPointerException (relates #302)
  • Fixed entity types not working reliably on 1.11 (closes #292) and generally improved entity type handling

Entities on 1.11
Guardians: normal guardian, elder guardian == guardian (supertype)
Skeletons: wither skeleton, stray, skeleton (also matches wither skele and stray) == skeleton (supertype)
Horses: donkey, mule, llama, undead horse, skeleton horse, horse (which is normal and only normal horse) == any horse (supertype)
Chested horses: donkey, mule, llama == chested horse (supertype)

It is worth noting that you can't refer to horse in event which involves any horse. If you do, it will be none if the event was triggered by donkey, mule, llama, undead horse or skeleton horse. Instead, use entity (or victim etc.).

And more fixes

06 Dec 19:11
Compare
Choose a tag to compare
And more fixes Pre-release
Pre-release

Smallish fix release; comes with old parser only, still.

  • Removed some debug messages (closes #270)
  • Fixed date function using local timezone in place of UTC internally, and thus returning wrong values (closes #262)
  • Added cramming damage type and cursed enchantments
  • Updated aliases, thanks @tim740

dev22f: More fixes, and few pull requests added

  • Added parsing player/offline player using UUID (pull request by @Tuke-Nuke)
  • Added any mutton and any rabbit to aliases (thanks @RoyCurtis)
  • Fixed clicked entity not working (#273)

1.11 is here!

04 Dec 12:30
Compare
Choose a tag to compare
1.11 is here! Pre-release
Pre-release

The old parser is back, for now. Here is (hopefully) complete change log since dev20b:

  • Added a new parser, as alternative for old one. It needs separate jar file, which will become available as soon as I have time to debug a lot.
  • Added 1.11 support (quite a lot changes) which includes most of new entities etc.
  • Updated from Java 6 to Java 8 (also updated ECJ)
  • Added Maven repository (see README.md)
  • Added expression to toggle gravity for entities
  • Added gliding-related events (experimental)
  • Added basic area effect cloud support
  • Added husk and zombie villager support (1.11+)
  • Started working on vector support...
  • Fixed timings on Windows platform
  • Fixed docs not being exported with UTF-8 encoding on my Windows laptop
  • Fixed an error with ip expression which occurred when player's ip address is not available

I fully expect this build to be quite stable, but as always, something unexpected might happen.

Note: To compile yourself with old parser, you need to execute oldparser.sh with bash. Do not touch anything while it compiles and make sure no program holds lock on Skript's source directory.

dev23d: Fixed debug message spam (closes #265)

Some fixes

27 Nov 13:02
Compare
Choose a tag to compare
Some fixes Pre-release
Pre-release

Note: These fixes address issues that people had with Skript and no addons installed.

  • Fixed a bug which prevented using if statement for variable values (oops)
  • Fixed a bug with list variables (again)
  • Fixed 1.8 compatibility (closes #246)

1.11 fixes

24 Nov 19:11
Compare
Choose a tag to compare
1.11 fixes Pre-release
Pre-release
  • Fixed (hopefully) some list and function call bugs
  • Added husk and zombie villagers
  • Added llama (and spit), but still buggy
  • Added evoker, evoker fangs, vex and vindicator
  • Added nitwit
  • Fixed skeleton types for 1.11
  • Fixed horses on 1.11
  • Fixed villager spawning on 1.10+

I do not recommend using addons with this release. I will also not accept bug reports if addons were used, since issues with addon compatibility have been already reported. Fix will come ASAP, but I have no ETA yet, sadly.

Bug reports, please!

17 Nov 12:31
Compare
Choose a tag to compare
Bug reports, please! Pre-release
Pre-release

Edit: There is serious issue with lists and multi-parameter functions. I am debugging, but it is not easy to fix. If you manage to find a solution, please message me.

So, here's a new build. While I think there are still issues, I have fixed some (most?) of what you have reported. This is still mainly for testing and does not support 1.11 features (but runs on 1.11 server... just fine?).

  • Added Skript to my DIY Maven repository
  • Fixed ConcurrentModificationException (well, at least one possible cause)
  • Fixed and overhauled logging few more times, still needs a bit work
  • Fixed NullPointerException in ip expression (closes #233)
  • Fixed error in offline player resolver being not useful for me (relates #237)
  • Fixed compiling and running on Spigot 1.11

Known issue: Reloading individual scripts doesn't work; you'll have to reload them all.

One little hotfix...

02 Nov 19:18
Compare
Choose a tag to compare
One little hotfix... Pre-release
Pre-release
  • Fixed some expressions that required to be used from certain events not working (attacker, message, etc)

Still considered unstable, but one less problem.

Parser Preview

01 Nov 14:36
Compare
Choose a tag to compare
Parser Preview Pre-release
Pre-release

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.