Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

A project for deployment of minecraft game.

Project description


A tool for deploying minecraft client and server

Only supports Python >=2.7, <4

Requires JDK 1.8 to be configured, not higher than this version, becuase forge cannot run on higher jdk versions such as 1.12!

Introduction Video on YouTube(Need VPN in China)

Supported Minecraft Client Version

  • supports versions of client >= 1.13

  • you should make sure the version of the minecraft server that you will connect to is the same as that of the client.

  • This Program has been uploaded into PyPI

Supported Operating System

  • mainly for MacOS.
  • Maybe can run on windows, as a backup schema, not yet test on windows platform.


orzmc -h to check the help info

$ orzmc -h


        orzmc -- A command line tool for start minecraft client or deploy minecraft server


        orzmc [-v client_version_number] [-u username] [-h]

            -s, --server
                deploy minecraft server, if there is no this flag, this command line tool start minecraft as default

            -v, --version  
                Specified the Minecraft clinet version number to start

            -u, --username 
                pick an username for player when start the client

            -t, --game_type
                Specified the type of game: "pure"/"spigot"/"forge" for server, "pure/forge" for client, default 'pure'

            -m, --mem_min
                Specified the JVM initial memory allocation

            -x, --mem_max
                Specified the JVM max memory allocation

            -V, --Verbose
                Output some debug info for bugfix

            -h, --help 
                show the command usage info

Run Client

run the pure client normally with latest version and default username

$ pip install orzmc
$ orzmc



if you know the client version and your username

$ pip install orzmc
$ orzmc -v 1.13.2 -u player_name

you can also runt the forge client

$ pip install orzmc
$ orzmc -t forge



Deploy Server

use default setting to deploy the pure server

default set jvm initial memory alloc 128M, and max memory alloc 2G

$ pip install orzmc
$ orzmc -s

you can specify the initial memory and max memory alloced for the jvm with options -s and -x to run the minecraft server

$ pip install orzmc
$ orzmc -s -m 512M -x 2G -v 1.13.2

you can also deploy the spigot/forge minecraft server with option -t

Spigot Server

you should installed jre and git tools before you run commands below.

$ pip install orzmc
$ orzmc -s -t spigot -m 512M -x 1G -v 1.13.2

Forge Server

$ pip install orzmc
$ orzmc -s -t forge -m 512M -x 1G -v 1.13.2

由于Forge包是用JDK 8编译的,所以建安装的JDK环境为JDK8系统,不要太高,目前不兼容,会出现无法部署Forge服务器的情况。

The game resources are saved under user's home directory, and named .minecraft


This is not a game for one player, so you should invit someone you like to make you guys own beautiful world!!!


  • [ ] fire an weixin public account and group for uses get newest information and communicate with each other
  • [ ] implement RCON Protocol for remote control Minecraft Server
  • [ ] add world backup function
  • [ ] refine the project script for readable
  • [ ] automation the process of installing JDK/JRE Runtime
  • [ ] add some unit test case to guarantee quality
  • [ ] create a Docker Mojang Mirror Server for personal CDN

Done List

  • [x] add Spigot Server deploy option
  • [x] add a homepage for this project
  • [x] support forge client and server on MacOS, Yep!!!🤪







安装服务器网速测试工具speedtest-cli, 并测速:

$ pip install speedtest-cli
$ speedtest-cli

将得到的上下行网速填入下面网址对应页面的区域时, 并将服务器的内存大小也填入, 开始计算即可


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
OrzMC-1.0.24-py2.py3-none-any.whl (21.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3
OrzMC-1.0.24.tar.gz (14.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page