I'm asking because I am writing my own mods and wanted to know if a server owner can parse the mod list during connection to the server and act consequently if some are missing.

  • What do you mean by "writing one"? Do you mean, writing a separate forge client implementation? A forge mod? A separate server implementation? A bukkit plugin to act on the list? – Pokechu22 May 9 '16 at 17:43
  • I'm currently writing a forge mod – beppe9000 May 11 '16 at 20:51
  • In that case, it's worth noting then that forge automatically checks whether the mods are installed on both the client and the server if you've got the mod side information set up correctly. That's what the ModList packet is for. You won't need to write custom logic for it. – Pokechu22 May 12 '16 at 17:21

As detailed in wiki.vg the Forge Mod Loader Client actually sends the list of installed mods during handshake phase inside the ModList packet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.