By default, 7D2D is soft-capped at 8 players. This guide explains how to bypass this limit and host up to 64 players sustainably.
Change ServerMaxPlayerCount in your serverconfig.xml. Note that pushing beyond 16 players requires industrial-grade hardware.