Change relationshipmanager.maxteamsize?
Hiya,

Would it be possible to change relationshipmanager.maxteamsize from a plugin?

Any plugins that do this that I could refer to?

And does anyone know what happens to existing teams when the teamsize changes?

Thanks in advance,

Tony.

"And does anyone know what happens to existing teams when the teamsize changes?"

Nothing


"Would it be possible to change relationshipmanager.maxteamsize from a plugin?"

Its a command, you can call commands from plugin with

Server.Command("bla bla bla");
You could try editing:
RelationshipManager.maxTeamSize​


or you could just send the console command as Orange suggested.

not sure what your asking but how about this

https://umod.org/plugins/group-limits

limits group sizes to max number. 

when more than the set number auth on something the first will be de authed.  eg turret, TC.
Thanks chaps, looks like I have a few options :)

this plugin dont change relationshipmanager.maxteamsize its only inform you about max team

nashslash

not sure what your asking but how about this

https://umod.org/plugins/group-limits

limits group sizes to max number. 

when more than the set number auth on something the first will be de authed.  eg turret, TC.

 

 

this plugin only inform yoou dont change relationshipmanager.maxteamsize

I know this is old, but many people keep mentioning "Group-limits" Or some other plugin. but there is no plugin FOR TEAM size.. Only plugins that put auth restrictions on code locks, tc's, etc.

 

What you have to do is create a ascript or (What I did) Stuck it inside of another script/plugin. On load/start up just put this anywhere within the block of code:

server.Command("relationshipmanager.maxteamsize 3");

This would LOCK the team size to 3. Once 3 people have been added to your team, it WILL NOT allow you at add any other team mates.

If you wanted to be lazy and/or dont mind typing it in EVERY server restart/wipe, then you could literally just paste that line into the console (if you have admin auth), OR Via RCON such as RUST ADMIN Tool.

Found an even easier way to automate it without the need of an extra script being called. You can just put the following command in your server config file (server.cfg) - it will load automatically each time your server starts up.

relationshipmanager.maxteamsize 2

This would be an example for a solo / duo server with a max. team size of 2 people