Autokey

Autokey

Simple, client side scripting for Minecraft.

3 268 downloads 40 followers

Autokey is a free and open-source fabric mod for Minecraft that aims to provide a simple and easy-to-understand scripting interface.

This mod allows you to write and use scripts or macros that can press keys, send chat messages, do calculations and much more!

📥 Installation

Just drop the mod and the Fabric API into your mods folder. Press B to open the main menu.

📝 Scripts

You can code your own scripts or download some from the snippets section of this project on GitLab.

Suggestions

Suggest features here.

GUI

Example projects

Chat calculator

demo_calc

Code:

parts = split(message, " ")

firstNumber = getArrayElementAt(parts, 1)
operator = getArrayElementAt(parts, 2)
secondNumber = getArrayElementAt(parts, 3)

result = "invalid"
if (operator == "+")
{
    result = parseDouble(firstNumber) + parseDouble(secondNumber)
}
if (operator == "-")
{
    result = parseDouble(firstNumber) - parseDouble(secondNumber)
}
if (operator == "*")
{
    result = parseDouble(firstNumber) * parseDouble(secondNumber)
}
if (operator == "/")
{
    result = parseDouble(firstNumber) / parseDouble(secondNumber)
}

print(firstNumber _ " " _ operator _ " " _ secondNumber _ " = " _ toString(result))

Sugar cane farm builder

demo_build

Version Minecraft Loader Download

autokey 1.1.2+1.20.6

1.1.2+1.20.6

1.20.6
fabric
Download

autokey 1.1.2+1.20.5

1.1.2+1.20.5

1.20.5
fabric
Download

autokey 1.1.2+1.20.4

1.1.2+1.20.4

1.20.4
fabric
Download

autokey 1.1.2+1.20.1

1.1.2+1.20.1

1.20.1
fabric
Download

autokey 1.1.2+1.20.2

1.1.2+1.20.2

1.20.2
fabric
Download

autokey 1.1.0+1.20.1

1.1.0+1.20.1

1.20.1
fabric
Download

Autokey 1.0.0+1.18.2

1.0.0+1.18.2

1.18.2
fabric
Download

Autokey 1.0.0+1.19.2

1.0.0+1.19.2

1.19.2
fabric
Download

Autokey 1.0.0+1.19

1.0.0+1.19

1.19
fabric
Download

Autokey

0.9.1+1.19.1

1.19.1
fabric
Download

Autokey

0.9.1+1.18.2

1.18.2
fabric
Download

Autokey

0.9.1+1.17.1

1.17.1
fabric
Download

Autokey

0.9.0+1.17.1

1.17.1
fabric
Download

Autokey

0.9.0+1.18.2

1.18.2
fabric
Download