Fabric API

Fabric API

106M Downloads

OnPlayerConnect/Disconnect events

magneticflux- opened this issue ยท 3 comments

commented

Mentioned previously in #19.

Relevant methods:

  • net.minecraft.server.PlayerManager::onPlayerConnect (onConnect)
  • net.minecraft.server.PlayerManager::remove (onDisconnect)

Creating mixins to fire the events seems simple as there are already Mojang hooks in place.

I can submit a PR if it is likely to get accepted.

commented

@SquidDev What's the status of #34?

commented

I'd say this is somewhat covered by #605

commented

Closing since this has been implemented in ServerPlayConnectionEvents