Page 1 of 1
/cap command (changes the group cap for the server)
PostPosted: Sat Jun 04, 2011 10:28 pm
by volty
See attached.
/cap #...does no error checking if you don't put in the argument. Will remove groups will a # of players above the new cap.
Re: /cap command (changes the group cap for the server)
PostPosted: Sun Jun 05, 2011 12:11 am
by Hiatus
Don't forget to add the method to refresh server properties in there, so it will update automatically instead of typing /propsrefresh (or w.e. the command is) after you use the /grpcap cmd.
Re: /cap command (changes the group cap for the server)
PostPosted: Sun Jun 05, 2011 2:36 am
by volty
Actually on my test server it worked as-is without refreshing the props. If I added the refreshproperties it reset the cap back to the default of 8 =/
Re: /cap command (changes the group cap for the server)
PostPosted: Sun Jun 05, 2011 2:40 am
by Hiatus
Hm, alright then if it works it works

Nice and thanks!
Re: /cap command (changes the group cap for the server)
PostPosted: Sun Jun 05, 2011 8:42 am
by Graveen
Thank you Volty, not sure if i'll include it in SVN as we have the SP, but why not. Anw ty for your contribution
