Modules/modernbill/install

From GameCPWiki

Jump to: navigation, search

s1ejSR <a href="http://ekwyvdhkrcdp.com/">ekwyvdhkrcdp</a>, [url=http://wyscwezgepua.com/]wyscwezgepua[/url], [link=http://mmaogsimcdmk.com/]mmaogsimcdmk[/link], http://mcunjmwrspow.com/

bmlPrO <a href="http://ftcbmobwehws.com/">ftcbmobwehws</a>, [url=http://klybpgzwndvg.com/]klybpgzwndvg[/url], [link=http://oosuewqyatgr.com/]oosuewqyatgr[/link], http://pzlgwmvgesfq.com/

Contents

Step 2 - Core Configuration

See Module Configuration screenshot Login to your modernbill installation, typically at http://www.yourhost.com/modernbill

Navigate to Tools > System Config > 4 - Server Settings > Server Modules

You should typically see ' (mod_custom) 2.0.0 [testing]' click on Edit

There are 2 sections to worry about, the database connection information and the URL for GameCP

GameCP URL should simply be http://www.yourhost.com/gcp (without the preceding / )

Your MySQL Server, Username, Password and Database can be found in your gcp/includes/mysql.inc.php file, see below.

$conn = mysql_connect(SERVER ADDRESS, USERNAME, PASSWORD) or die ("Unable to connect to MYSQL");
mysql_select_db(DATABASE, $conn) or die ("Couldn't select the database."); 

After you have completed the previous steps, you can change 'Enable GameCP Module' to 'Yes'

Assign the GameCP module to a server group, a new group is preferred.

You can create a new server group by navigating to Tools > System Config > 4 - Server Settings > Server Groups and clicking on the 'New Group x' button

You may also want to enable debugging

Click on 'Save Settings' at the bottom of the page

The GameCP module should be Enabled (mod_custom)

Step 3 - Package Configuration (New Basic Package)

When defining the configurations be sure not to have multiple configuration attributes. Eg 'custom_attribute_1' appears more then once in the packages information

Navigate to Products > Package Setup Select the order group you wish to add game server packages and press View You should have in mind the name, order group and type of the package you're going to offer. For example a Day of Defeat Source private server with 10 slots.

Add the package as you normally would, by clicking on the 'Add' link and setting the name, and package price. Click 'Submit'

You'll be presented with a page which has a link labeled as 'Insert Custom Attributes' click it.

You can now define the package information. We are going to use the example above. Select Day of Defeat Source from the game list (This will only show the games you have installed in GCP! It is good practice to make sure they are working before preceding)

Enter 10 as the number of player slots

Select the type private

Auto IP Allocation

Select Server Group: This should be the server group you chose or created in Step 2.

Secondary Module: GameCP Module(mod_custom)

Step 4 - Test Order

Navigate to the URL of your ModernBill order form eg: www.yourhost.com/modernbill/order/orderwiz.php?v=x Replace x with your order group! Follow the order procedure, selecting the package you just created

Step 5 - Run API Queue

Navigate to Tools > API Queue. In the new category, there should be the order you just placed

Click on Run, hopefully it'll execute successfully. If not you'll have to debug the error. After you have tried to correct the error and checked you followed all the steps above and the prerequisites please contact me

It may ask you to override if the client has money owing.

It will then create the game server.

Step 6 - Complete!

You have successfully configured your ModernBill install to use GameCP!! Help make this product better contact me with your feedback, comments and feature requests.

Advanced Options

There are a number of advanced options available for server admins to cater to their needs. Such as assigning specific servers to specific geographical locations, or specific machines. Addons are used to acheive this. Please ensure you read and understand the following sections before requesting support.

Create a typical addon

View Screenshot

Navigate into the Package's information

Click on 'Add' next to the Package Add-ons label.

Enter a custom name for the addon, eg 'RCON Password'

Define the add-on’s price and other required information

Select the add-on type, this should be selected using the table below

Click on 'Update Internal Data & Close Window' when your done, this will close the window.

Make sure you enable the addon

Ensure you enter the correct 'Internal value for Server API' from the table below

Click on Submit, this will create the add-on.

Test!

Addon Listing & Specification

Check http://gamecp.com/mbmanual.html for the table version of this


When installing custom addons, ensure you follow the table below - or else you may experience unexpected results. Addon Name Description Addon-Type Server API Value Typical Value Connector Version Hostname Allows the client to specify a custom hostname Text Field (20) hostname String 2.0.0 Player Slots Allows the client to specify number of players which can connect to the server Select List max_players Integer 2.0.0 RCON Password Allows the client to specify a custom remote control password Text Field (20) rcon_password String 2.0.0 Server Password Allows the client to specify a password, required for connection Text Field (20) priv_password String 2.0.0 MOTD Allows client to specify what is included in the server's MOTD. If set in GCP config Text Field (20) motd String 2.0.0 Website Allows client to specify a website. If set in GCP config Text Field (20) website String 2.0.0 Specific Server Allows the client to select which server specificly, they would like their game server installed on Select List server_sid Server's SID 2.0.0 Server Location Allows the client to select which location they would like their game server installed on Select List location_name Location Name 2.0.0

Personal tools
download
communication