use of com.alessiodp.partiesapi.objects.Party in project Parties by AlessioDP.
the class ApiHandler method broadcastPartyMessage.
@Deprecated
@Override
public Status broadcastPartyMessage(String paramParty, UUID paramUUID, String paramMessage) {
Party party = plugin.getPartyManager().getParty(paramParty);
PartyPlayer player = plugin.getPlayerManager().getPlayer(paramUUID);
return broadcastPartyMessage(party, player, paramMessage);
}
use of com.alessiodp.partiesapi.objects.Party in project Parties by AlessioDP.
the class ApiHandler method getPartyOnlinePlayers.
@Deprecated
@Override
public List<Player> getPartyOnlinePlayers(String paramParty) {
List<Player> ret = new ArrayList<Player>();
Party party = getParty(paramParty);
ret.addAll(getPartyOnlinePlayers(party));
return ret;
}
use of com.alessiodp.partiesapi.objects.Party in project Parties by AlessioDP.
the class ApiHandler method setPartyDescription.
@Deprecated
@Override
public void setPartyDescription(String paramParty, String paramDescription) {
Party party = getParty(paramParty);
party.setDescription(paramDescription);
updateParty(party);
}
use of com.alessiodp.partiesapi.objects.Party in project Parties by AlessioDP.
the class ApiHandler method setPartyMembers.
@Deprecated
@Override
public void setPartyMembers(String paramParty, List<UUID> paramListPlayers) {
Party party = getParty(paramParty);
party.setMembers(paramListPlayers);
updateParty(party);
}
use of com.alessiodp.partiesapi.objects.Party in project Parties by AlessioDP.
the class ApiHandler method setPartySuffix.
@Deprecated
@Override
public void setPartySuffix(String paramParty, String paramSuffix) {
Party party = getParty(paramParty);
party.setSuffix(paramSuffix);
updateParty(party);
}
Aggregations