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

Bot joining and leaving #63

Closed tired9494 closed 3 years ago

tired9494 commented 3 years ago

The bot keeps on leaving and rejoining when I do any music commands.

Newest plugin version

Newest papermc version but also occurs on latest spigot version

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: 4
compassEnabledInNether: true
setRunnersToSpecOnDeath: true
sendUsageData: true
huntersColor: '&c'
runnersColor: '&a'
spectatorsColor: '&b'
enableDiscord: true
discordToken: ODI1......
ip: ....
processDiscordCommands: false
discordServerId: 8225286....
musicChannelId: 825345023012372492
hunterRoleId: XXXXX
runnerRoleId: XXXXX
spectatorRoleId: XXXXX
uuid: 63b4ee44-f3ff-4df4-9bc6-28693547cd6b
28.03 14:07:33 [Server] INFO ... issued server command: /music approaching
28.03 14:07:34 [Server] INFO Loaded track approaching
28.03 14:07:34 [Server] INFO Audio track start callback called
28.03 14:07:34 [Server] INFO Started track with a result of true

No errors in logs/console

Edit: I tried a different server host and it works fine now. Do I have to ask the old host to fix their system times if that's the issue?

ericyoondotcom commented 3 years ago

Hello and thanks for using the plugin! Since you said that changing your server host resolved the problem, I think it's just an issue with how their network firewall is set up. They probably don't allow connections to outside services (e.g. Discord), which made the bot not able to connect properly. I don't think you need to tell them about this issue, since it's a matter of network security and they probably don't want to open up outbound connections, but please give me the name of the old server host so I can maybe put it in the plugin info so others don't have this problem.

tired9494 commented 3 years ago

It was Shockbyte which didn't work, so I used AleForge instead