-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
145 changed files
with
2,156 additions
and
1,548 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
24 changes: 24 additions & 0 deletions
24
...in/java/com/alessiodp/parties/api/events/bungee/unique/BungeePartiesPartyFollowEvent.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,24 @@ | ||
package com.alessiodp.parties.api.events.bungee.unique; | ||
|
||
import com.alessiodp.parties.api.events.Cancellable; | ||
import com.alessiodp.parties.api.events.bungee.BungeePartiesEvent; | ||
import com.alessiodp.parties.api.interfaces.Party; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
public abstract class BungeePartiesPartyFollowEvent extends BungeePartiesEvent implements Cancellable { | ||
/** | ||
* Get the party | ||
* | ||
* @return Returns the {@link Party} | ||
*/ | ||
@NotNull | ||
public abstract Party getParty(); | ||
|
||
/** | ||
* Get the name of the server that the party will join into | ||
* | ||
* @return Returns the name of the server | ||
*/ | ||
@NotNull | ||
public abstract String getJoinedServer(); | ||
} |
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
18 changes: 8 additions & 10 deletions
18
api/src/main/java/com/alessiodp/parties/api/events/common/party/IPartyPreCreateEvent.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 |
---|---|---|
@@ -1,47 +1,45 @@ | ||
package com.alessiodp.parties.api.events.common.party; | ||
|
||
import com.alessiodp.parties.api.events.Cancellable; | ||
import com.alessiodp.parties.api.events.PartiesEvent; | ||
import com.alessiodp.parties.api.interfaces.PartyPlayer; | ||
import com.alessiodp.parties.api.events.Cancellable; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
public interface IPartyPreCreateEvent extends PartiesEvent, Cancellable { | ||
/** | ||
* Get the player that is creating the party | ||
* | ||
* | ||
* @return Returns the {@link PartyPlayer} | ||
*/ | ||
@NotNull | ||
PartyPlayer getPartyPlayer(); | ||
|
||
/** | ||
* Get the name of the party | ||
* | ||
* | ||
* @return Returns the party name | ||
*/ | ||
@NotNull | ||
String getPartyName(); | ||
|
||
/** | ||
* Set a new name to the party | ||
* | ||
* @param name | ||
* The name to set | ||
* | ||
* @param name The name to set | ||
*/ | ||
void setPartyName(String name); | ||
|
||
/** | ||
* Is the party fixed? | ||
* | ||
* | ||
* @return Returns {@code true} if it's fixed | ||
*/ | ||
boolean isFixed(); | ||
|
||
/** | ||
* Set if the party is fixed | ||
* | ||
* @param fixed | ||
* {@code True} to be fixed | ||
* | ||
* @param fixed {@code True} to be fixed | ||
*/ | ||
void setFixed(boolean fixed); | ||
} |
16 changes: 8 additions & 8 deletions
16
api/src/main/java/com/alessiodp/parties/api/events/common/party/IPartyPreDeleteEvent.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
18 changes: 9 additions & 9 deletions
18
api/src/main/java/com/alessiodp/parties/api/events/common/party/IPartyRenameEvent.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
Oops, something went wrong.