ManualServers

In Manual Introduction you learned what a game server is, and in Manual Getting Started you were given a guided tour of getting a game server up and running in GameCreate. In this chapter, we will explore exactly what servers are and how they can be manipulated within GameCreate.

As you may have read, along with your regular game servers (which we usually called permanent servers) GameCreate has a unique feature called temporary servers. While permanent and temporary servers have much in common, the interfaces used to create and manipulate temporary servers is vastly different. This chapter deals only with permanent servers - Manual Temporary Servers explains what temporary servers are and how to utilise them.

What Are Servers

A general definition for a game server would be an instance of a program running on a computer (called a process) to which players on the internet may connect to in order to play with or against other players around the world. Starting programs, configuring the program and data files used by the program, and making this as easy as possible is what GameCreate is all about.

In GameCreate, a server consists of:

Create A Server

Before creating a server, you must first add the host to GameCreate and then install the desired game onto the host. Manual Getting Started will lead you through the process of adding a host and installing a game. Alternatively, you may refer to Manual Host and Manual Game for more in-depth information.

Having added your host and installed the game, it is time to add the server. To do so, log into the Game Create Admin interface and click on the Servers tab.

servers-overview.png

From the Servers page, click on Create a New Server. You will be presented with a list of games that have been installed (if you have not installed any games yet, you will instead be instructed to install a game first). Choose one of the games from the list and click Next.

server-configuration.png

On the next screen you will be presented with a configuration panel divided into two sections: Server Properties and [Game Name] Properties. The Server Properties are:

Following the Server Properties are the game-specific properties. Game-specific properties are a feature of GameCreate that allow you to alter many settings without ever modifying a configuration file. You can learn more about properties in Manual Game .

There are a few idioms to note when using the configuration panel:

Default values are more than just a convenience in GameCreate. Default values are inherited from the game - this means that if you modify the default property within the game, all servers that are currently on default value for that property will automatically start using the new default value. This is a powerful mechanism that allows you to quickly configuration settings across all your game's servers. You can learn more about default property values in Manual Game; later in this chapter we will also learn about GameTemplates which are a way of sharing property values between a set of servers.

Finding Servers

There are a number of way to reach a server's Overview page:

All three methods are equivalent: which you use is up to you.

Server Overview

A server's overview page summarises its status and configuration. From the Overview page you can reach various configuration and information areas for the server.

server-overview.png

At the top is a row of tabs: Overview, Configuration, Files, Statistics, and Permissions. The screen is divided up into four sections:

General Information

Server Status

Server Properties

Server Management

Near the top right you can see the Notes interface which is covered in Manual Notes. Notes allow you to leave messages about the server for other server administrators.

Server Configuration

To modify a server's configuration, click on Configuration on the server's Overview page. Earlier in this chapter we discussed creating a new server: much of the process for editing an existing server is the same so refer to Server Configuration if you need a refresher.

When modifying a server's configuration, you are only modifying the configuration as stored within GameCreate. This means that a running server will not automatically receive any changes you make. If you wish to update a running server, make the configuration changes and then click Restart on the server's Overview page.

There are two settings you can not change while a server is running: the Host and Host Port settings. To change the host or host port, first click Stop on the server's Overview page. Next, modify and save the server's host and/or host port. Finally, click Start on the server's Overview page to start the server on its new host.

Server Templates

As we saw earlier, a game server inherits its default property values from the game. However, this isnt the whole story: GameCreate supports a second layer of default properties called Templates. You will learn how to create templates later in Manual Game: for now, we will discuss briefly what a template is and how to use them on the Server Configuration page.

server-template-configuration.png

Once one or more templates are created for a game, servers for that game will have the Server Templates panel appear at the top of the Configuration page. In the sample screenshot we have added a template called 'My Rcon Password' to the server. You can see its effect reflected in the Rcon Password property further down the page where the text 'Inherited from template: My Rcon Password ' is displayed. RCON Password has the value 'rcon' but notice that the text input area is grey: as stated earlier, a grey text box indicates a default value.

So, this server now has a new default value for Rcon Password which it inherited from the 'My Rcon Password' template. Why use templates instead of setting the RCON Password directly on the Server Configuration screen? Multiple game servers. GameCreate is built to make running large numbers of servers easy: and part of that means making it easy to change property values on many servers at once. If we were to modify 'My Rcon Password' to supply a different default value, all servers using that template will receive the change.

Note that template values can still be overridden: we could modify 'RCON Password' property to be set to 'myrcon' at which point the text box would appear white to indicate a non-default value. While using a non-default value the server will not be able to use changes made to the 'My Rcon Password' template.

The Server Templates panel allows adding and removing any templates defined for the game. While not displayed in the screenshot, templates also have a conflict resolution order. (In the screenshot, 'My Rcon Password' is #1). This is only of relevance when a server contains two or more templates that supply a default value for the same property. When conflicts do occur, templates with a higher number (that is, towards the bottom of the page) override templates with a smaller number (towards the top of the page). The template order can be altered by using the Up and Down controls provided.

Server Files

If the Server Configuration page does not allow you to create exactly the configuration you require, one option is to modify a server's configuration files directly (another option is to create new properties - see Manual Game for details). to view or modify a server's configuration files, open the server's Overview page and click the Files tab.

File Listing

The Server Files page lists the files currently in use for the server. Each row of the table represents one specific file that will be written to disk. Aside from providing the option to modify configuration files, GameCreate can also store a variety of definitions for a given file (see Manual Game for information on creating new definitions). For example, a configuration file server.cfg may have two definitions in GameCreate: one for normal gameplay and one for competitive gameplay. The Files page allows you to choose between definitions if more than one is available.

server-files.png

The columns on the Server Files page are (from left to right):

In GameCreate, files come in two flavours: Game files and Server files. Game files are shared by all servers of the same game type. Server files, on the other hand, are only used by the server for which they are created.

In the screenshot shown earlier, the first listed file is a Server file - GameCreate always uses the name "Server File" for server files. The remaining files are all Game files. Each game file has a link next to its name labelled Game File - following this link will take you to the Game Files section to modify the file (again, see Manual Game for more information). Which brings us to the Edit link, which for server files will allow you to edit the file, but will create a server file copy for game files. In particular, this means if you click the Edit link for a game file, you will actually create a new server file.

Of course, all of this may not matter to you - clicking Edit will always allow you to modify the file used for the server, without affecting any other servers. Use the Game File link if you want to make changes that will affect all servers for the game.

The Add Server File link can be used to create a new configuration file just for this server.

Add/Edit Server File

The Add and Edit Server File pages are identical in functionality, and so are discussed here together. After identifying the file you wish to modify on the Server Files page, click the Edit link.

server-editfile.png

The Edit Server File page has the following sections:

As we discovered earlier, GameCreate supports the use of properties as an easy way to enter configuration values. If you choose a property from the drop down list and click Insert Property, a word of the form %property% will be inserted. When the configuration file is written to disk, the %property% word will be replaced with the value chosen in the server's Configuration section.

GameCreate can integrate with external systems by allowing such systems to upload the file contents; Manual External File Definitions explains how to use this feature. If you do use remote file uploads you can leave the File Contents blank, as it will be replaced by the remote upload.

When you are satisfied with the changes you have made, click Save to save your changes.

Server Statistics

The Server Statistics lets you monitor player numbers and hardware resource consumption for the game server. To view a server statistics, visit the Overview page and click the Statistics tab.

To learn about the statistics feature in GameCreate, see the Manual Statistics chapter.

Server Permissions

The Server Permisisons page lets you control who can access the game server in GameCreate and what actions they can take. To view or modify a server's permissions, visit the Overview page and click the Permissions tab.

To learn about assigning permissions in GameCreate, see the Manual Permissions chapter.

Next: Manual Temporary Servers

last edited 2006-01-30 00:33:06 by NathanOsullivan

© Mammoth Media 2001-2007.
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.