Jump to content

FML login logic and "FML" packet channel


XspeedPL

Recommended Posts

Hi,

 

I am developing a plugin for Bukkit that would only allow users with specified mods to join the server.

I registered "FML" channels for communication and I am sending a ModListRequestPacket correctly to clients,

but the client seems to ignore the packet. After having a quick look through FML code, I see that FML does

some weird things during player logon, that I don't understand.

 

How does it work and what would it take to make it work?

Link to comment
Share on other sites

FML modifies a couple of vanilla packet structures. To verify that the server is FML we send an unsolicited login packet that the server has to ack. You won't be able to emulate this in bukkit without changing the net server handler. Sorry.

Link to comment
Share on other sites

There isn't really much of a need. FML already kicks players if they don't have the same mods as the server.

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.