JsMacros Ruby

JsMacros Ruby

Ruby support for JsMacros. Add .rb files to macros dir use Ruby. Runs under JRuby.

120 downloads
0 followers

JsMacros Ruby

Write your JsMacros macros in Ruby instead of JavaScript. Drop .rb files into your macros folder and they run under JRuby with the full JsMacros API.

Requirements

  • JsMacros Reloaded 2.0.0 or newer — required. This is a companion mod; it does nothing on its own.
  • Fabric, Minecraft 26.1.2+

Install

  1. Install JsMacros Reloaded.
  2. Drop JsMacros Ruby into your mods/ folder — exactly like any other Fabric mod. (No more hunting for a config/jsMacros/Extensions/ folder.)
  3. Write macros as .rb files. They're picked up automatically and bound to triggers like any JS macro.

Example

Chat.log("Hello from Ruby!")

# the full JsMacros API is available
player = Player.get_player
Chat.log "You are at #{player.get_x}, #{player.get_y}, #{player.get_z}"

Notes

  • JRuby is bundled into the mod (no separate Ruby install needed).
  • Open source — see the source link.

No gallery available for this project.