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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionGroupRenamedEvent
(@NotNull AbstractOperator operator, @NotNull GroupDTO group, @NotNull String newName) -
Method Summary
Modifier and TypeMethodDescription@NotNull GroupDTO
@NotNull GroupDTO
void
setGroupAfter
(@NotNull GroupDTO groupAfter) void
setGroupBefore
(@NotNull GroupDTO groupBefore) void
setNewNameColored
(String newName) Methods inherited from class cn.lunadeer.dominion.events.ResultEvent
getOperator, isCancelled, setCancelled, setCancelled, setCancelledAdnComplete
Methods inherited from class cn.lunadeer.dominion.events.CallableEvent
call, getHandlerList, getHandlers
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
GroupRenamedEvent
public GroupRenamedEvent(@NotNull @NotNull AbstractOperator operator, @NotNull @NotNull GroupDTO group, @NotNull @NotNull String newName)
-
-
Method Details
-
getGroupBefore
-
getNewNameColored
-
getNewNamePlain
-
getGroupAfter
-
setGroupAfter
-
setNewNameColored
-
setGroupBefore
-