Civcraft / JukeAlert

Do not open issues here; open them on the maintained fork @ DevotedMC
https://github.com/DevotedMC/JukeAlert
BSD 3-Clause "New" or "Revised" License
5 stars 15 forks source link

Snitches report logoff when switching shard #65

Open Maxopoly opened 8 years ago

Maxopoly commented 8 years ago

Player is not logging off, so kinda confusing.

ProgrammerDan commented 8 years ago

This one isn't going to be pretty, because as far as the shard is concerned they are logging off.

We might need to consider just living with this; alternatively we'd need to add "network awareness" to jukealert in the sense that local logoff just reports snitch-field "exit" and a logoff is only reported if Bungee fires a player quit event (meaning the player has left the network).

Maxopoly commented 8 years ago

So JukeAlertBungee is needed?

ProgrammerDan commented 8 years ago

That seems terrible. Maybe. We could hack it using Mercury / BetterShardsBungee though.

rourke750 commented 8 years ago

Nope just listen to the bettershards event or open up the api to allow us to check if the player is being transferred. On Mar 30, 2016 1:28 PM, "Daniel Boston" notifications@github.com wrote:

That seems terrible. Maybe. We could hack it using Mercury / BetterShardsBungee though.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/Civcraft/JukeAlert/issues/65#issuecomment-203540986

rourke750 commented 8 years ago

https://github.com/Civcraft/BetterShards/blob/master/src/vg/civcraft/mc/bettershards/BetterShardsPlugin.java#L136