Buckets
SERVER FUNCTIONS
bucket_list
Stores bucket definitions for script use. If you need the full list for any reason you can access it this way.
get_bucket
Returns the full bucket config for a given ID.
Parameters
id:
string
Returns
table | nil
get_bucket_by_label
Returns the bucket config matching a label.
Parameters
label:
string
Returns
table | nil
get_bucket_spawn
Returns the spawn point for a bucket.
Parameters
id:
string
Returns
vector4 | nil
get_bucket_respawn
Returns the respawn point for a bucket.
Parameters
id:
string
Returns
vector4 | nil
is_bucket_staff_only
Checks if a bucket is staff-only for a given role.
Parameters
id:
string
role:
string
Returns
boolean
is_bucket_vip_only
Checks if a bucket is VIP-only for a given level.
Parameters
id:
string
vip_level:
number
Returns
boolean
apply_bucket_settings
Applies population and lockdown mode to all defined buckets.
Last updated