benbaptist / minecraft-wrapper

A simple & intuitive Minecraft Server wrapper. Supports IRC, backups, a plugin system, and more.
http://wrapper.benbaptist.com/
Other
72 stars 20 forks source link
backup irc minecraft-server-wrapper minecraft-wrapper python wrapper

Outdated Repository

Wrapper.py has moved to a new repository. It features a total re-write, with better performance, Python 2.x and 3.x compatibility from the ground up, a new, sleek dashboard interface, and more.

This will remain online as an archived repository only.

An extremely huge thank-you to @suresttexas00 for maintaining the Wrapper.py project for so long! Wrapper would've been dead in the road long ago if it weren't for you.

Overview


Wrapper.py is an easy to use Minecraft server wrapper for adding extra functionality into the server without modifying the server jar file. It also comes with a relatively simple and straight-forward - yet powerful - plugin API that can be used to create Bukkit-like plugins with no server modding. The API works best when operated in proxy mode.

We also have a gitter channel: Join the chat at https://gitter.im/benbaptist/minecraft-wrapper

Wrapper.py Versions

NOTICE: Wrapper will Accept the minecraft server EULA on your behalf. 2

Features


Wrapper.py supports the following features:

Installation

Python Versions

Python 3.5 + is suggested, However...

Dependencies

Wrapper.py requires the following packages:

LINUX download and setup

Windows Download and setup

Start Up

You only need to download Wrapper.py. The '\wrapper' folder is the source code and is just the extracted version of Wrapper.py. Wrapper.py is a Python-executable archive folder containing the sourcecode.

To start Wrapper, open a console where the Wrapper.py or /wrapper sourcecode are located and type the following into the console to start:

python Wrapper.py|/wrapper [--passphrase 'passphrase'] The passphrase must be 8 or more characters in length!

Starting Wrapper.py for the first time...

Once wrapper has started:

Operating wrapper

Please read our Doc page for additional information and review the issues page before submitting bug reports.
If you run into any bugs, please do report them!

If you have questions, please use our Gitter page instead of creating an issue.

API

The references for the wrapper plugin API are here: Wrapper.py Plugin API

New Permissions System

A file in the wrapper root directory "superOPs.txt" now augments the "Ops.json" file. Operators in the ops.json file can be assigned a higher (wrapper) OP level. The contents of the file are laid out just like server.properties (lines of \<something>=\<value>).

Sample superops.txt:

Suresttexas00=5
BenBaptist=9

Higher op levels are required to run sensitive wrapper commands like /perms.

Plugins

The modern event list is updated with each build: Wrapper events 3

Check the 'example-plugins' and 'stable-plugins' folders to see some example plugins. These are very useful for seeing how the API functions.

Tip:

If you want to see more error messages and other useful messages while developing plugins or debugging wrapper, look for the logging.json file and make changes to the "console" section:

...
        "console": {
            "stream": "ext://sys.stdout",
            "formatter": "standard",
            "class": "logging.StreamHandler",
            "filters": [
                "plugin"
            ],
            "level": "INFO" <-- Set to DEBUG for more detailed output
        },
...



1 - The old stable branch "master", version 0.7.6, build 83 has now been archived in the "Original" branch. The original version only supports minecraft versions up to 1.8.

2 - Using wrapper means you also accept the EULA, which will be set to true in the eula.txt file in your server folder. Mojang EULA

3 - The original Event list (Wrapper version 0.7.6) - 0.7.6 Wrapper list of events