Mabes 0 Posted September 24, 2007 Is it possible to keep someone from joining if they're using a certain addon? Like if someone is using the XAM mod and they connect to the server, they'll be kicked. Share this post Link to post Share on other sites
Junker 0 Posted September 24, 2007 this line in the server config should stop the mods. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> equalModRequired=0; Share this post Link to post Share on other sites
poweruser 10 Posted September 24, 2007 This can be done with server side scripting: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">onUnsignedData = "if( (_this select 1) in [""modfolder\addons\addonfile.pbo""] ) then { kick (_this select 0);};"; Bad thing is: As soon as someone changes the modfolder name or the addon file name, this method won't work anymore. It's sad that Arma doesn't support any wildcards in strings, like  *  and  ? If it would you could do something like this: [""*\addons\addonfile.pbo""] gets rid of the problem with the modfolders Share this post Link to post Share on other sites
[aps]gnat 28 Posted September 24, 2007 If it would you could do something like this:[""*\addons\addonfile.pbo""] gets rid of the problem with the modfolders But even that would fail if the user re-packed the same PBO into another filename. Share this post Link to post Share on other sites
poweruser 10 Posted September 24, 2007 correct. but it should block at least 8 out of 10 players who use a not allowed addon, because they don't know about this type of addon-check and even <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">equalModRequired=1;can not hold off a player who really wants to play with mods Share this post Link to post Share on other sites
killswitch 19 Posted September 24, 2007 and even <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">equalModRequired=0;can not hold off a player who really wants to play with modsYeah, that wouldn't do much. At all. Using <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">equalModRequired=1;however, would require players to use the same -mod=... parameter list (or no mod parameter at all) as the server. This will catch most casual mod users from ruining other people's MP experience with conflicting mod usage crashing servers and clients. After that, if someone insists on using a certain mod by way of being "clever", he or she gets a free ticket to ban.txt. Share this post Link to post Share on other sites
Dwarden 1125 Posted September 24, 2007 well in theory this should be incorporated with signature system ... Share this post Link to post Share on other sites