get Player By Instance
Gets a voice player by their server-specific instance.
The instance parameter represents the server-specific player instance:
- For Bukkit: [org.bukkit.entity.Player]
- For modded servers (Fabric/Forge): [net.minecraft.server.level.ServerPlayer]
Return
The voice player.
Parameters
instance
The server-specific player instance.