How can I kick players with a custom message if they don't have the mods they need?
(obligatory noob question)
My server is modded and requires players to download a modpack in order to play. Not all of the mods are crucial and are client-side only. I only need to check for the crucial ones. If the player doesn't have all of these, they need to be kicked with a custom message, including a link to where the modpack can be downloaded.
I don't know much about plugins or stuff so how could I do this?
5 Replies
Thanks for asking your question!
Once you have finished, please close your thread.
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
command to close
/close
!close
!solved
Requested by iwaku#0
Is your server forge, spongeforge or fabric?
forge
sorry i missed your reply
Forge immediately tells you what mods you're missing when you try and join.
I believe the main thing is he’s looking for maybe some kind of link to download or placing the mod pack name in the fail to join message.
Which tbh isn’t too important, I’d just be sure to have the mod pack name in the server MOTD.
To build on Leche, the message already disregards client side mods or only server side mods, it’ll only let u kno which required mods u’ll need if u don’t have them