====== Meta Blocks ======
Meta Blocks are special blocks of code quarantined from the global space. These blocks cannot access variables or data contained in the Script it self.

===== Director =====


--[[Director

EndDirector]]--


See Also: [[Director Events]], [[Director Properties]]

===== Image =====


--[[Image

EndImage]]--


An ascii representation of the Script's display icon stored as a base64 encoded string. Supports JPG, GIF, and PNG. Present in [[Meta Blocks v1|API Version 1]]

See Also: [[How to base64 encode an image]]
===== Login =====


--[[Login
return false
EndLogin]]--


Must return boolean true, if login was successful, or false, if not. This block enables the Username and Password field to be displayed when a user selects your script from the Plugins Tab in the PlayOn Settings window.

===== Options =====

--[[Options

--Lua code using System.Windows.Forms controls.

EndOptions]]--


present in [[Meta Blocks v1|API Version 1]]

See Also: [[Meta Options]]

===== Settings =====


--[[Settings
name = "Script Name";
id = "UNIQUE ID";
description = "Description of Script";
version = "1.0.0.0";
link = "http://www.your.url";
apiversion = "1";
EndSettings]]--


Id must be unique, the first Script with any ID is the only one loaded, PlayOn will ignore all others.

===== Update =====

--[[Update
return nil;
EndUpdate]]--