ChangedNickname
Gets called when a players' nickname has changed.
Start a script section
!-- OnEvent ChangedNickname
-- require @evPlayer $evOldNickname $evNewNickname
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerChangedNicknameEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player whose nickname has changed. |
$evOldNickname | text value | Gets the old nickname of the player. Remarks: Null means they did not have a custom display-name before. |
$evNewNickname | text value | Gets the new nickname of the player. Remarks: Null means their regular name will be used. |