{ "info": { "author": "Josh Gachnang", "author_email": "Josh@ServerCobra.com", "bugtrack_url": null, "classifiers": [], "description": "==========\nPyRedstone\n==========\n\nCopyright 2012, Josh Gachnang, Josh@ServerCobra.com.\n\nPyRedstone is a Minecraft server wrapper for both vanilla and CraftBukkit servers. It allows you to start/stop the server, manage players, run all in game commands, manage settings and logs, manage CraftBukkit plugins, and a lot more.\nPyRedstone also includes a remote API server based on CherryPy that accepts and returns JSON. A reference implementation of a client is included.\nThe code can be found on `GitHub `_. All issues and pull requests are welcome!\n\nRequirements\n============\nPyRedstone requires Python 2.7. It has only been tested on Ubuntu, specifically Ubuntu Server 12.04 x64. Additional testing is welcome, and all bugs will be considered. The only Python 2.7 features it relies on are logging.config.dictConfig and OrderedDict.\nYou must also have Tmux installed. To install it (on Ubuntu), run::\n sudo apt-get update\n sudo apt-get install -y tmux\n\nPyRedstone also relies on the following Python packages:\n\n* cherrypy\n\n* nbt\n\n* MAGPlus\n\npyredstone.py\n=============\nPyRedstone can be run from the commandline like so::\n\n python pyredstone.py --config /path/to/config COMMAND ARG1 ARG2...\n\nI have also included a file called redstone.py, which provides the same functionality, but is installed to the /usr/bin, so you can run it from anywhere like so::\n\n redstone.py --config /path/to/config COMMAND ARG1 ARG2...\n\nserver.py\n=========\nThe server can be started from the commandline or an init script. A sample init script is include in the package and on Github::\n\n python server.py --config /path/to/config\n\n**Note** The server will attempt to write a PID file to /var/run/pyredstone. The directory must exist and be writable by the user starting the server (root if started by init script).\n\nThe server accepts JSON in the following format::\n\n {\"username\": \"USERNAME\", \"auth_token\": \"TOKEN\", \"action\": \"ACTION\", \"args\": {\"arg1\": \"ARG\", \"args\": \"ARG\"}}\n\n**Note** Username and auth_token are not implemented yet. They will likely be saved in the config file.\n\nConfig File\n===========\nThe config file is a standard, INI style config file. An example is included called example.cfg. The format should be as follows::\n\n [ServerName]\n session_name = troydoesntknow\n minecraft_dir = /home/josh/minecraft/\n server_jar = minecraft.jar\n backup_dir = /tmp\n mapper = overviewer\n memory_min = 512\n memory_max = 1024\n java_args = -XX:+AggressiveOpts\n debug = False\n stable_releases = False\n\nThe variables are:\n\n* session_name: The name of the Tmux session that will be used.\n\n* minecraft_dir: The path to the directory containing *server_jar* and server.properties.\n\n* server_jar: The name of the actual Minecraft server jar. The vanilla server is usually minecraft.jar, while CraftBukkit is usually craftbukkit.jar.\n\n* backup_dir: Where to put backup files. Not currently used.\n\n* mapper: The mapper software. Not currently used.\n\n* memory_min: Starting memory to be used by the server in megabytes.\n\n* memory_max: Maximum memory to be used by the server in megabytes.\n\n* java_args: Additional java_args to be executed when starting the server.\n\n* debug: Changes the level of output. True will print all debug messages. False will hide info and debug levels from the console, but still log to the files.\n\nUbuntu Startup Scripts\n======\n\nbin/init.d/minecraft\n---------\nA standard init wrapper around PyRedstone. It gives the standard '/etc/init.d/minecraft start' interface for services. Acceptable commands are start, stop, restart, update, backup, status, and command. You need to customize USERNAME and CONFIG variables.\n\nbin/init.d/redstone_server\n---------------\nThe redstone_server is an init wrapper for server.py. It allows you to start and stop server.py with the server. Acceptable commands are start, stop, restart, and status. You need to customize the USERNAME and CONFIG variables.\n\nChanges\n======\n* v0.2.0, 08/10/2012 -- Adding support for Minecraft 1.3, added server_stats, added lots of debugging, improved server for batch requests. \n* v0.1.2, 07/15/2012 -- Adding ability to update.\n* v0.0.2, 07/10/2012 -- Initial release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/PyRedstone/", "keywords": null, "license": "GPLv2", "maintainer": null, "maintainer_email": null, "name": "PyRedstone", "package_url": "https://pypi.org/project/PyRedstone/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/PyRedstone/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/PyRedstone/" }, "release_url": "https://pypi.org/project/PyRedstone/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "A Minecraft server wrapper and remote API", "version": "0.2.0" }, "last_serial": 785359, "releases": { "0.0.10": [ { "comment_text": "", "digests": { "md5": "23129790cda52739c00a8ab7f529bbe7", "sha256": "b3e175732f24ee6021a1d71ea33e26ae7264ccc0645082f43ce9d99a733c42ba" }, "downloads": -1, "filename": "PyRedstone-0.0.10.tar.gz", "has_sig": false, "md5_digest": "23129790cda52739c00a8ab7f529bbe7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29189, "upload_time": "2012-07-12T08:45:08", "url": "https://files.pythonhosted.org/packages/6e/eb/823e805452aeae7aeed0fb0032bcbbfbca0eb7b9e89fe55f62a945d109c1/PyRedstone-0.0.10.tar.gz" } ], "0.0.10.1": [ { "comment_text": "", "digests": { "md5": "89e1c5d29434fd8260c10ab6ee55556f", "sha256": "023e73ba39db924623dfcdc14cdfd801c3aaa9d5399ef1136adb201582e75fec" }, "downloads": -1, "filename": "PyRedstone-0.0.10.1.tar.gz", "has_sig": false, "md5_digest": "89e1c5d29434fd8260c10ab6ee55556f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29366, "upload_time": "2012-07-12T08:48:30", "url": "https://files.pythonhosted.org/packages/b8/4b/342551d005d1dce57cd596a0ee72a44f646a431dc44f9926fa4e11d7a371/PyRedstone-0.0.10.1.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "0ef9fd4ef4ea6a7cf50b8d03f459dd49", "sha256": "787c14534fa9beb5febef799205a107b3861978b338e06e6b8e8f505ca063efb" }, "downloads": -1, "filename": "PyRedstone-0.0.9.tar.gz", "has_sig": false, "md5_digest": "0ef9fd4ef4ea6a7cf50b8d03f459dd49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28582, "upload_time": "2012-07-12T08:29:19", "url": "https://files.pythonhosted.org/packages/4a/6c/9d242f01536b72f4156c51239e6e85e7709e5a053900314b68d54668dc23/PyRedstone-0.0.9.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "6f4d6080f629508305a8817119db34e2", "sha256": "bb55a9841e3c9c4080bcec0481558aa53894e157c9a4a41851a514ecb1a5886f" }, "downloads": -1, "filename": "PyRedstone-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6f4d6080f629508305a8817119db34e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29410, "upload_time": "2012-07-12T09:15:12", "url": "https://files.pythonhosted.org/packages/fd/53/6932ea749c52ff05fc5985ca191aa84cc35466f8635e0f76cc52851bb340/PyRedstone-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f499938d546d804366471105158e5619", "sha256": "071fbda80de6e899880491a153b6fdd09bc91e3fafc108478f58b3928a2ad81f" }, "downloads": -1, "filename": "PyRedstone-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f499938d546d804366471105158e5619", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33163, "upload_time": "2012-08-10T20:30:35", "url": "https://files.pythonhosted.org/packages/3f/46/00a48a4b168812d45c136aaef320b88e8e0c1bd1b4f71c3d3b276b55fe57/PyRedstone-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f499938d546d804366471105158e5619", "sha256": "071fbda80de6e899880491a153b6fdd09bc91e3fafc108478f58b3928a2ad81f" }, "downloads": -1, "filename": "PyRedstone-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f499938d546d804366471105158e5619", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33163, "upload_time": "2012-08-10T20:30:35", "url": "https://files.pythonhosted.org/packages/3f/46/00a48a4b168812d45c136aaef320b88e8e0c1bd1b4f71c3d3b276b55fe57/PyRedstone-0.2.0.tar.gz" } ] }