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. To create a game server you need to have a Battlefield 2 game server installed on a remote host. You can also install it during the game server creation procedure.
To install a new Battlefield 2 game server follow these steps:
- 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.
- 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.
- Under Tools, click Add Game Server. The Select the game hosting accounts at which to deploy a game server opens.
- Under Remote server connection details, fill out the following fields:
- Hostname - the IP address or the name of the remote host in the FQDN format
- Login user name - the user name for logging in to the remote host through SSH
- Login user password - the user password for for logging in to the remote host through SSH
Select the Remember password for future sessions check box if you want Parallels Plesk Panel to automatically use the login information for connecting to the remote host in the future.
- 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, Parallels Plesk Panel 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?
- Click OK. Parallels Plesk Panel configures access to the remote host through SSH and creates a user with a new username. The Select directory with server binaries window opens.
Note: If you fail to configure Parallels Plesk Panel 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.
- If you want to create a game server using an existing Battlefield 2 game server installation, go directly to step 10. If you want to create a game server by installing a new Battlefield 2 game server on the remote host, go to the next step.
- To install a new game server, 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 Parallels Plesk Panel will use to download and install a new Battlefield 2 game server on the remote host.
- Under Remote server connection details, fill out the following fields:
- Login user password - leave blank to keep current password
- Select the Remember password for future sessions check box if you want Parallels Plesk Panel to automatically use the new password for connecting to the remote host in the future.
- Under Game server binaries directory, select the Install game server binaries from server distribution check box and fill out the following fields:
- Directory name - specify the directory name where the in the following format:
/home/<user login name>/
- URL - specify full URL to a Battlefield 2 autoinstaller file, for example:
http://example.com/bf2-linuxded-1.1.2551.0-installer.sh
- Click OK. The new game server installation ends here. Steps 10-12 apply only to game server creation using an existing Battlefield 2 game server installation.
- To create a game server using an existing Battlefield 2 game server installation, the Select directory with server binaries window, under Remote server connection details, fill out the following fields:
- Make sure that the Install game server binaries from server distribution check box under Game server binaries directory is cleared.
- 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>.
- Click OK.
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.