Dream Minecraft Manhunt (with optional Discord music integration)

Limit times "pirates" track is played

ericyoondotcom opened this issue ยท 2 comments

commented

Record the last time the track started playing, and only play it again after a certain interval.

commented

Yes, please do this, the song usually starts and doesnt end for like 5 minutes straight even though we aren't in boats anymore.

commented

By the way, in commit e78f57e, I added an undocumented config option called piratesCooldown. If a long number is specified, it will be used as the milliseconds before the pirates track can be played again. If no config option is specified, it defaults to 5 minutes.