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
- Install JsMacros Reloaded.
- Drop JsMacros Ruby into your
mods/folder — exactly like any other Fabric mod. (No more hunting for aconfig/jsMacros/Extensions/folder.) - Write macros as
.rbfiles. 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.
