...
Tags | Description | Notes |
---|
{module.host_name} | The host name for your TCAdmin Panel | e.g. "tcadmin.domain.com". |
{module.port} | The port number for your TCAdmin Panel | e.g. "8880" |
{service.hostname} | The hostname for the game server, provided by the client. | e.g. "mycsgoserver.domain.com" |
{service.rcon_password} | The RCON password for the game server, provided by the client. |
|
{service.private_password} | The private password for the game server, provided by the client. |
|
{service.user_name} | The user name for TCAdmin panel access for the client. |
|
{service.user_password} | The password for TCAdmin panel access for the client. |
|
Expand |
---|
|
Due to the nature of tag objects containing several fields, many of which are likely irrelevant for use in email templates, but may be useful to you in certain circumstances, a dump of the tags are shown below. Code Block |
---|
language | php |
---|
title | The {package} object |
---|
collapse | true |
---|
| stdClass Object
(
[id] => 8
[id_format] => {num}
[id_value] => 8
[module_id] => 7
[name] => Counter-Strike GO
[description] =>
[description_html] =>
[qty] =>
[module_row] => 3
[module_group] =>
[taxable] => 0
[single_term] => 0
[status] => active
[company_id] => 1
[prorata_day] =>
[prorata_cutoff] =>
[id_code] => 8
[email_content] => Array
(
[0] => stdClass Object
(
[lang] => en_us
[html] => <p> {module.host_name} {module.port} {package.supported_servers} {package.server_type} {package.start} {package.priority} {package.startup} {service.client_package_id} {service.hostname} {service.rcon_password} {service.private_password} {service.user_name} {service.user_password}</p>
<p> </p>
<p>{%debug%}</p>
[text] => {module.host_name} {module.port} {package.supported_servers} {package.server_type} {package.start} {package.priority} {package.startup} {service.client_package_id} {service.hostname} {service.rcon_password} {service.private_password} {service.user_name} {service.user_password}
{%debug%}
)
)
[pricing] => Array
(
[0] => stdClass Object
(
[id] => 14
[pricing_id] => 19
[package_id] => 8
[term] => 1
[period] => month
[price] => 8.0000
[setup_fee] => 0.0000
[cancel_fee] => 0.0000
[currency] => USD
)
)
[meta] => stdClass Object
(
[priority] => Normal
[server_type] => game
[start] => 1
[startup] => Automatic
[supported_servers] => 96
)
[groups] => Array
(
[0] => stdClass Object
(
[id] => 5
[name] => Game Servers
[description] =>
[type] => standard
[company_id] => 1
[allow_upgrades] => 1
)
)
[option_groups] => Array
(
[0] => stdClass Object
(
[id] => 2
[name] => TCAdmin Games
[description] =>
)
)
[priority] => Normal
[server_type] => game
[start] => 1
[startup] => Automatic
[supported_servers] => 96
) |
Code Block |
---|
language | php |
---|
title | The {service} object |
---|
collapse | true |
---|
| stdClass Object
(
[id] => 9
[parent_service_id] =>
[package_group_id] => 5
[id_format] => {num}
[id_value] => 9
[pricing_id] => 14
[client_id] => 1
[module_row_id] => 3
[coupon_id] =>
[qty] => 1
[override_price] =>
[override_currency] =>
[status] => active
[date_added] => 2018-03-29 20:49:51
[date_renews] => 2018-04-29 20:49:51
[date_last_renewed] =>
[date_suspended] =>
[date_canceled] =>
[id_code] => 9
[fields] => Array
(
[0] => stdClass Object
(
[key] => client_package_id
[value] => 1_ein0ctvkkg5yhw
[serialized] => 0
[encrypted] => 1
)
[1] => stdClass Object
(
[key] => hostname
[value] => csgo2.blesta.com
[serialized] => 0
[encrypted] => 1
)
[2] => stdClass Object
(
[key] => private_password
[value] => password45
[serialized] => 0
[encrypted] => 1
)
[3] => stdClass Object
(
[key] => rcon_password
[value] => password45
[serialized] => 0
[encrypted] => 1
)
[4] => stdClass Object
(
[key] => user_name
[value] => Username
[serialized] => 0
[encrypted] => 1
)
[5] => stdClass Object
(
[key] => user_password
[value] => #lh&7jjkf$&
[serialized] => 0
[encrypted] => 1
)
)
[package_pricing] => stdClass Object
(
[id] => 14
[package_id] => 8
[pricing_id] => 19
[term] => 1
[period] => Month
[price] => 8.0000
[setup_fee] => 0.0000
[cancel_fee] => 0.0000
[currency] => USD
)
[package] => stdClass Object
(
[id] => 8
[id_format] => {num}
[id_value] => 8
[module_id] => 7
[name] => Counter-Strike GO
[description] =>
[description_html] =>
[qty] =>
[module_row] => 3
[module_group] =>
[taxable] => 0
[single_term] => 0
[status] => active
[company_id] => 1
[prorata_day] =>
[prorata_cutoff] =>
)
[options] => Array
(
[0] => stdClass Object
(
[id] => 5
[service_id] => 9
[option_pricing_id] => 2
[qty] => 8
[option_value] =>
[option_value_name] => Slots
[option_id] => 2
[option_label] => Game Slots
[option_name] => game_slots
[option_type] => quantity
[option_addable] => 1
[option_editable] => 1
[option_pricing_term] => 1
[option_pricing_period] => month
[option_pricing_price] => 0.2000
[option_pricing_setup_fee] => 0.0000
[option_pricing_currency] => USD
)
[1] => stdClass Object
(
[id] => 6
[service_id] => 9
[option_pricing_id] => 3
[qty] => 1
[option_value] => 0
[option_value_name] => Public
[option_id] => 3
[option_label] => Public or Private?
[option_name] => game_private
[option_type] => select
[option_addable] => 1
[option_editable] => 1
[option_pricing_term] => 1
[option_pricing_period] => month
[option_pricing_price] => 0.0000
[option_pricing_setup_fee] => 0.0000
[option_pricing_currency] => USD
)
[2] => stdClass Object
(
[id] => 7
[service_id] => 9
[option_pricing_id] => 5
[qty] => 1
[option_value] => 1
[option_value_name] => Tustin
[option_id] => 4
[option_label] => Data Center
[option_name] => game_datacenter
[option_type] => select
[option_addable] => 1
[option_editable] => 0
[option_pricing_term] => 1
[option_pricing_period] => month
[option_pricing_price] => 0.0000
[option_pricing_setup_fee] => 0.0000
[option_pricing_currency] => USD
)
)
[name] => csgo2.blesta.com
[client_package_id] => 1_ein0ctvkkg5yhw
[hostname] => csgo2.blesta.com
[private_password] => password
[rcon_password] => password
[user_name] => Username
[user_password] => #lh&jjkff$&
) |
|
Group Membership
If this is the first Package you are creating with this module, select the "Create a New Group" option, and enter a Group name. If you are adding a subsequent Package and wish for it to be part of the same group, select "Select from Available Groups", and move the group from the right to the left of the multi-select box.
...