Socket
Book a DemoInstallSign in
Socket

@rbxts/matter-bootstrap

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rbxts/matter-bootstrap

A simple class that handles everything needed to bootstrap a Matter world including hot-reloading, live debug, networking (using ``@rbxts/yetanothernet``), and component replication.

1.4.0-matter-0.9.0-beta-2
latest
Source
npmnpm
Version published
Weekly downloads
21
2000%
Maintainers
0
Weekly downloads
 
Created
Source

@rbxts/matter-bootstrap

A simple class that handles everything needed to bootstrap a Matter world including hot-reloading, live debug, networking (using @rbxts/yetanothernet), and component replication.

// server/index.ts
import { ServerStorage } from "@rbxts/services"
import MatterBootstrap from "@rbxts/matter-bootstrap"
import { Components } from "shared/components"

new MatterBootstrap(ServerStorage.MatterSystems, Components)
// shared/components.ts
import { component } from "@rbxts/matter"
import { Replicated } from "@rbxts/matter-bootstrap"

export class Components {
	@Replicated
	public static readonly secondsPlayedTimer = 
		component<{
			secondsPlayed: number
		}>("secondsPlayedTimer")
}

FAQs

Package last updated on 17 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.