Original illustration for How to Create Sandboxels Mods

Editorial graphic — not a gameplay screenshot.

Advanced Advanced

How to Create Sandboxels Mods

Start with the official modding tutorial, test locally, then submit through the public repository process. This site does not host your code.

Introduction

Creating a Sandboxels mod means writing JavaScript that adds or changes elements, tools or behaviours in the game. This guide gives you a practical starting path — it does not claim to replace the official modding tutorial, and it does not host your code.

Start with the official tutorial

Use the Sandboxels modding tutorial on the official wiki first. It explains the element format, categories, behaviours and reactions that your mod will use. Skipping it and copying random code is the fastest way to build something that breaks on the next game update.

Build small, test locally

  1. Start with one element or one tool, not a whole system.
  2. Test it in the game, alone, before adding more.
  3. Keep a note of what your mod changes, so players (and future you) can tell whether a conflict is yours.
  4. Use clear names and avoid overwriting vanilla elements unless that is the point of your mod.

Tools that help creators

Elements Manager (elementsManager.js, by ggod) lets you create and edit custom elements in the game, which is useful for prototyping. It does not replace writing and testing your own mod file, but it can help you learn the element format.

Submitting your mod

Mods submitted to the public repository (github.com/R74nCom/Sandboxels-Mods) are listed on the official mod list. Read that repository's contribution guidelines before submitting, and make sure your submission describes what the mod adds, what it changes, and any known conflicts. This site also accepts submissions for manual review, but it does not publish them automatically and it does not replace the official repository.

Common creator mistakes

  • Building a huge mod before testing a small one.
  • Not documenting changes, so players cannot debug conflicts.
  • Claiming compatibility you have not tested.

Frequently Asked Questions

Do I need to know JavaScript?

Yes, for a real mod file. Elements Manager can help you prototype, but a published mod is JavaScript.

Where do I submit a mod?

Through the public repository process described above, following its contribution guidelines.

Can this site publish my mod?

Only after manual review, and only as a directory listing with its source — this site does not host mod files.