
Autokey
Simple, client side scripting for Minecraft.
Screenshots




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
GUI
Example projects
Chat calculator

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

Available Versions
How to Install Autokey on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.6).
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
Minecraft Versions
1.20.6, 1.20.5, 1.20.4 (+7 more)
Server-side
✗ UnsupportedRecommended 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.
Similar Mods
Rent Modded Server
Install Autokey with just one click on your server.