Skip to content

Wooo, JSON chat

Pre-release
Pre-release
Compare
Choose a tag to compare
@bensku bensku released this 06 Apr 18:34
· 3637 commits to master since this release

I added a lot of new features in this update. As always, there is change that something breaks... However, this has been quite stable for me.

  • Added Gradle license header plugin
  • Added boat type support (thanks @Tuke-Nuke)
  • Added a way to get last dropped item (thanks @Tuke-Nuke)
  • Added support for multiple passengers for vehicles (thanks @Tuke-Nuke)
  • Added support for event-direction in certain events (thanks @Tuke-Nuke, closes #67)
  • Added support for Minecraft 1.7+ JSON chat: run command, suggest command, tooltips
  • Added event value for block in block ignite event (thanks @TheLimeGlass)
  • Added a warning if some ridiculous function signatures are used (relates #452)
  • Added support for coloring potions and maps on Minecraft 1.11 (relates #203)
  • Added condition to check if entity is on ground (closes #226)
  • Fixed ip expression not working when used in connect event for event-player
  • Fixed an issue in docs of block form event (closes #427)
  • Fixed villager text representation (closes #403)
  • Fixed a bug with zero-argument functions
  • Fixed a bug where right click events would not be fired for certain items when holding a hoe if offhand
  • Updated Gradle wrapper used for building Skript
  • Reworked timings to use Aikar's Timings v2, for Paper (sorry, no normal Spigot support)
  • Improved appearance and usability of documentation a lot

Until I update the docs, here is how you can create links and other fun stuff in chat:

  • <link:url>visible link text<reset>
  • <command:command>clickable text<reset>
  • <suggest command:command>clickable text<reset>
  • <tooltip:tooltip text>visible text with tooltip<reset>

Edit: dev26b to fix severe problems when not running Paper

  • Fixed sending messages not working on Spigot (closes #465)
  • Fixed <none> in chat messages

Edit 2: dev26c to fix several other severe problems

  • Fixed variables with tooltip/link in chat (closes #467)
  • Fixed old one-character colour and formatting codes (closes #465)
  • Fixed ALL invalid tags (previously only <none> worked) in chat messages - they are now shown as-is

Edit 3: dev26d to fix formatting codes behaving strangely

  • Fixed formatting codes applying into wrong sections of text (closes #482)
  • Fixed sending only single variable to chat (closes #483)
  • Fixed expressions with embedded quotes (closes #485)

Known issue: Broadcast does not support JSON chat. A bit harder to fix than it seems, but will probably fixed in following weeks.