Skip to content

server side disconnect function #4941

Closed as duplicate
Closed as duplicate

Description

@xDovos

we need a way to disconnect bad actors clients from the server side with a ctx.disconnect_sender() function that can be called in any reducer or procedure. this is needed because throwing an Error is not always a good option.
like if i want to "ban" a client by inserting it into a ban table, i also need a way to actually disconnect the client i just banned. i can't rely on a client side disconnect flow as the bad actor most likely just removed the flow while inserting the cheats or whatever they did to be banned.

Activity

  1. kistz commented on Jun 13, 2026

    @kistz
    Contributor

    @xDovos dont mind me just looking through issues i think this is a duplicate now with your feature request :>

  2. xDovos commented on Jun 14, 2026

    @xDovos
    ContributorAuthor

    oh i forgot about this one. tho my new one has better text

  3. bfops commented on Jun 16, 2026

    @bfops
    Collaborator

    I'm going to close this one as a duplicate. Thank you for flagging!

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