RE:CORD
Server API

countPlayersByGang

Server API for REC_Core, with configuration and implementation details.
Added
Updated
Server side

Count loaded characters matching the gang conditions.

ArgumentTypeDescription
gangstring|string[]One gang name or a list of accepted names.
gradestable<integer, true>|integer[]?Set or list of accepted grade levels; nil or an empty table allows all.

A trailing ? marks an optional argument.

Returns integer.

exports.REC_Core:countPlayersByGang(gang, grades)
©2026 RE:CORD Development Group. All rights reserved.