Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

ServerSocket.SetAllowedScripts

Sets a list of allowed script names.

Component Version macOS Windows Linux Server iOS SDK
ServerSocket 3.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes

Deprecated

This function was deprecated. Use WebHook functions instead.

MBS( "ServerSocket.SetAllowedScripts"; Scripts )   More

Parameters

Parameter Description Example
Scripts Pass several texts here for the script names. "ServerSocket_PrintReceipt"

Result

Returns number of scripts.

Description

Sets a list of allowed script names.
If this command is used, the plugin will only launch scripts with the names in this list.
We recommend to prefix the script names for use with ServerSockets, so you don't risk of having two scripts with same name.

Examples

Allow two scripts:

MBS( "ServerSocket.SetAllowedScripts"; "ServerSocket_PrintReceipt¶ServerSocket_Notify" )

See also

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 17th October 2021


ServerSocket.SendQuery - ServerSocket.SetAllowedTypes