Class MythicParty
java.lang.Object
net.playavalon.mythicdungeons.player.party.partysystem.MythicParty
- All Implemented Interfaces:
IDungeonParty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlayer
(org.bukkit.entity.Player player) void
changeLeader
(org.bukkit.entity.Player leader) void
disband()
org.bukkit.entity.Player
List<org.bukkit.entity.Player>
boolean
isPlayerOnline
(org.bukkit.entity.Player player) void
kickPlayer
(String name) void
kickPlayer
(org.bukkit.entity.Player player) void
leaderMessage
(String message) void
partyMessage
(String message) void
removePlayer
(org.bukkit.entity.Player player) void
removePlayer
(org.bukkit.entity.Player player, boolean withAlert) void
sendChatMessage
(org.bukkit.entity.Player player, String message) void
sendPartyInfo
(org.bukkit.entity.Player player) void
setMythicLeader
(org.bukkit.entity.Player mythicLeader) void
setPlayerOnline
(org.bukkit.entity.Player player, boolean online) void
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.playavalon.mythicdungeons.api.party.IDungeonParty
getPartySavePoint, hasPlayer, initDungeonParty, initDungeonParty
-
Constructor Details
-
MythicParty
public MythicParty(org.bukkit.entity.Player leader)
-
-
Method Details
-
updateScoreboard
public void updateScoreboard() -
sendChatMessage
-
partyMessage
- Specified by:
partyMessage
in interfaceIDungeonParty
-
leaderMessage
-
addPlayer
public void addPlayer(org.bukkit.entity.Player player) - Specified by:
addPlayer
in interfaceIDungeonParty
-
removePlayer
public void removePlayer(org.bukkit.entity.Player player) - Specified by:
removePlayer
in interfaceIDungeonParty
-
removePlayer
public void removePlayer(org.bukkit.entity.Player player, boolean withAlert) -
setPlayerOnline
public void setPlayerOnline(org.bukkit.entity.Player player, boolean online) -
isPlayerOnline
public boolean isPlayerOnline(org.bukkit.entity.Player player) -
kickPlayer
public void kickPlayer(org.bukkit.entity.Player player) -
kickPlayer
-
disband
public void disband() -
setMythicLeader
public void setMythicLeader(org.bukkit.entity.Player mythicLeader) -
changeLeader
public void changeLeader(org.bukkit.entity.Player leader) -
getPlayer
-
sendPartyInfo
public void sendPartyInfo(org.bukkit.entity.Player player) -
getPlayers
- Specified by:
getPlayers
in interfaceIDungeonParty
-
getLeader
@NotNull public org.bukkit.entity.Player getLeader()- Specified by:
getLeader
in interfaceIDungeonParty
-