Configure Team Size on a Rust Server
In this article
This guide explains how to set the maximum team size on your Rust server, which controls how many players can group up in a team. You'll edit the server's configuration file or use console commands, then verify the change. No plugins are required for this basic setting.
What You'll Need
- Access to your Rust server's files (via FTP, file manager, or hosting panel).
- Ability to restart the server or run console commands.
- Basic knowledge of editing text files.
Step-by-Step
- Locate the server configuration file. On most servers, this is
server.cfgin the root directory of your Rust server installation. If you use a hosting panel, look for a "Config Files" or "Command Line" section. - Open the file in a text editor. Use Notepad, Notepad++, or any plain text editor. Avoid rich text editors like Word.
- Find or add the team size setting. Search for
team.max_team_size. If it exists, change the number after it. If not, add a new line:team.max_team_size 8(replace 8 with your desired maximum). - Save the file. Ensure the file is saved with the .cfg extension, not .txt.
- Restart the server. Use your hosting panel's restart button or stop and start the server process. This applies the new setting.
- Verify the change. Join the server, press
Shift + Tabto open the Steam overlay, and check the team menu. The max team size should reflect your setting.
Common Mistakes
- Using the wrong file name. Some hosts use
server.cfg, others useserver.cfg.txtor a different name. Check your hosting documentation. - Adding the line to the wrong place. The setting must be in the main server config, not in a plugin config or a separate file.
- Not restarting the server. Changes to server.cfg only take effect after a restart.
- Setting an invalid number. Rust typically allows 1 to 8 players per team. Values outside this range may be ignored or cause errors.
- Using a semicolon or extra spaces. The line should be exactly
team.max_team_size 8with a space, not a colon or comma.
Tips
- Use console commands for quick testing. You can set the team size without a restart by typing
team.max_team_size 8in the server console (if you have RCON access). This is useful for testing. - Back up your config. Before editing, copy the original server.cfg to a safe location. This lets you revert if something goes wrong.
- Check your hosting panel. Many hosts have a simple dropdown or field for team size in their control panel. This is often easier than editing files.
- Combine with other settings. You can also set
team.allow_team_creationto false to prevent new teams, if you want to force a specific size.
Troubleshooting
- The setting doesn't take effect. First, confirm you edited the correct file and restarted. Then check the server console for errors. If the line is misspelled or in the wrong format, the server may ignore it.
- Players can still form larger teams. This can happen if the server is using a plugin that overrides the vanilla setting. Check your plugin list and disable any team management plugins temporarily.
- The server won't start. If your server fails to boot after editing, you likely made a syntax error. Revert to your backup and try again, ensuring the line is formatted exactly as shown.
- Team size resets to default. Some hosts overwrite server.cfg on each start. In that case, use the hosting panel's command line options or a startup script to set the value persistently.
Frequently Asked Questions
What is the default team size in Rust?
The default is 8 players per team. This is the maximum allowed by the vanilla game.
Can I set team size to more than 8?
No, the vanilla game hard-caps team size at 8. To allow larger teams, you would need a plugin like Team Limits, which is beyond the scope of this guide.
Does team size affect performance?
Not directly. Larger teams may lead to more concentrated combat, which can increase server load, but the setting itself is just a number.
Can I change team size without restarting?
Yes, if you have RCON access, you can use the console command team.max_team_size 8 to change it on the fly. However, the change will not persist after a restart unless you also edit server.cfg.
Why isn't the team size changing for my players?
Players may need to re-log or create a new team for the change to apply. Existing teams might not be affected until they disband.
Is there a way to set different team sizes for different groups?
Not with the vanilla setting. That requires a plugin that allows per-group or per-permission team limits.