TARDIS

A Bukkit plugin for all Doctor Who fans — create and use a TARDIS! It’s bigger on the inside!

View the Project on GitHub eccentricdevotion/TARDIS

TARDIS API

The TARDIS plugin now includes a publically accessible API for plugin developers to use.

As of TARDIS v3.2-beta-1 the API can be accessed in your plugin like so:

public class ExamplePlugin extends JavaPlugin {

    private TardisAPI tardisAPI;
    private TARDIS tardis;

    @Override
    public void onEnable() {
        PluginManager pm = getServer().getPluginManager();
        // Get TARDIS
        Plugin p = pm.getPlugin("TARDIS");
        if (p == null) {
            System.err.println("Cannot find TARDIS!");
            pm.disablePlugin(this);
            return;
        }
        tardis = (TARDIS) p;
        // get the API
        tardisAPI = tardis.getTardisAPI();
    }
    
    public TardisAPI getTardisAPI() {
        return tardisAPI;
    }
}

You can auto-generate a plugin that hooks into the TARDIS API at the Bukkit plugin starter page. Make sure to select the TARDIS API checkbox.

The Java Doc for the API is available here: TARDIS API docs

An extensive working example plugin can be found here: TARDISVortexManipulator source code