Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Updated Studio Plugins
- =================
- Overview
- * New file format: Plugins can now be loaded from .rbxm model files, allowing you to include arbitrary roblox content in addition to scripts
- * If you put an .rbxm file in the Plugins folder it will be loaded like script plugins
- * The model will be searched for Script objects where Disabled == false and run them
- * Will not run LocalScripts
- * If a Script is added at runtime to the plugin, or if a script becomes enabled it will _not_ be run as part of the plugin Only scripts that are present and enabled at load time will be run.
- * “plugin” global variable will be added to plugins using the new file format. You should only use this Plugin object, and should no longer user PluginManager():CreatePlugin() if you are using the new model file format
- * Note: the model will not be saved between runs. Use the new pluign persistence API to store data between sessions
- * Plugin uploading: the website will be updated to allow uploading plugins just like any other model. To do this from studio
- * Select the contents of your plugin
- * right-click
- * Select “Publish as Plugin…”
- * Plugin downloading: the website will be updated to allow users to install plugins from the Roblox website. If you navigate to a plugin’s asset page in the studio browser, you will be able to install plugins directly. This page will also support upgrading to newer versions of the plugin.
- * Plugin management: there will be a plugin management page accessible from studio to allow you to temporarily disable installed plugins, or to delete them.
- * New Function: Plugin:SetSetting(string key, luaValue value)
- * Stores the value for later use under the key
- * This value will persist even if studio is closed
- * Instances and lua functions will not be stored correctly
- * please use simpler types like tables, strings, numbers, etc). Key only needs to be unique per plugin, with the caveat that all local .rbxm files in the plugins folder will share one settings namespace; once you publish your plugin through the website, it will have private storage.
- * New Function: Plugin:GetSetting(string key) retrieves a previously stored value, or nil if no key is found
- * When calling Toolbar:CreateButton, you can use a roblox image asset url for the button icon
- * New Function: Plugin:GetStudioUserId(). Returns studio user’s userID if they are logged in, otherwise returns 0
- Getting the Update
- * Go to gametest5.robloxlabs.com and try to join a game
- * If you don’t have the gt5 client, your browser will start downloading it
- * Run the download
- * After a few seconds, the installer will go away, and the web page will show the normal loading screen (e.g. “Noobing gibson pylons”). You can cancel here.
- * Start roblox studio using a shortcut from windows start menu, or apple applications folder
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement