Giving Credit
This commit is contained in:
@@ -6,6 +6,10 @@ import org.bukkit.event.HandlerList;
|
||||
|
||||
public class FPlayerEnteredFactionEvent extends FactionPlayerEvent {
|
||||
|
||||
/**
|
||||
* @author Illyria Team
|
||||
*/
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private FPlayer fPlayer;
|
||||
private Faction factionTo;
|
||||
|
||||
@@ -9,6 +9,10 @@ import org.bukkit.event.Cancellable;
|
||||
*/
|
||||
public class FPlayerJoinEvent extends FactionPlayerEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
|
||||
PlayerJoinReason reason;
|
||||
boolean cancelled = false;
|
||||
|
||||
|
||||
@@ -6,6 +6,10 @@ import org.bukkit.event.Cancellable;
|
||||
|
||||
public class FPlayerLeaveEvent extends FactionPlayerEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
|
||||
boolean cancelled = false;
|
||||
private PlayerLeaveReason reason;
|
||||
|
||||
|
||||
@@ -12,6 +12,10 @@ import org.bukkit.event.Cancellable;
|
||||
*/
|
||||
public class FPlayerRoleChangeEvent extends FactionPlayerEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* @author Illyria Team
|
||||
*/
|
||||
|
||||
private final Role from;
|
||||
private boolean cancelled;
|
||||
private Role to;
|
||||
|
||||
@@ -4,6 +4,11 @@ import com.massivecraft.factions.FPlayer;
|
||||
import org.bukkit.event.HandlerList;
|
||||
|
||||
public class FPlayerStoppedFlying extends FactionPlayerEvent {
|
||||
|
||||
/**
|
||||
* @author Illyria Team
|
||||
*/
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private FPlayer fPlayer;
|
||||
|
||||
|
||||
@@ -12,6 +12,10 @@ import org.bukkit.event.HandlerList;
|
||||
*/
|
||||
public class FactionCreateEvent extends Event implements Cancellable {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
private String factionTag;
|
||||
|
||||
@@ -11,6 +11,10 @@ import org.bukkit.event.Cancellable;
|
||||
*/
|
||||
public class FactionDisbandEvent extends FactionEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
|
||||
private final Player sender;
|
||||
private final PlayerDisbandReason reason;
|
||||
private boolean cancelled = false;
|
||||
|
||||
@@ -9,6 +9,10 @@ import org.bukkit.event.HandlerList;
|
||||
*/
|
||||
public class FactionEvent extends Event {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private final Faction faction;
|
||||
|
||||
|
||||
@@ -8,6 +8,10 @@ import com.massivecraft.factions.Faction;
|
||||
*/
|
||||
public class FactionPlayerEvent extends FactionEvent {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
|
||||
protected final FPlayer fPlayer;
|
||||
|
||||
public FactionPlayerEvent(Faction faction, FPlayer fPlayer) {
|
||||
|
||||
@@ -10,6 +10,10 @@ import org.bukkit.event.HandlerList;
|
||||
*/
|
||||
public class FactionRelationEvent extends Event {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
private Faction fsender;
|
||||
|
||||
@@ -6,6 +6,11 @@ import com.massivecraft.factions.struct.Relation;
|
||||
import org.bukkit.event.Cancellable;
|
||||
|
||||
public class FactionRelationWishEvent extends FactionPlayerEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
|
||||
private final Faction targetFaction;
|
||||
private final Relation currentRelation;
|
||||
private final Relation targetRelation;
|
||||
|
||||
@@ -6,6 +6,10 @@ import org.bukkit.event.Cancellable;
|
||||
|
||||
public class FactionRenameEvent extends FactionPlayerEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
|
||||
private boolean cancelled = false;
|
||||
private String tag;
|
||||
|
||||
|
||||
@@ -11,6 +11,10 @@ import org.bukkit.event.Cancellable;
|
||||
*/
|
||||
public class LandClaimEvent extends FactionPlayerEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
|
||||
private boolean cancelled;
|
||||
private FLocation location;
|
||||
|
||||
|
||||
@@ -6,6 +6,10 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.Cancellable;
|
||||
|
||||
public class LandUnclaimAllEvent extends FactionPlayerEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
private boolean cancelled;
|
||||
|
||||
public LandUnclaimAllEvent(Faction f, FPlayer p) {
|
||||
|
||||
@@ -11,6 +11,10 @@ import org.bukkit.event.Cancellable;
|
||||
*/
|
||||
public class LandUnclaimEvent extends FactionPlayerEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
|
||||
private boolean cancelled;
|
||||
private FLocation location;
|
||||
|
||||
|
||||
@@ -11,6 +11,10 @@ import org.bukkit.event.Cancellable;
|
||||
*/
|
||||
public class PowerLossEvent extends FactionPlayerEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* @author FactionsUUID Team
|
||||
*/
|
||||
|
||||
private boolean cancelled = false;
|
||||
private String message;
|
||||
private double modified = 0;
|
||||
|
||||
@@ -12,6 +12,10 @@ import org.bukkit.event.Cancellable;
|
||||
*/
|
||||
public class PowerRegenEvent extends FactionPlayerEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* @author Illyria Team
|
||||
*/
|
||||
|
||||
private boolean cancelled = false;
|
||||
private double modified = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user