Limit Connections To Server

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
olds
New to forums
New to forums
Posts: 4
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Aug 30, 2016 5:42 am

Limit Connections To Server

Post by olds »

Sorry if wrong forum, new to this.
If I get a server with a 50 player limit (3 GB RAM) , can I force a 25 player cap? I am thinking about performance issues. Currently on a 25 player server (2 GM RAM) and we constantly crash from memory issues.
Thanks.
User avatar
crashmultiz
New to forums
New to forums
Posts: 12
Joined: Tue Aug 16, 2016 9:50 pm
Location: United States, California

Re: Limit Connections To Server

Post by crashmultiz »

what game are you talkin about?
olds
New to forums
New to forums
Posts: 4
Joined: Tue Aug 30, 2016 5:42 am

Re: Limit Connections To Server

Post by olds »

Rust.
I realize the crashes may be mod induced but I am asking about limiting the number of players in a Rust server.
Thanks.
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Limit Connections To Server

Post by kraze »

I don't believe you'll be able to do this natively, but you should be able to use an Oxide plugin to reject players after a certain amount of slots are filled.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
olds
New to forums
New to forums
Posts: 4
Joined: Tue Aug 30, 2016 5:42 am

Re: Limit Connections To Server

Post by olds »

Thanks!
User avatar
TacTicToe
This is my homepage
This is my homepage
Posts: 848
Joined: Fri Feb 18, 2011 1:08 pm
Location: USA
Contact:

Re: Limit Connections To Server

Post by TacTicToe »

Just add to the startup command line

+server.maxplayers 25

or the server.cfg file

server.maxplayers 25
olds
New to forums
New to forums
Posts: 4
Joined: Tue Aug 30, 2016 5:42 am

Re: Limit Connections To Server

Post by olds »

Cool, thank you.
Post Reply