This package has been deprecated

Author message:

rbx-net is deprecated in favour of @rbxts/net as per package changes for roblox-ts@>=0.1.0

rbx-net
TypeScript icon, indicating that this package has built-in type declarations

0.6.1 • Public • Published

Roblox Networking Library (Typescript)

TypeScript version of ModRemote for roblox-ts.

Requirements

This requires roblox-ts as it is a roblox-ts module. Future Lua support will be added once roblox-ts has a bundling feature.

Installation

It's as simple as npm i rbx-net.

Then you can easily import it using

import Net from 'rbx-net';

Why use RBX-NET?

Ease of Use

  • All you need to do to use a RBX-NET remote is a name. RBX-NET handles all the instance-related magic for you. Gone are the days where you quietly die inside by using a single remote because you don't want to have to manage 100's of different remotes.

Asynchronous Methods

  • The ability to wait until remotes are created before using them
  • Calls with RemoteFunctions can run and return a result without yielding your code.

Caching

  • Remote Function values can be cached, meaning that any subsequent requests will not perform unnecessary requests.

Throttling

  • Limit the amount of requests in a span of time (default 60 seconds) that your server code allows via throttling.

Usage

Usage can be found at README_Documentation

Package Sidebar

Install

npm i rbx-net

Weekly Downloads

0

Version

0.6.1

License

MIT

Unpacked Size

33.5 kB

Total Files

6

Last publish

Collaborators

  • vorlias