playLoopedSound

fun SpigotPlayer.playLoopedSound(sound: String, length: Long, volume: Float, pitch: Float)

Plays and the given sound on this player and loops after the specified lengthms has expired.