Uses of Class
fr.prodrivers.bukkit.commons.sections.Section
Packages that use Section
Package
Description
-
Uses of Section in fr.prodrivers.bukkit.commons.events
Methods in fr.prodrivers.bukkit.commons.events that return SectionModifier and TypeMethodDescriptionPlayerChangeSectionEvent.getLeftSection()
Get the left section.PlayerChangeSectionEvent.getTargetSection()
Get the target section. -
Uses of Section in fr.prodrivers.bukkit.commons.hubs
Subclasses of Section in fr.prodrivers.bukkit.commons.hubsModifier and TypeClassDescriptionclass
Default implementation of main hub.class
Base class for Prodrivers Commons-managed main hub.Methods in fr.prodrivers.bukkit.commons.hubs with parameters of type SectionModifier and TypeMethodDescriptionboolean
DefaultMainHub.preJoin
(@NonNull org.bukkit.entity.Player player, Section targetSection, boolean fromParty) boolean
boolean
DefaultMainHub.preLeave
(@NonNull org.bukkit.OfflinePlayer player, Section targetSection, boolean fromParty) boolean
MainHub.preLeave
(@NonNull org.bukkit.OfflinePlayer player, Section targetSection, boolean fromParty) -
Uses of Section in fr.prodrivers.bukkit.commons.sections
Methods in fr.prodrivers.bukkit.commons.sections that return SectionModifier and TypeMethodDescriptionSectionManager.getCurrentSection
(org.bukkit.OfflinePlayer player) Get a player's current section instance@Nullable Section
Section.getParentSection()
Get section's parent section.SectionManager.getRootSection()
Get the root section instance.SectionManager.getSection
(String name) Get a section instance by its name.Methods in fr.prodrivers.bukkit.commons.sections that return types with arguments of type SectionModifier and TypeMethodDescription@NonNull Collection<Section>
Section.getChildSections()
Get section's child sections.SectionManager.getSections()
Get all registered sections.Methods in fr.prodrivers.bukkit.commons.sections with parameters of type SectionModifier and TypeMethodDescriptionprotected void
Section.addChildren
(@NonNull Section section) Adds a section as a child to this section.protected void
Adds a section as a parent to this section.boolean
Check if a section is a child to this section.abstract boolean
Section pre join callback, called to check whether the player should enter the section.abstract boolean
Section.preLeave
(@NonNull org.bukkit.OfflinePlayer player, Section targetSection, boolean fromParty) Section pre leave callback, called to check whether the player can leave the section.void
Register a new section instance against the Prodrivers Commons infrastructurevoid
Register a new section instance against the Prodrivers Commons infrastructureprotected void
Section.removeChildren
(@NonNull Section section) Removes a section as a child to this section. -
Uses of Section in fr.prodrivers.bukkit.commons.ui.section
Methods in fr.prodrivers.bukkit.commons.ui.section with parameters of type Section