API Events

This page is dedicated to explain how Parties events works.

You can handle a Parties event like Bukkit ones:

public void onPlayerChat(BukkitPartiesChatEvent event) {
    if (event.getMessage().equals("nope!"))

Both Bukkit and Bungee events supported

Due to different event interface between Bungeecord and Bukkit, we must choose which event to handle.

To do that you just need to append Bukkit or Bungee before the event class name, like "BukkitPartiesChatEvent" or "BungeePartiesChatEvent".

List of events

Some events are cancellable or editable (editable means that you can edit the values of the event).

This is a list of the supported events:

Event Cancellable Editable Async Server
PartiesChatEvent ✔ Yes ✔ Yes ✖ No All
PartiesCombustFriendlyFireBlockedEvent ✔ Yes ✖ No ✖ No Bukkit
PartiesFriendlyFireBlockedEvent ✔ Yes ✖ No ✖ No Bukkit
PartiesPotionsFriendlyFireBlockedEvent ✔ Yes ✖ No ✖ No Bukkit
PartiesPlayerPreJoinEvent ✔ Yes ✖ No ✖ No All
PartiesPlayerPostJoinEvent ✖ No ✖ No ✔ Yes All
PartiesPlayerPreLeaveEvent ✔ Yes ✖ No ✖ No All
PartiesPlayerPostLeaveEvent ✖ No ✖ No ✔ Yes All
PartiesPartyPreCreateEvent ✔ Yes ✔ Yes ✖ No All
PartiesPartyPostCreateEvent ✖ No ✖ No ✔ Yes All
PartiesPartyPreDeleteEvent ✔ Yes ✖ No ✖ No All
PartiesPartyPostDeleteEvent ✖ No ✖ No ✔ Yes All
PartiesPartyRenameEvent ✔ Yes ✔ Yes ✖ No All