Skip to content

Second Beta [1.0.0-beta2]

Pre-release
Pre-release

Choose a tag to compare

@ShaneBeee ShaneBeee released this 01 Feb 15:07
· 511 commits to master since this release

A second beta of HySkript has arrived.
This beta brings a slew of bug fixes and some new stuff to play around with.

Big thanks to @ChicknTurtle for all the help finding so many bugs.

Our docs can be found on the Wiki

Warning

This is a beta release and most likely will contain bugs
Please DO NOT use on a production server
If you find an issue, please report it in our Issue Tracker

Important

This release was built on Hytale Pre-Release version 2026.01.29-301e13929

Happy HySkripting!

🛠️ THIS UPDATE 🧑🏼‍🍳:

ADDED:

  • Added a serializer for the Location type.
  • Added an expression to get/set the BlockType of a block
  • Added a condition for player crouching
  • Added expression to get/set fluid/fluid levels of a block
  • Added an expression to get the target block of a player
  • Added an expression to get the target entity of another entity/player
  • Added some expressions for itemstacks in inventories
  • Added some comparators so you can check if an Inventory/ItemContainer contains an Item/ItemStack
  • Added some converters (Item <-> BlockType) to fix issues with saving Items in vars and it actually defaulting to a BlockType
  • Added effect/section to drop items
  • Added a condition to check if an Inventory/ItemContainer can hold an ItemStack
  • Added effect commands:
    • You will need to delete your config.sk to let it regenerate to get the options (I still need to figure out how to write to config at runtime)
    • The allow-ops thing is currently broken, hopefully I'll figure that out some day
    • Currently only work in chat (gotta figure out console)

CHANGED:

  • Changed the BlockType at location/vector3i expression to support setting blocks
  • Changed location of expression to include block locations
  • Player Break Block event context-value changes:
    • item-in-hand now returns an Item (previously ItemStack)
    • itemstack-in-hand returns an ItemStack

FIXED:

  • Fixed an issue with context-values and their inaccurate pattern matching
  • Fixed an error when loading an empty script (throwing some fun errors)
  • Fixed primitive values saving to variable file as strings
  • Fixed stack trace errors being thrown when non-serializable objects are attempting to save to file
  • Fixed functions not properly registering and therefor throwing errors when attempting to call them
  • Fixed errors when using arithmetic operators
  • Fixed some number comparisons
  • Fixed an issue when stringifying empty variables
  • Fixed an issue when using location expression within another expression (name block block at)
  • Fixed a StackTraceError when looping a list of literals
  • Fixed comparison issues between BlockTypes (seemed to be more so when using a custom BlockType)

INTERNAL:

  • Types have been split up into several classes for better organization
  • Added a Json doc printer (for future docs of our wiki)