sv_maxclients
Also called max clients, max players
The server.cfg convar that sets how many players can be connected at once, bounded by OneSync and the licence key's slot allowance.
sv_maxclients sets the maximum number of simultaneous players. It goes in server.cfg, for example sv_maxclients 64, and it is read at startup, so changing it needs a restart.
Two things cap the value you can actually use. Without OneSync the engine supports only a small number of players, which is why every serious server enables it with set onesync on. With OneSync, the ceiling depends on the slot allowance of your licence key: free keys get a modest amount, and higher allowances come with Element Club tiers. Cfx.re changes these numbers from time to time, so check the current Element Club page rather than relying on a figure from a forum post.
Setting sv_maxclients higher than your key allows does not give you more slots. The server either clamps the value or refuses to start, depending on version, and the log tells you which.
The number also appears on the server list as the denominator of your player count. A server showing 12/2048 reads differently to a player than 12/64. Pick a value you could realistically fill and support, and raise it when the queue starts filling at peak.
Higher slot counts also raise the load on the server, on your scripts and on the database. Watch resmon and tick times as you scale, not just CPU.
Related terms
Trying to get your server seen?
The live leaderboard shows what the numbers look like at the top of the list, and the upvote calculator turns a target server into a campaign size. The full glossary is here.