Advertisement
master3395

Roblox plugin update 15.1.2014

Jan 15th, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. Updated Studio Plugins
  2. =================
  3.  
  4. Overview
  5.  
  6. * New file format: Plugins can now be loaded from .rbxm model files, allowing you to include arbitrary roblox content in addition to scripts
  7. * If you put an .rbxm file in the Plugins folder it will be loaded like script plugins
  8. * The model will be searched for Script objects where Disabled == false and run them
  9. * Will not run LocalScripts
  10. * 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.
  11. * “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
  12. * Note: the model will not be saved between runs. Use the new pluign persistence API to store data between sessions
  13. * Plugin uploading: the website will be updated to allow uploading plugins just like any other model. To do this from studio
  14. * Select the contents of your plugin
  15. * right-click
  16. * Select “Publish as Plugin…”
  17. * 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.
  18. * Plugin management: there will be a plugin management page accessible from studio to allow you to temporarily disable installed plugins, or to delete them.
  19. * New Function: Plugin:SetSetting(string key, luaValue value)
  20. * Stores the value for later use under the key
  21. * This value will persist even if studio is closed
  22. * Instances and lua functions will not be stored correctly
  23. * 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.
  24. * New Function: Plugin:GetSetting(string key) retrieves a previously stored value, or nil if no key is found
  25. * When calling Toolbar:CreateButton, you can use a roblox image asset url for the button icon
  26. * New Function: Plugin:GetStudioUserId(). Returns studio user’s userID if they are logged in, otherwise returns 0
  27.  
  28.  
  29.  
  30. Getting the Update
  31.  
  32. * Go to gametest5.robloxlabs.com and try to join a game
  33. * If you don’t have the gt5 client, your browser will start downloading it
  34. * Run the download
  35. * 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.
  36. * Start roblox studio using a shortcut from windows start menu, or apple applications folder
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement