Blog tools

Blog archives

Bots Playground code autocompletion

Bots Playground is powered with a modern code editor (we use CodeMirror).

We added code completions like those in professional code editors. Playground editor now suggests SmartBots API function names and objects.

It also suggests context-aware parameters for SmartBots API and embedded Playground functions.

(more…)

Webhooks available at Bots Playground

Incoming webhooks are now available at Bots Playground, giving your scripts an ability to receive data directly from your servers:

const webhook = await http.requestWebhook();

Bot.on("playground_webhook", (event) => {
  console.log("Data received:", event);
});

This addition opens up a wide range of possibilities:

  • receive remote commands,
  • integrate with third-party services (like Discord),
  • create two-way communication bridges between your servers and Second Life.
(more…)

Bots Playground: new user settings and categories

We’ve released a set of updates aimed at making the SmartBots Playground more reliable and easier to tailor to individual scripts.

What’s new:

  • New versioning
  • New features
  • Bug fixes
  • Store updates
(more…)

Bots Playground Is Up and Running

Bots Playground is fully operational again. All scripts are now running smoothly.

The Playground was originally launched as a proof-of-concept to support a few dozen user scripts. Since then, it’s grown significantly and now runs several thousand scripts simultaneously. This scale has brought engineering challenges.

Issue details

During our recent platform migration, we upgraded the JavaScript sandboxes to run across multiple servers. However, a configuration oversight (specifically, a network socket limitation on the main Playground process) caused an unexpected cluster-wide crash.

(more…)
Older Posts »