Autokey

Autokey

Simple, client side scripting for Minecraft.

by
2.9K Downloads
fabricgame-mechanicsutility
Rent Server with this Mod

Screenshots

Menu
Farm builder loop
Calculator
Script settings

About this Mod

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

Available Versions

autokey 1.1.2+1.20.6beta
MC 1.20.6fabric
May 24, 2024
autokey 1.1.2+1.20.5beta
MC 1.20.5fabric
April 28, 2024
autokey 1.1.2+1.20.4beta
MC 1.20.4fabric
December 16, 2023
autokey 1.1.2+1.20.1beta
MC 1.20.1fabric
November 18, 2023
autokey 1.1.2+1.20.2beta
MC 1.20.2fabric
November 18, 2023

How to Install Autokey on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.6).

3

Install Mod

Open the mod browser in the dashboard and search for "Autokey". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.6, 1.20.5, 1.20.4 (+7 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Autokey server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.

Is Autokey compatible with fabric?

Autokey officially supports fabric for Minecraft 1.20.6, 1.20.5, 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Autokey – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Autokey consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Autokey with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

1.20.61.20.51.20.41.20.21.20.11.19.21.19.11.191.18.21.17.1