Minescript

Minescript

Python scripting for Minecraft

by
54.1K Downloads
fabricforgeneoforgegame-mechanicstechnologyutility
Rent Server with this Mod

Screenshots

Minescript text logo with code background
Minescript logo wide

About this Mod

Minescript is a platform for controlling and interacting with Minecraft using scripts written in the Python programming language.

Before using Minescript, please review the Terms of Use.

Join the Minescript Discord Server for announcements and to engage with the Minescript community.

Check out Minescript documentation for details about commands and APIs.

Download Python scripts developed for use with Minescript.

Setup

  1. Download and install the Minescript mod for either Fabric (requires Fabric API) or Forge.

  2. Download and install Python 3 if you don't already have it: https://www.python.org/downloads/ (or from the Microsoft Store on Windows)

  3. Run Minecraft with the Minescript mod installed. The first time the Minescript mod runs, it will automatically create a minescript folder inside the minecraft folder.

  4. Create Python scripts in the minescript folder.

  5. Run Python scripts from the Minecraft in-game chat by entering backslash ("\") followed by the script name without the ".py" extension.

Minescript expects Python to be installed at the following location:

  • on Windows: %userprofile%\AppData\Local\Microsoft\WindowsApps\python3.exe
  • on Mac, Linux, etc: /usr/bin/python3

If Python is installed somewhere else on your system, you can point Minescript at it by changing the python variable in the file config.txt in the minescript folder.

Example

See this example script that demonstrates how to access the player's coordinates, read blocks at a given location, and create blocks like signs with custom text all from a Python script.

Compatibility
Tested on the following platforms:

  • Fabric, Forge, and NeoForge mod loaders
  • Python 3.7 through 3.10
  • macOS up to Sonoma
  • Linux (Pop!_OS, NixOS, Bazzite, and SteamOS)
  • Windows 10 and 11 (x86)

Available Versions

4.1 for Fabric 1.21.7release
MC 1.21.7fabric
July 1, 2025
4.1 for NeoForge 1.21.7release
MC 1.21.7neoforge
July 1, 2025
4.0 for Fabric 1.21.6release
MC 1.21.6fabric
June 21, 2025
4.0 for NeoForge 1.21.5release
MC 1.21.5neoforge
April 22, 2025
4.0 for Forge 1.21.5release
MC 1.21.5forge
April 22, 2025

How to Install Minescript 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 (26.1.2).

3

Install Mod

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

Compatibility

Mod Loaders

fabricforgeneoforge

Minecraft Versions

26.1.2, 26.1, 1.21.11 (+18 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Minescript 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 (26.1.2). You can switch loaders with one click in the panel.

Is Minescript compatible with fabric and forge and neoforge?

Minescript officially supports fabric, forge, neoforge for Minecraft 26.1.2, 26.1, 1.21.11. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Minescript – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Minescript 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 Minescript 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
GNU General Public License v3.0 only
Server-side
Unsupported

Supported Versions

26.1.226.11.21.111.21.101.21.81.21.71.21.61.21.51.21.41.21.3+11 more