The Spotlight feature documented here is what I mean: https://community.bistudio.com/wiki/Arma_3_Main_Menu
Since we are allowed to alter the center spotlight through config in an addon, it would be extremely convenient if it could be made to connect to a specific server.
I'm guessing there's a (security) reason no script command exists to connect to a server, so it could for example be hardcoded in the engine to happen only with this specific Spotlight control, if the class contains a set of attributes with the relevant server details.
Example config to demonstrate idea:
class RscDisplayMain: RscStandardDisplay { class Spotlight { class MyCommunityServer { text = "Join the server"; ... serverJoinEnabled = 1; serverAddress = "1.2.3.4"; serverPort = 2302; serverPassword = "abc"; }; }; };
With this spotlight shown, clicking it would join that server.