Previous Topic

Next Topic

Book Contents

Creating New Battlefield 2 Game Server

Once a game server operator's account is created, you can create a Battlefield 2 game server on the account. For this, you need to configure Plesk to access through SSH the remote host where the Battllefield 2 game server is to be installed and specify the full URL to the Battlefield 2 game server autoinstaller file. The Plesk game server module will automatically install the game server on the remote host.

To install a new Battlefield 2 game server follow these steps:

  1. Open the Battlefield 2 Server Manager (Modules > Battlefield 2 Server Manager). The Game Server Operators window opens. The list of game server operator accounts is displayed.
  2. Open a game server operator account by clicking the <client account name> in the Name column of the game server operators list. The Battlefield 2 Game Servers of <client account name> window opens.
  3. Under Tools, click Add Game Server. The Select the game hosting accounts at which to deploy a game server opens.
  4. Under Remote server connection details, fill out the following fields:
  5. Click OK. The game server creation wizard checks if the login information supplied is valid and determines the user status in the system. If the user is a superuser, Plesk will offer to create a user with the limited home directory access and modification rights, which are sufficient for the Battlefield 2 game server installation and management. In this case, you will be prompted with a dialog box displaying the following notification message:

    The specified account has superuser privileges. We recommend that a separate user account be created for running game servers. Would you like to create another user account for this purpose?

  6. Click OK. Plesk configures access to the remote host through SSH and creates a user with the username "bf". The Select directory with server binaries window opens.

    Note: If you fail to configure Plesk access to the remote host at the first attempt, you may have to restart the game server creation wizard to get rid of the error message.

  7. In the Select directory with server binaries window, specify the path to the directory where to install the new Battlefield 2 game server and the URL for the Battlefield 2 game server autoinstaller file that Plesk will use to download and install a new Battlefield 2 game server on the remote host.
    1. Under Remote server connection details, fill out the following fields:
    1. Under Game server binaries directory, select the Install game server binaries from server distribution check box and fill out the following fields:
  8. Click OK. The Configuring Game Server window opens that contains two tabs - Configuration and Configuration files. The new entry appears in the game server management panel list in the Battlefield 2 Game Servers of <client account name> window.

The new Battlefield 2 game server creation is complete. For detailed instructions on how to configure the newly created game server, consult the "Configuring Game Server Parameters" and "Modifying Game Server Configuration Files" sections in the "Managing Battlefield 2 game server" chapter.

Adding Existing Battlefield 2 Game Server

Once a game server operator's account is created, you can add a existing Battlefield 2 game server on the account. For this, you need to configure Plesk to access through SSH the remote host where the Battllefield 2 game server is installed and define a path to the directory in which the game server files are located.

To add an existing Battlefield 2 game server, follow these steps:

  1. Open the Battlefield 2 Server Manager (Modules > Battlefield 2 Server Manager). The Game Server Operators window opens. The list of game server operator accounts is displayed.
  2. Open a game server operator account by clicking the <client account name> in the Name column of the game server operators list. The Battlefield 2 Game Servers of <client account name> window opens.
  3. Under Tools, click Add Game Server. The Select the game hosting accounts at which to deploy a game server opens.
  4. Under Remote server connection details, fill out the following fields:
  5. Click OK. The game server creation wizard checks if the login information supplied is valid and determines the user status in the system. If the user is a superuser, Plesk will offer to create a user with the limited home directory access and modification rights, which are sufficient for the Battlefield 2 game server installation and management. In this case, you will be prompted with a dialog box displaying the following notification message:

    The specified account has superuser privileges. We recommend that a separate user account be created for running game servers. Would you like to create another user account for this purpose?

  6. Click OK. Plesk configures access to the remote host through SSH and creates a user with the username "bf". The Select directory with server binaries window opens.
  7. In the Select directory with server binaries window, under Remote server connection details, fill out the following fields:
  8. Make sure that the Install game server binaries from server distribution check box under Game server binaries directory is cleared.
  9. In the Directory name field, specify the full path to the directory on the remote host where the game server is installed in the following format: /home/<game server directory>.
  10. Click OK. The Configuring Game Server window opens that contains two tabs - Configuration and Configuration files. The new entry appears in the game server management panel list in the Battlefield 2 Game Servers of <client account name> window.

The Battlefield 2 game server creation is added to the operator's account. For detailed instructions on how to configure the newly added game server, consult the "Configuring Game Server Parameters" and "Modifying Game Server Configuration Files" sections in the "Managing Battlefield 2 game server" chapter.