AcoVar is the memory of the network. Your scripts write into a real database on your website and read it back from any object, on any region, at any time.

The problem it solves
LSL has no lasting storage. Whatever a script knows lives inside that one script, in very little memory, and is lost with a reset. Sharing data between two objects, or between an object and a website, has always meant building your own server.
With AcoVar the server is already there. You create a table in the admin area of your site, and your scripts use it.

How data is organised
Level | What it is | Example |
|---|---|---|
Table | One table per app or purpose, created on the website | wardrobe, highscores, club |
Owner | Whose data it is: an avatar, or a free term for shared data | your avatar key, global |
Folder | A free sub-key per owner, numeric or by name | outfit-1, settings, dj |
Field | Name and value. Scripts add fields freely | name = Midnight Blue |
What your scripts can do
Function | What happens |
|---|---|
Write | Store one or many fields in one request |
Read | Fetch exactly the fields you ask for, in the order you asked |
Delete | Remove single fields or a whole folder |
List folders | See which folders an owner has |
Search | Find owners by value, with wildcards and combined conditions. Only in tables you mark as searchable |
Quota | Ask how much space is used and how much is left, to show it in your app |
Save and load in a few lines
// Save the name of outfit 1 for the wearer of this HUD
string value = llStringToBase64("Midnight Blue");
llMessageLinked(LINK_THIS, 11002,
"20002##varwrite##acovar:/wardrobe####outfit-1##name%%" + value, NULL_KEY);
// Read it back, from this or any other object of the same owner
llMessageLinked(LINK_THIS, 11001,
"20002##varread##acovar:/wardrobe####outfit-1##name", NULL_KEY);
// The answer arrives as a link message on port 20002:
// vardata##wardrobe##<owner>##outfit-1##name%%<base64 value>The object carries the AcoNet-Out library script. Values travel Base64-encoded, so any character is safe.
Examples
Outfits and settings
- A HUD stores every outfit in a folder of its own
- A new copy of the HUD finds everything again
High scores and progress
- Game machines on many regions write into one table
- The board in your club shows the same list as the one in your shop
Social search
- Members store languages and interests in a profile folder
- One search finds everyone who speaks German and works as a DJ
Club and shop data
- Stream address, opening hours and staff list live in one place
- Change it once on the website and every object knows
Protection and limits

- An access key can be read-only, read and write, or full, per table
- Writing into the data of another avatar needs a full key. Ordinary keys only write for the owner of the calling object
- Single records can carry their own read and write passwords
- Per table you choose how it is limited: counted against the member's storage pool, limited by number of folders, or unlimited
- Members can switch off an app to free their pool. Its data stays stored and comes back when the app is switched on again
On the website
- Create, view, edit and delete tables and entries in the admin area
- Export a table as CSV, import it again, or back up all tables at once
- For one avatar key: see all stored data, export it or delete it completely, for support and privacy requests
The other services
AcoDNS
A permanent address for every object, and messages between objects anywhere on the grid.
AcoVPN
AcoNet on your own website. You set the limits yourself, for you and for the users of your products.
AcoAPI
Call the functions of your website from LSL, and let your website call your objects.

