Search in sources :

Example 16 with Party

use of com.alessiodp.partiesapi.objects.Party in project Parties by AlessioDP.

the class ApiHandler method setPassword.

@Deprecated
@Override
public void setPassword(String paramParty, String paramPassword) {
    Party party = getParty(paramParty);
    party.setPassword(paramPassword);
    updateParty(party);
}
Also used : Party(com.alessiodp.partiesapi.objects.Party)

Example 17 with Party

use of com.alessiodp.partiesapi.objects.Party in project Parties by AlessioDP.

the class ApiHandler method setPartyMotd.

@Deprecated
@Override
public void setPartyMotd(String paramParty, String paramMotd) {
    Party party = getParty(paramParty);
    party.setMotd(paramMotd);
    updateParty(party);
}
Also used : Party(com.alessiodp.partiesapi.objects.Party)

Example 18 with Party

use of com.alessiodp.partiesapi.objects.Party in project Parties by AlessioDP.

the class ApiHandler method setPartyPrefix.

@Deprecated
@Override
public void setPartyPrefix(String paramParty, String paramPrefix) {
    Party party = getParty(paramParty);
    party.setPrefix(paramPrefix);
    updateParty(party);
}
Also used : Party(com.alessiodp.partiesapi.objects.Party)

Example 19 with Party

use of com.alessiodp.partiesapi.objects.Party in project Parties by AlessioDP.

the class ApiHandler method setPartyKills.

@Deprecated
@Override
public void setPartyKills(String paramParty, int paramKills) {
    Party party = getParty(paramParty);
    party.setKills(paramKills);
    updateParty(party);
}
Also used : Party(com.alessiodp.partiesapi.objects.Party)

Example 20 with Party

use of com.alessiodp.partiesapi.objects.Party in project Parties by AlessioDP.

the class ApiHandler method setPartyHome.

@Deprecated
@Override
public void setPartyHome(String paramParty, Location paramHome) {
    Party party = getParty(paramParty);
    party.setHome(paramHome);
    updateParty(party);
}
Also used : Party(com.alessiodp.partiesapi.objects.Party)

Aggregations

Party (com.alessiodp.partiesapi.objects.Party)26 PartyPlayer (com.alessiodp.partiesapi.objects.PartyPlayer)6 UUID (java.util.UUID)5 ArrayList (java.util.ArrayList)4 PartyEntity (com.alessiodp.parties.parties.objects.PartyEntity)3 DatabaseData (com.alessiodp.parties.storage.DatabaseData)2 IOException (java.io.IOException)2 SQLException (java.sql.SQLException)2 HashMap (java.util.HashMap)2 PartyPlayerEntity (com.alessiodp.parties.players.objects.PartyPlayerEntity)1 Connection (java.sql.Connection)1 Player (org.bukkit.entity.Player)1