Browse Source

Add Server.Port to server.ini

Adam Johnson 10 years ago
parent
commit
16fb69c55f
  1. 10
      Sources/Plasma/FeatureLib/pfConsoleCore/pfConsoleCommandsCore.cpp

10
Sources/Plasma/FeatureLib/pfConsoleCore/pfConsoleCommandsCore.cpp

@ -112,6 +112,16 @@ PF_CONSOLE_CMD(
SetServerDisplayName(params[0]); SetServerDisplayName(params[0]);
} }
//============================================================================
PF_CONSOLE_CMD(
Server,
Port,
"int port",
"Set server's port"
) {
SetClientPort((int)params[0]);
}
//============================================================================ //============================================================================
// Server.File group // Server.File group

Loading…
Cancel
Save