# Is there a default 16 player limit for multiplayer?

**URL:** <https://forums.unrealengine.com/t/is-there-a-default-16-player-limit-for-multiplayer/465515>\
**Category:** Multiplayer & Networking\
**Tags:** Replication, Server, unreal-engine, Multiplayer, lobby, question\
**Created:** [May 20, 2020, 12:04pm UTC](https://forums.unrealengine.com/t/is-there-a-default-16-player-limit-for-multiplayer/465515 "2020-05-20T12:04:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nayan1324](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nayan1324](https://forums.unrealengine.com/u/nayan1324)\
**Post date:** [May 20, 2020, 12:04pm UTC](https://forums.unrealengine.com/t/is-there-a-default-16-player-limit-for-multiplayer/465515/1 "2020-05-20T12:04:03Z")

</div>

I’m trying to run a server over LAN and open it up to a larger group (office-wide of around 100 people). I have the project working where people can join in and spawn/possess fine and see each other, but there seems to be a limit of 16 players in the session at one time - even if i use PIE with 20 players, the last four wont join the session. I have set the public connections limit above 16 when creating the server but is there any other common setting I may be missing?

---

<div class="post-metadata">

**Author:** ![QUANDINI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@QUANDINI](https://forums.unrealengine.com/u/QUANDINI)\
**Post date:** [May 20, 2020, 12:32pm UTC](https://forums.unrealengine.com/t/is-there-a-default-16-player-limit-for-multiplayer/465515/2 "2020-05-20T12:32:04Z")

</div>

There isn’t a hardcoded limit to the number of players. Maybe check how the players are being spawned? i.e. is there only 16 player starts? or even checking if there is a variable for max connections.

---

<div class="post-metadata">

**Author:** ![nayan1324](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nayan1324](https://forums.unrealengine.com/u/nayan1324)\
**Post date:** [May 20, 2020, 1:01pm UTC](https://forums.unrealengine.com/t/is-there-a-default-16-player-limit-for-multiplayer/465515/3 "2020-05-20T13:01:03Z")

</div>

I’ve tried it with more than 16 player starts and it made no difference. When starting the session with a ‘create session’ node I have public connections set to 150 and still nothing. I really can’t see what I’m doing wrong that even a PIE session cant spawn more than 16 people in a single session, even in a blank project

---

<div class="post-metadata">

**Author:** ![QUANDINI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@QUANDINI](https://forums.unrealengine.com/u/QUANDINI)\
**Post date:** [May 20, 2020, 1:16pm UTC](https://forums.unrealengine.com/t/is-there-a-default-16-player-limit-for-multiplayer/465515/4 "2020-05-20T13:16:04Z")

</div>

so I did a bit of looking into this issue and have found this in the `DefaultGame.ini` file. the more you know!

```
 [/Script/Engine.GameSession]
        MaxPlayers=16

```

Hope this helps!

p.s. if this is not in there create it and set the max players value to what u want.

---

<div class="post-metadata">

**Author:** ![nayan1324](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nayan1324](https://forums.unrealengine.com/u/nayan1324)\
**Post date:** [May 20, 2020, 5:17pm UTC](https://forums.unrealengine.com/t/is-there-a-default-16-player-limit-for-multiplayer/465515/5 "2020-05-20T17:17:18Z")

</div>

I think that’s done it! Excellent, thank you for the help. I had a look in DefaultGame.ini initially but it didn’t have the max players line in my project, adding it manually seems to have worked. Thank you so much - do you know why that line in DefaultGame differs from project to project?

---

<div class="post-metadata">

**Author:** ![JSwigart](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jswigart/32/469203_2.png) [@JSwigart](https://forums.unrealengine.com/u/JSwigart)\
**Post date:** [May 20, 2020, 5:34pm UTC](https://forums.unrealengine.com/t/is-there-a-default-16-player-limit-for-multiplayer/465515/6 "2020-05-20T17:34:18Z")

</div>

Probably because it gets written out by the project the first time a game session is created by the AGameSession class

```
UPROPERTY(globalconfig)
int32 MaxPlayers;
```
