RoyaleWindRoyaleWind

RW Buckets

Standalone bucket (routing) management system for FiveM & RedM.

RW Buckets is a standalone routing bucket manager for FiveM and RedM. It wraps the game engine's native routing bucket system — the mechanism that decides which players and entities can see and interact with each other — behind simple string-keyed exports and admin commands, so you don't have to juggle raw numeric bucket IDs yourself.

Why routing buckets?

Every player and entity on a server starts in routing bucket 0. Two entities placed in different buckets can't see, hear, or collide with each other, even while standing at the exact same coordinates — the game keeps their state completely isolated. This is the building block behind instanced content: private missions, heist interiors, minigames, anti-cheat isolation, and more.

RW Buckets handles the bookkeeping that comes with using that system directly:

  • Named buckets — refer to a bucket by a string key (e.g. 'mission_alpha') instead of tracking numeric IDs yourself.
  • Automatic ID management — numeric bucket IDs are allocated on demand and recycled once a bucket empties out, so IDs never leak or run out.
  • Player + vehicle helpers — move a player and the vehicle they're driving into the same bucket in one call.
  • Admin tooling — chat commands, plus an optional in-game menu, to inspect, audit, and reset buckets without touching code.

Installation

Download a release or clone the source code.

git clone https://github.com/RoyaleWind/rw_buckets.git

Install optional dependencies.

These resources aren't required but power the optional in-game buckets menu — see Configuration.

  • For FiveM &RedM: rw_datatable

Next steps

On this page