A replacement for localStorage
that can be used to hold information for reuse in later sessions of the same game. (This must be enabled via browser-options
with the winset()
proc.)
There are three actual storage objects you can use:
hubStorage | Stores info that can be shared for all games falling under this same hub entry. (This will not be available without a hub path.) |
---|---|
serverStorage | Stores info that can be shared for all games with the same hub path using this same server address. |
domainStorage | Same as serverStorage, but ignores the connection port. |
Interacting with these storage objects is done in JavaScript, the same way you would use localStorage
or sessionStorage
.
Note
Technically
localStorage
does work, but because of the way BYOND handles browser controls it acts more likesessionStorage
in practice.