ericyoondotcom / MinecraftManhunt

Minecraft Bukkit plugin to run Manhunt minigames, with Discord music integration
GNU General Public License v3.0
27 stars 7 forks source link

/music auto plays the music before the match is started. #16

Closed zix3r closed 3 years ago

zix3r commented 3 years ago

Describe the bug

Setting the music to auto starts the music even before the game is started with the /start command and and sometimes it's not even the right one, like for example, I set the hunters and speedrunners, set the /music auto, and when I start it, no music

Potential Causes

I just did /music auto and it starts playing after a sec.

Environment Info

Plugin version: 1.3

Bukkit/Spigot server version: 1.16.4

Configuration file

Sending us your plugin config.yml file may help in diagnosing the issue. Paste the contents of the plugin's config file here: (feel free to omit your Discord token for security reasons)

# How long the hunters should get blindness and slowness when the match starts.
headStartDuration: 15
compassEnabledInNether: false
sendUsageData: true
enableDiscord: true
discordToken: xxxxx
ip: verygood.ip
processDiscordCommands: false
discordServerId: 773923702651092992
musicChannelId: 775382857652633600
hunterRoleId: XXXXX
runnerRoleId: XXXXX
spectatorRoleId: XXXXX
uuid: 100c7e93-1313-4290-8941-aca8dea14701

Server Logs

Please check your Server Console for any warnings or errors created by the plugin. If any are any, please copy and paste them here:

None.

Anything else?

Nothing else.

ericyoondotcom commented 3 years ago

Hello @zix3r, This is most likely caused by your players doing things that are triggering special music events (like punching each other, etc). I'll see what I can do to stop music events from triggering before the game is started.

zix3r commented 3 years ago

Yep, they were punching each other, thanks for trying to fix this!!

ericyoondotcom commented 3 years ago

I've fixed this issue in version 1.3.1! I'm not going to post the updated file on the Bukkit or Spigot websites since it's so minor, but you can download it on the Releases tab.