How to create plugins

From Endrov

Before starting here, I suggest you have a working environment (you have Eclipse or equivalent, and can build everything) and the source downloaded.

A plugin is stored entirely in evplugin/NAMEOFPLUGIN/*. You need to fill in PLUGIN.java which tells the name of the plugin and which classes to load. These specified classes has:

public static void initPlugin() {} //Just a formality
static
{
//Interesting code here
}

What has to be written there is highly plugin type-specific, look at an existing plugin.