Skip to main content

TBGeneral API

Basic Integration

TBGeneral plugin = (TBGeneral) Bukkit.getPluginManager().getPlugin("TBGeneral");

// Portal API
plugin.getPortalManager().createPortal(name, location, destination);

// World API
plugin.getWorldManager().createWorld(name, type);

// Texture API
plugin.getTextureManager().applyPack(player, packURL);

Dependencies:

<dependency>
<groupId>com.tbgeneral</groupId>
<artifactId>TBGeneral</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>

See API Overview for integration patterns.