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
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
Method turnOffPortalWhenWorldRemoved.
- Parameters:
final RemoveWorldEventevent
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.