alleycat 28 Posted September 23, 2013 Is it possible to white/blacklist addons for a server? Share this post Link to post Share on other sites
ramius86 13 Posted September 23, 2013 server.cfg verifysignature= 2; put bikey of addons in /keys directory Share this post Link to post Share on other sites
alleycat 28 Posted November 1, 2013 Does that allow optional mods or force to have the mods? Share this post Link to post Share on other sites
terox 316 Posted November 1, 2013 Does that allow optional mods or force to have the mods? the bikeys define what is allowed on the server the actual addons that are required is done on a per mission basis and is defined in the mission automatically when developing the mission in the editor Share this post Link to post Share on other sites
alleycat 28 Posted November 2, 2013 the actual addons that are required is done on a per mission basis and is defined in the mission automatically when developing the mission in the editor I coded a mod that changes certain weapons and I would like to check if clients have it loaded. How would I do that? I dont see anything in the scripting commands for that and the addon is not written into the mission.sqm. Share this post Link to post Share on other sites
terox 316 Posted November 3, 2013 I coded a mod that changes certain weapons and I would like to check if clients have it loaded. How would I do that? I dont see anything in the scripting commands for that and the addon is not written into the mission.sqm. add something from the addon that creates addon dependancy, for example, if this is a weapons addon, it will most likely have a custom addon crate, place this somewhere on the map. It doesnt have to be anywhere where a player can find it, all you are after is adding to the mission.sqm addons or addonsauto. Alternatively manually add the required addon The only way to do it scriptwise is to do something like the following if !(IsDedicated) then { If(isclass (configfile >> "cfgweapons" >> "classname")then{player setvariable ["HasAddon",TRUE,TRUE]}else{player setvariable ["HasAddon",FALSE,TRUE]}; }; Then on the machine you want to report on any clients that do not have the addon loaded, do something like this { if((Isplayer _x)&& !(_x getvariable "HasAddon"))then{player sidechat format [" %1 does not have the required addon",name _x]}; }foreach playableunits; Share this post Link to post Share on other sites