Skip to content
Tad Hardesty edited this page Jun 17, 2014 · 2 revisions

Welcome to the MiniPython wiki! MiniPython (name not final) is a simple, from-scratch replacement for PythonPluginLoader which is no longer being maintained.

To get started with MiniPython, download a recent version from BukkitDev (link pending) or compile it yourself and add it to your plugins directory. Python plugins (usually with extension .py or .pyp; see Packaging Plugins) in the plugin directory will then be loaded by the server.

For a simple example, see below; for more information on writing a plugin see Plugin Basics. For information on packaging your plugins for development or distribution see Packaging Plugins. For information on Jython's compatibility features between Java and Python, see Jython Features.

Example

This is all it takes to get a simple plugin up and running:

class Plugin(PythonPlugin):
    def onEnable(self):
        print "Hello from Python!"

For more information, see Plugin Basics.

Clone this wiki locally