Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vanished Flags Break Messaging #41

Open
SilverKytten opened this issue Nov 4, 2016 · 4 comments
Open

Vanished Flags Break Messaging #41

SilverKytten opened this issue Nov 4, 2016 · 4 comments

Comments

@SilverKytten
Copy link

SilverKytten commented Nov 4, 2016

As of 10/26/2016, whenever if_vanished is set to
chat: true
join: false
leave: false
death: false
chat does not come through to the Discord server. It will be sent from Discord to Minecraft, but not the other way around.

(This is going only by the last time a message was sent from Minecraft to Discord or back, it could have happened in just the last few days, but I hadn't noticed until today that chat wasn't working correctly [I did change the channel name, recently, from "minecraft" to "minecraft chat;" if that makes any difference])

I have turned on debug mode, but get no errors, only typical output - It's as if players are being flagged as vanished, but even then the chat should still come through, and there's absolutely no reason for them to be seen as vanished, to begin with.

I'm not sure if this is a bug with the plugin or an issue with the server itself but there have been no changes to configs, in the last month. I did move the server to a different VPS, however, this was done via sftp between the two VPSs on 10/24 and, as you can see on the following link, the move did not effect Discord Bridge's performace.
http://pastebin.com/xEmuxuwP

::Edit::
Using the most recent version - 1.7.1

@jacobwgillespie
Copy link
Member

Hey! A couple debugging questions:

  • is it fixed if if_vanished -> chat is set to false?
  • is it fixed if it's sent to a channel without a space in the name?

@SilverKytten
Copy link
Author

There is no space in the channel's name, Discord doesn't support spaces in text channel names, that was a misprint on my part when writing this BR.

Upon testing if that would fix it, I've come the conclusion that this is happening semi-randomly? From what I can tell, it always happens when /Discord reload is used - however it also happens sometimes when the server restarts normally, as is what the situation was when it stopped working to begin with.

Setting if_vanished - chat to false didn't seem to make any difference, and neither does setting them all to true. :/

@jacobwgillespie
Copy link
Member

Ah, restarts have always been buggy - a full server restart (not reload) shouldn't cause issues, but a /discord reload sometimes fails and definitely a /reload breaks the plugin (and many other plugins as well).

I may get around to debugging, but mostly this is an issue with the embedded Discord API client library and will likely stay until somebody digs into what's going on.

@SilverKytten
Copy link
Author

I see, well it has at least happened once on a full restart. That's how the issue began, from what I can tell. I'll let you know if it happens again, I guess. :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants