Class GroupRenamedEvent

java.lang.Object
org.bukkit.event.Event
cn.lunadeer.dominion.events.CallableEvent
cn.lunadeer.dominion.events.ResultEvent
cn.lunadeer.dominion.events.group.GroupRenamedEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class GroupRenamedEvent extends ResultEvent
  • Constructor Details

    • GroupRenamedEvent

      public GroupRenamedEvent(@NotNull @NotNull AbstractOperator operator, @NotNull @NotNull GroupDTO group, @NotNull @NotNull String newName)
  • Method Details

    • getGroupBefore

      @NotNull public @NotNull GroupDTO getGroupBefore()
    • getNewNameColored

      public String getNewNameColored()
    • getNewNamePlain

      public String getNewNamePlain()
    • getGroupAfter

      @NotNull public @NotNull GroupDTO getGroupAfter()
    • setGroupAfter

      public void setGroupAfter(@NotNull @NotNull GroupDTO groupAfter)
    • setNewNameColored

      public void setNewNameColored(String newName)
    • setGroupBefore

      public void setGroupBefore(@NotNull @NotNull GroupDTO groupBefore)