Deploy Plugin

This plugin allows you run scripts from file paths. This allowing you to run lua scripts from the internet.

Functions:

deploy.runScript(pathToScript, directory, simPath, encryptionKey)

-- run lua script

pathToScript(string) path to script

directory(Constant) Directory Constants

simPath(string)(optional) in simualtor you can set a diffrent path to the script (note the directory is system.ResourceDirectory)

encryptionKey(array)(optional) examples: {1,2,3,4,5}, {34345123,234234,23433924995,954032,355} . Array of 5 numbers to decrypt code. Also if a simPath is set it will encrypt your code and output it to the pathToScript and directory (note system.ResourceDirectory is not readable)

deploy.printEncryptedCode(code, encryptionKey)

--print encrypted code

code(string) code to encrypt

encryptionKey(array) examples: {1,2,3,4,5}, {34345123,234234,23433924995,954032,355} . Array of 5 numbers to decrypt code. Also if a simPath is set it will encrypt your code and output it to the pathToScript and directory (note system.ResourceDirectory is not readable)

deploy.runCode(code, encryptionKey)

--run code

code(string) code to run

encryptionKey(array)(optional) examples: {1,2,3,4,5}, {34345123,234234,23433924995,954032,355} . Array of 5 numbers to decrypt code. Also if a simPath is set it will encrypt your code and output it to the pathToScript and directory (note system.ResourceDirectory is not readable)

Build Settings:

Helpful Links:

Example

Support