| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Plugin.State
Queries plugin state.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Plugin | 13.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Plugin.State" )
Parameters
none
Result
Returns Trial, Free, Licensed, Expired, Demo, Dead or an error.
Description
Queries plugin state.Result may be one of:
- Trial for a trial license.
- Free for the free tier when no function was used that needs a license.
- Licensed if a valid license is put in.
- Expired if a valid license is put in, but the maintenance is expired.
- Demo if no license is set and you used functions, that require one.
- Dead if demo mode was run too long.
Examples
Check expiration state:
If [ MBS( "Plugin.State" ) = "Expired" ]
Show Custom Dialog [ "MBS license maintenance expire…" ; "please update the license." ]
End If
Show Custom Dialog [ "MBS license maintenance expire…" ; "please update the license." ]
End If
Check state:
# New Script in file Assets
If [ MBS("Plugin.State") = "Free" ]
# you may need to use some more
Else If [ MBS("Plugin.State") = "Licensed" ]
# you have a license
Else If [ MBS("Plugin.State") = "Trial" ]
# you have a trial license
Else
# you may want to order something?
Open URL [ With dialog: Off ; "https://www.monkeybreadsoftware.com/filemaker/" ]
End If
If [ MBS("Plugin.State") = "Free" ]
# you may need to use some more
Else If [ MBS("Plugin.State") = "Licensed" ]
# you have a license
Else If [ MBS("Plugin.State") = "Trial" ]
# you have a trial license
Else
# you may want to order something?
Open URL [ With dialog: Off ; "https://www.monkeybreadsoftware.com/filemaker/" ]
End If
See also
Release notes
- Version 13.1
- Added Plugin.State function.
Example Databases
Blog Entries
This function is free to use.
Created 30th January 2023, last changed 3th November 2025