Klasse PartyManager

java.lang.Object
de.simonsator.partyandfriends.spigot.api.party.PartyManager
Alle implementierten Schnittstellen:
de.simonsator.partyandfriends.spigot.utilities.disable.Deactivated

public abstract class PartyManager extends Object implements de.simonsator.partyandfriends.spigot.utilities.disable.Deactivated
Manages the parties. From here you can get a PlayerParty.
Autor:
Simonsator
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Returns an instance of this class, which was created during the startup of the server
    abstract PlayerParty
    getParty(de.simonsator.partyandfriends.spigot.api.pafplayers.PAFPlayer pPlayer)
    Returns null if the player is not in a party.

    Von Klasse geerbte Methoden java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von Schnittstelle geerbte Methoden de.simonsator.partyandfriends.spigot.utilities.disable.Deactivated

    onDisable
  • Methodendetails

    • getInstance

      public static PartyManager getInstance()
      Returns an instance of this class, which was created during the startup of the server
      Gibt zurück:
      Returns an instance of this class, which was created during the startup of the server
    • getParty

      public abstract PlayerParty getParty(de.simonsator.partyandfriends.spigot.api.pafplayers.PAFPlayer pPlayer)
      Returns null if the player is not in a party. If the player is in a party (either as the leader or as a party member), then this function returns a PlayerParty representing the party.
      Parameter:
      pPlayer - The player who might be in a party
      Gibt zurück:
      Returns null if the player is not in a party. If the player is in a party (either as the leader or as a party member), then this function returns a PlayerParty representing the party.