Search in sources :

Example 16 with PartiesPlugin

use of com.alessiodp.parties.common.PartiesPlugin in project Parties by AlessioDP.

the class BukkitPartiesCommandManager method registerCommands.

@Override
public void registerCommands() {
    mainCommands = new ArrayList<>();
    mainCommands.add(new BukkitCommandParty((PartiesPlugin) plugin));
    if (!((PartiesPlugin) plugin).isBungeeCordEnabled()) {
        mainCommands.add(new BukkitCommandP((PartiesPlugin) plugin));
    }
}
Also used : BukkitCommandParty(com.alessiodp.parties.bukkit.commands.main.BukkitCommandParty) PartiesPlugin(com.alessiodp.parties.common.PartiesPlugin) BukkitCommandP(com.alessiodp.parties.bukkit.commands.main.BukkitCommandP)

Aggregations

PartiesPlugin (com.alessiodp.parties.common.PartiesPlugin)16 PartyImpl (com.alessiodp.parties.common.parties.objects.PartyImpl)9 PartyPlayerImpl (com.alessiodp.parties.common.players.objects.PartyPlayerImpl)6 User (com.alessiodp.core.common.user.User)4 BukkitUser (com.alessiodp.core.bukkit.user.BukkitUser)2 ADPPlugin (com.alessiodp.core.common.ADPPlugin)2 PartiesCommandData (com.alessiodp.parties.common.commands.utils.PartiesCommandData)2 PartiesConfigurationManager (com.alessiodp.parties.common.configuration.PartiesConfigurationManager)2 PartiesPacket (com.alessiodp.parties.common.messaging.PartiesPacket)2 PartyHomeImpl (com.alessiodp.parties.common.parties.objects.PartyHomeImpl)2 ByteArrayDataInput (com.google.common.io.ByteArrayDataInput)2 Location (org.bukkit.Location)2 ADPMainCommand (com.alessiodp.core.common.commands.utils.ADPMainCommand)1 CommandData (com.alessiodp.core.common.commands.utils.CommandData)1 LoggerManager (com.alessiodp.core.common.logging.LoggerManager)1 DeleteCause (com.alessiodp.parties.api.enums.DeleteCause)1 JoinCause (com.alessiodp.parties.api.enums.JoinCause)1 LeaveCause (com.alessiodp.parties.api.enums.LeaveCause)1 IPartyGetExperienceEvent (com.alessiodp.parties.api.events.common.party.IPartyGetExperienceEvent)1 IPartyLevelUpEvent (com.alessiodp.parties.api.events.common.party.IPartyLevelUpEvent)1