Skip to content

PlayerLeaveEvent issue being in a postfix #45

Closed

Description

@whichtwix

Currently the PlayerLeaveEvent is in a postfix which means the @event.clientdata.character is null from the game destroying it. Could we get a before/after leave event or just change it to be prefix?

Activity

  1. WanderingPix commented on Jul 13, 2025

    @WanderingPix
    Member

    Maybe also make the before event cancellable? or can that lead to abuse on the devs' end? up for debate but I just thought I'd put this idea here

  2. whichtwix commented on Jul 13, 2025

    @whichtwix
    Author

    it cant be cancelled you cant control dcs from internet lol

  3. WanderingPix commented on Jul 13, 2025

    @WanderingPix
    Member

    oh, I thought it was triggered on ExitGameButton.OnClick()

  4. whichtwix commented on Jul 13, 2025

    @whichtwix
    Author

    thats just 1 possible reason, theres an enum

  5. XtraCube commented on Aug 5, 2025

    @XtraCube
    Member

    make a PR i'll review it

  6. AlchlcDvl commented on Oct 14, 2026

    @AlchlcDvl
    Collaborator

    Fixed in #108

  7. added a commit that references this issue on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions