Plugin.State
------------

Queries plugin state.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Plugin](component_Plugin.md) | [13.1](newinversion131.md) | ✅ 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  
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  
### See also

- [Plugin.Path](PluginPath.md)
- [Plugin.Seats](PluginSeats.md)
- [Register](Register.md)

### Release notes

- **Version 13.1**
    - Added [Plugin.State](https://www.mbsplugins.eu/PluginState.shtml) function.

### Example Databases

- [Registration/Registration](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Registration/Registration.shtml#1297FieldAnchor_)

### Blog Entries

- [New in MBS FileMaker Plugin 13.1](https://www.mbsplugins.de/archive/2023-03-15/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.1pr1](https://www.mbsplugins.de/archive/2023-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 2/2026, Seite 33](https://filemaker-magazin.de/neuigkeit/4318-Die-neue-Ausgabe-FMM_202602-steht-online)
- [Ausgabe 2/2026, Seite 31](https://filemaker-magazin.de/neuigkeit/4318-Die-neue-Ausgabe-FMM_202602-steht-online)

This function is free to use.

Created 30th January 2023 , last changed 25th February 2026

  
[Plugin.StartTimeStamp](PluginStartTimeStamp.md) - [Plugin.TiffVersion](PluginTiffVersion.md)

[HTML Version](PluginState.shtml)