PortalsPlugin

public class PortalsPlugin extends JavaPlugin

The main plugin class for Portals. This plugin provides gameplay features for the Hytale server. Extend this class to create a plugin.

java.lang.Object > JavaPlugin > PortalsPlugin

Field Summary

worlds

final Collection worlds

Field worlds.

portalConfig

final PortalGameplayConfig portalConfig

Field portalConfig.

Method Detail

getInstance

static PortalsPlugin getInstance ()

Method getInstance.

PortalsPlugin

public public PortalsPlugin (@Nonnull final JavaPluginInit init)

Method PortalsPlugin.

Parameters:
@Nonnull final JavaPluginInit init

setup

protected void setup ()

Method setup.

PortalInvalidDestinationSystem

public new PortalInvalidDestinationSystem ()

Method PortalInvalidDestinationSystem.

DiedInPortalSystem

public new DiedInPortalSystem ()

Method DiedInPortalSystem.

CurseItemDropsSystem

public new CurseItemDropsSystem ()

Method CurseItemDropsSystem.

DeleteCursedItemsOnSpawnSystem

public new DeleteCursedItemsOnSpawnSystem ()

Method DeleteCursedItemsOnSpawnSystem.

VoidEventRefSystem

public new VoidEventRefSystem ()

Method VoidEventRefSystem.

VoidInvasionPortalsSpawnSystem

public new VoidInvasionPortalsSpawnSystem ()

Method VoidInvasionPortalsSpawnSystem.

StartVoidEventInFragmentSystem

public new StartVoidEventInFragmentSystem ()

Method StartVoidEventInFragmentSystem.

VoidEventStagesSystem

public new VoidEventStagesSystem ()

Method VoidEventStagesSystem.

LeaveCommand

public new LeaveCommand ()

Method LeaveCommand.

CursedHeldItemCommand

public new CursedHeldItemCommand ()

Method CursedHeldItemCommand.

VoidEventCommands

public new VoidEventCommands ()

Method VoidEventCommands.

FragmentCommands

public new FragmentCommands ()

Method FragmentCommands.

turnOffPortalWhenWorldRemoved

private void turnOffPortalWhenWorldRemoved (final RemoveWorldEvent event)

Method turnOffPortalWhenWorldRemoved.

Parameters:
final RemoveWorldEvent event

countActiveFragments

public int countActiveFragments ()

Method countActiveFragments.

getPortalResourceType

public PortalWorld> getPortalResourceType ()

Method getPortalResourceType.

getPortalDeviceComponentType

public PortalDevice> getPortalDeviceComponentType ()

Method getPortalDeviceComponentType.

getVoidEventComponentType

public VoidEvent> getVoidEventComponentType ()

Method getVoidEventComponentType.

getVoidPortalComponentType

public VoidSpawner> getVoidPortalComponentType ()

Method getVoidPortalComponentType.