Skip to content

Minescript

Python scripting for Minecraft

FabricNeoForgeForge
Loaders
FabricNeoForgeForge
Downloads on Modrinth
78.3K
Followers on Modrinth
137
versions
174
Updated
September 22, 2026Sep 22
Published
in 2023
Minescript text logo with code background · swipe

At a glance

Runs on Fabric, NeoForge and Forge
For Minecraft 1.21.10–26.1, 26.1.2–26.3 …
Client only — no need to install it on the server
Latest version — 5.0-fabric-26.3 from September 22, 2026
Requires Fabric API
License GPL-3.0-only — free
Where it's needed
In gamerequiredOn servernot needed

Install in the game only; not needed on the server

Game versions1.21.3–1.21.8, 1.21.10–26.1, 26.1.2–26.3 …

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)

FAQ

How to install Minescript?

Install Fabric for your Minecraft version, download Minescript for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Minescript support?

Minescript has builds for Minecraft 1.20.6–1.21.1, 1.21.3–1.21.8, 1.21.10–26.1, 26.1.2–26.3 ….

Is Minescript needed on the server?

Client only — no need to install it on the server

License and source
GNU General Public License v3.0 onlyfree to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More