Build several packages from one codebase

Library System lets you (or your AI agent) list, install, remove and publish libraries without leaving the s&box editor. Keep every system you want to share as a library inside one game project, test it there, and ship each one as its own package.

What you get

  • One codebase, many packages (Libraries/): Keep every system you share as a library inside your game, test it there, ship each one alone.
  • Editor window (Tools → Library System): Every library in the project with Versions, Publish and Remove, plus an Install box.
  • MCP tools (libraries toolset): The same four actions for scripts and AI agents on the editor's MCP server.
  • Publish in one step (library_publish): Compiles when there's code, uploads the files and publishes a new revision with your title.

How to use

  1. Install it. Library Manager → search Library System → Install, then restart the editor.
  2. Keep systems as libraries. Each system you want to share lives in Libraries/ as its own library.
  3. Publish. Tools → Library System → Publish, or call library_publish with the library's ident.
  4. Release when ready. New packages start Hidden; switch to Released on the package's sbox.game edit page.

MCP tools

  • library_versions: lists published versions and the one you have installed.
  • library_install: installs a library by ident (versionId 0 = newest).
  • library_uninstall: removes a library and deletes its folder.
  • library_publish: publishes a new version, with an optional change title.

Good to know

  • Editor-only: nothing ships with your game.
  • Newly installed libraries load after an editor restart.
  • New packages start Hidden until you release them.
Part of the same family as our Lobby and Checkpoint System packages, all built from one game project.