(8efab43bb) Added "setmaxplayers" command, allow clients to use "setpassword" and remove password protection if the password argument is empty.
This commit is contained in:
@@ -452,6 +452,10 @@ namespace Barotrauma
|
||||
|
||||
commands.Add(new Command("clientlist", "", (string[] args) => { }));
|
||||
AssignRelayToServer("clientlist", true);
|
||||
commands.Add(new Command("setmaxplayers|maxplayers", "", (string[] args) => { }));
|
||||
AssignRelayToServer("setmaxplayers", true);
|
||||
commands.Add(new Command("setpassword|password", "", (string[] args) => { }));
|
||||
AssignRelayToServer("setpassword", true);
|
||||
|
||||
AssignOnExecute("control", (string[] args) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user