-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support PAF Extended for Bungeecord. Bump version
- Loading branch information
Showing
30 changed files
with
391 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
src/main/java/me/pikamug/unite/api/events/pafgui/PartyCreateEvent_PAFGUI.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package me.pikamug.unite.api.events.pafgui; | ||
|
||
import me.pikamug.unite.api.events.PartyCreateEvent; | ||
import me.pikamug.unite.api.objects.PartyProvider; | ||
import org.bukkit.event.Event; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
import java.util.UUID; | ||
|
||
public class PartyCreateEvent_PAFGUI extends PartyCreateEvent { | ||
private final PartyProvider partyProvider; | ||
private final UUID partyPlayer; | ||
|
||
public PartyCreateEvent_PAFGUI(PartyProvider partyProvider, UUID partyPlayer, boolean async) { | ||
super(async); | ||
this.partyProvider = partyProvider; | ||
this.partyPlayer = partyPlayer; | ||
} | ||
|
||
@Override | ||
public Event getPluginEvent() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public @NotNull PartyProvider getPartyProvider() { | ||
return partyProvider; | ||
} | ||
|
||
@Override | ||
public UUID getCreator() { | ||
return partyPlayer; | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
src/main/java/me/pikamug/unite/api/events/pafgui/PartyDeleteEvent_PAFGUI.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package me.pikamug.unite.api.events.pafgui; | ||
|
||
import me.pikamug.unite.api.events.PartyDeleteEvent; | ||
import me.pikamug.unite.api.objects.PartyProvider; | ||
import org.bukkit.event.Event; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
import java.util.UUID; | ||
|
||
public class PartyDeleteEvent_PAFGUI extends PartyDeleteEvent { | ||
private final PartyProvider partyProvider; | ||
private final UUID partyPlayer; | ||
|
||
public PartyDeleteEvent_PAFGUI(PartyProvider partyProvider, UUID partyPlayer, boolean async) { | ||
super(async); | ||
this.partyProvider = partyProvider; | ||
this.partyPlayer = partyPlayer; | ||
} | ||
|
||
@Override | ||
public Event getPluginEvent() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public @NotNull PartyProvider getPartyProvider() { | ||
return partyProvider; | ||
} | ||
|
||
@Override | ||
public UUID getDisbander() { | ||
return partyPlayer; | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
src/main/java/me/pikamug/unite/api/events/pafgui/PartyJoinEvent_PAFGUI.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package me.pikamug.unite.api.events.pafgui; | ||
|
||
import me.pikamug.unite.api.objects.PartyProvider; | ||
import org.bukkit.event.Event; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
import java.util.UUID; | ||
|
||
public class PartyJoinEvent_PAFGUI extends me.pikamug.unite.api.events.PartyJoinEvent { | ||
private final PartyProvider partyProvider; | ||
private final UUID partyPlayer; | ||
|
||
public PartyJoinEvent_PAFGUI(PartyProvider partyProvider, UUID partyPlayer, boolean async) { | ||
super(async); | ||
this.partyProvider = partyProvider; | ||
this.partyPlayer = partyPlayer; | ||
} | ||
|
||
@Override | ||
public Event getPluginEvent() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public @NotNull PartyProvider getPartyProvider() { | ||
return partyProvider; | ||
} | ||
|
||
@Override | ||
public UUID getPlayer() { | ||
return partyPlayer; | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
src/main/java/me/pikamug/unite/api/events/pafgui/PartyLeaveEvent_PAFGUI.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package me.pikamug.unite.api.events.pafgui; | ||
|
||
import me.pikamug.unite.api.events.PartyLeaveEvent; | ||
import me.pikamug.unite.api.objects.PartyProvider; | ||
import org.bukkit.event.Event; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
import java.util.UUID; | ||
|
||
public class PartyLeaveEvent_PAFGUI extends PartyLeaveEvent { | ||
private final PartyProvider partyProvider; | ||
private final UUID partyPlayer; | ||
|
||
public PartyLeaveEvent_PAFGUI(PartyProvider partyProvider, UUID partyPlayer, boolean async) { | ||
super(async); | ||
this.partyProvider = partyProvider; | ||
this.partyPlayer = partyPlayer; | ||
} | ||
|
||
@Override | ||
public Event getPluginEvent() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public @NotNull PartyProvider getPartyProvider() { | ||
return partyProvider; | ||
} | ||
|
||
@Override | ||
public UUID getPlayer() { | ||
return partyPlayer; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.