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