-
-
Notifications
You must be signed in to change notification settings - Fork 19
Sending Respawn Packet On Sync PlayerDeath #38
Copy link
Copy link
Closed
Labels
domain:questionPlease use discussion or TriggerReactor Discord server.Please use discussion or TriggerReactor Discord server.domain:suggestionA suggestion, i.e: new ideas, optimization, etc.A suggestion, i.e: new ideas, optimization, etc.
Description
Activity
Metadata
Metadata
Assignees
Labels
domain:questionPlease use discussion or TriggerReactor Discord server.Please use discussion or TriggerReactor Discord server.domain:suggestionA suggestion, i.e: new ideas, optimization, etc.A suggestion, i.e: new ideas, optimization, etc.
Hi im thinking of trying to send a respawn packet on the player death event. I want to do this synchronously,but i already have a playerdeathevent trigger that is async and i want to keep it out of the server thread. Is there a way to have an async event trigger so it doesnt stress the server, and a sync trigger of the same event that executes just a small snippet of code such as sending a respawn packet? Idk the possible ramifications of doing it this way but im just curious.