IntelligenceModding / Advanced-Peripherals-Features

A place for the feature request for Advanced Peripherals
0 stars 1 forks source link

[Feature Request] Add `playerJoin`, `playerLeave` events for player detector #10

Closed zyxkad closed 5 months ago

zyxkad commented 1 year ago

Describe your idea

Just simple pass the player join/leave event to computers, then we can easily do more cool things :)

Also, if possible, add playerJoinWorld, playerLeaveWorld for when player switch their dimension.

Describe alternatives you've considered if you've any

Maintain a player list, and repeat to call getOnlinePlayer, that works but it's really terrible

Additional context

No response

Linked Issues

No response