Luafy

Luafy

Mod

Adding the Lua Scripting language to datapacks

Server Game MechanicsLibraryManagementOptimizationUtility

338 downloads
16 followers
Follow Save
Filter loader...
Filter versions...
Filter channels...

Luafy 0.3.0

Woo, first major update! I've chosen to start releasing this a "release" instead of a beta ; I feel the mod is stable, through all my time testing this I've yet to have a crash.

Changelog

Please see the updated documentation

Additions

  • Added ContextApi for providing and obtaining context
  • Added "LuaObjects" (the wiki explains this)
  • Added optional 'context' parameter to /lua
  • Added callback scripts
  • Added about a million* new functions and stuff
  • Added the ability to convert NBT Lists to Lua and vice versa
  • Added a bunch of new conversions to fix some bugs

*not really, but there's alot

Changes

  • Refactored, well, like everything
  • Removed Her- erm, I mean Luabrine
  • Fixed the version compatibilities within Fabric (and on Modrinth). Whoops!

Bug Fixes

  • Fixed a couple bad conversions between NBT/Lua

Upcoming features

  • Sandboxing! This is a huge priority. It will more than likely be in the next update.
  • Split Luafy functions into APIs

    • Full documentation coming soon, stay tuned
  • Added direct serialization/deserialization to data storage

  • Added CommandApi

  • Added StorageApi

  • Added ServerApi

Initial Release!

  • Lua function command() now returns the value returned by the command it executes

Project members

DiamondDev

Member

Details

Licensed CC-BY-NC-4.0
Published a year ago
Updated a year ago