Please leave a rating for my plugin, this is a passion project which means I am investing my free-time into this plugin Version 1.0.3:
-
Fixed VariableStorage, you can now store dynamic javascript types that don't exist in Java natively! - Errors and warns can now broadcast to operators (can be configured)
- entire plugin got reconstructed for more readability
-
FeatureFlags system! Take a look at the
Documentation for more information!
-
LoadScript and
UnloadScript and
waitForScript function!
- CUSTOM EVENTS: ScriptLoadedEvent and ScriptUnloadedEvent events
You can now share variables between multiple scripts without having to store them in the storage buffer, it will read and write variables and functions from the ram (like every other variable, except that they are shared between every script)
To make a variable public, you need to use the function "setPublicVar(Key, Variable)", here is an example:
Code (Javascript):
setPublicVar
("testVar","Hello world!")
To read a public variable from any script do the following:
Code (Javascript):
getPublicVar
("testVar")
It'll return the variable "Hello world!"
You can also store functions, lists, classes and much more! Make sure to take a look at the Documentation to learn more about it.
Please leave a review, it took me a lot of time making this plugin
You can now share variables between multiple scripts without having to store them in the storage buffer, it will read and write variables and functions from the ram (like every other variable, except that they are shared between every script)
To make a variable public, you need to use the function "setPublicVar(Key, Variable)", here is an example:
Code (Javascript):
setPublicVar
("testVar","Hello world!")
To read a public variable from any script do the following:
Code (Javascript):
getPublicVar
("testVar")
It'll return the variable "Hello world!"
You can also store functions, lists, classes and much more! Make sure to take a look at the Documentation to learn more about it.
Please leave a review, it took me a lot of time making this plugin