How to Set Max Players on Your Minecraft Server

Learn how to change the maximum number of players that can join your Minecraft server at once. Includes recommended values and performance tips.

The max-players setting controls how many players can be connected to your Minecraft server at the same time. The default is 20, but you can set it anywhere from 1 to as high as your server can handle. Getting this right balances accessibility with server performance.

Setting Max Players

Stop your server

Access the XGamingServer panel and stop your Minecraft server.

Open server.properties

Go to Files. Open server.properties.

Change max-players

Change max-players= to your desired number.

Save and start

Click Save and start your server.

Screenshot: Editing max-players in server.properties

The right max player count depends on your server plan, server type, and what you're running:

Server TypeRecommended Max PlayersNotes
Vanilla Survival10–20Vanilla is unoptimized — keep it modest
Paper/Spigot (plugins)20–50Paper handles more players efficiently
Modded (Forge/Fabric)5–20Mods add significant per-player resource overhead
Large Modpacks (100+ mods)5–10Heavy modpacks need most resources for the mods themselves

Performance Impact

Every connected player adds load to your server. Each player generates chunk loading, entity processing, inventory tracking, and network traffic. Signs that your max players is set too high:

  • Low TPS (Ticks Per Second) — Check TPS by typing /tps in the Console on Paper/Spigot servers. Healthy TPS is 19.5-20.
  • Lag spikes when players explore new areas — Each player loading new chunks multiplies the generation workload
  • High RAM usage visible in Activity on the XGamingServer panel

If you're hitting performance limits, consider lowering max players and reviewing our Performance Guide for optimization settings like view distance and chunk pregeneration.

💡 Tip: Use a whitelist to control access rather than relying on a player cap alone. A whitelist ensures only approved players can join, even if you set max players higher than expected.

If you get stuck at any time, you can join our Discord.

How is this guide?

40% Off — Limited TimeGet your Minecraft server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page