Factions3/src/com/massivecraft/factions/event/FactionsEventCreate.java

41 lines
1.2 KiB
Java
Raw Normal View History

2012-03-02 02:16:45 +01:00
package com.massivecraft.factions.event;
import org.bukkit.command.CommandSender;
2012-03-02 02:16:45 +01:00
import org.bukkit.event.HandlerList;
public class FactionsEventCreate extends FactionsEventAbstractSender
2012-03-02 02:16:45 +01:00
{
2013-04-10 09:34:14 +02:00
// -------------------------------------------- //
// REQUIRED EVENT CODE
// -------------------------------------------- //
2012-03-02 02:16:45 +01:00
private static final HandlerList handlers = new HandlerList();
2013-04-10 09:34:14 +02:00
@Override public HandlerList getHandlers() { return handlers; }
public static HandlerList getHandlerList() { return handlers; }
// -------------------------------------------- //
// FIELDS
// -------------------------------------------- //
2013-04-22 13:03:21 +02:00
private final String universe;
public final String getUniverse() { return this.universe; }
2013-04-10 09:34:14 +02:00
2013-04-22 13:03:21 +02:00
private final String factionId;
public final String getFactionId() { return this.factionId; }
2013-04-10 09:34:14 +02:00
2013-04-22 13:03:21 +02:00
private final String factionTag;
public final String getFactionTag() { return this.factionTag; }
2013-04-10 09:34:14 +02:00
// -------------------------------------------- //
// CONSTRUCT
// -------------------------------------------- //
2013-04-22 13:03:21 +02:00
public FactionsEventCreate(CommandSender sender, String universe, String factionId, String factionTag)
{
super(sender);
2013-04-22 13:03:21 +02:00
this.universe = universe;
this.factionId = factionId;
2013-04-22 13:03:21 +02:00
this.factionTag = factionTag;
}
2012-03-02 02:16:45 +01:00
}