Buckets
The utility library includes a small set of routing bucket related functions.
Routing bucket functions are server side only.
Functions
Below is a list of all the available functions related to bucket which can be accessed through the utils object.
set_player_bucket
Can be used to set a player into a different routing bucket.
get_bucket_settings
Can be used to retrieve the settings for a specified bucket.
get_player_bucket
Can be used to retrieve the bucket ID the player is in.
get_players_in_bucket
Can be used to retrieve all players within a bucket.
reset_player_bucket
Can be used to reset a players bucket back to default 0.
temp_bucket
Can be used to place a player in a temporary bucket for a specified amount of time.
Last updated