Class PostTeamColorChangeEvent

java.lang.Object
org.bukkit.event.Event
com.booksaw.betterTeams.customEvents.TeamEvent
com.booksaw.betterTeams.customEvents.post.PostTeamColorChangeEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PostTeamColorChangeEvent extends TeamEvent
An event which is called after a Team's color has been changed. Contains information about both the old and new team colors. This event cannot be cancelled since it occurs after the color change.

To modify or cancel the color change, use TeamColorChangeEvent.

Author:
svaningelgem
  • Constructor Details

    • PostTeamColorChangeEvent

      public PostTeamColorChangeEvent(@NotNull @NotNull Team team, @NotNull @NotNull org.bukkit.ChatColor oldTeamColor, @NotNull @NotNull org.bukkit.ChatColor newTeamColor)
  • Method Details

    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getOldTeamColor

      public org.bukkit.ChatColor getOldTeamColor()
    • getNewTeamColor

      public org.bukkit.ChatColor getNewTeamColor()