You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all: fantastic plugin, is pretty much entirely what I'm looking for in a sea of "this is a bad idea, don't do this".
Although I would like a bit of help: I'de like to access the hostname the player is joining by. This has been implemented in craftbukkit & bukkit here:
Obviously with what you're doing interfacing with (mostly? all?) vanilla minecraft server hooks it doesn't have support for hostnames on the connection object or passing around them at all really.
I was wondering if you had any leads? By the time PlayerLoginEvent is happening it's too late. The hostname is being recieved within handleIntention(PacketHandshakingInSetProtocol.., which is happening roughly before the LoginListener stuff that you hook in to, & LoginListener.connection.hostnameis set within bukkit but there's no way to access it from your hasJoinedServer.
Any ideas are appreciated!
The text was updated successfully, but these errors were encountered:
Hi,
First of all: fantastic plugin, is pretty much entirely what I'm looking for in a sea of "this is a bad idea, don't do this".
Although I would like a bit of help: I'de like to access the hostname the player is joining by. This has been implemented in craftbukkit & bukkit here:
Obviously with what you're doing interfacing with (mostly? all?) vanilla minecraft server hooks it doesn't have support for hostnames on the
connection
object or passing around them at all really.I was wondering if you had any leads? By the time
PlayerLoginEvent
is happening it's too late. The hostname is being recieved withinhandleIntention(PacketHandshakingInSetProtocol..
, which is happening roughly before theLoginListener
stuff that you hook in to, &LoginListener.connection.hostname
is set within bukkit but there's no way to access it from yourhasJoinedServer
.Any ideas are appreciated!
The text was updated successfully, but these errors were encountered: