Jump to content

Minecraft WHMCS


KingSteve032

Recommended Posts

So I've been try to set up TCAdmin and WHMCS to sell minecraft by the slot and a certain amount of slots have a certain amount of RAM. I've been using this config but doesn't seem to be working. Is there something wrong with this config? Also is there a way to get tcadmin to not skip ports when creating a game? I don't want it to from 25565 to 25575 but I want it to from 25565 to 25566.

 

<?php

include('default_values.php');

switch ($params["configoptions"]["Slots"])

{

case "4":

$billing_api_values["gamevar_Xms"] = "256";

$billing_api_values["gamevar_Xmx"] = "256";

break;

case "8":

$billing_api_values["gamevar_Xms"] = "512";

$billing_api_values["gamevar_Xmx"] = "512";

break;

case "12":

$billing_api_values["gamevar_Xms"] = "768";

$billing_api_values["gamevar_Xmx"] = "768";

break;

case "16":

$billing_api_values["gamevar_Xms"] = "1024";

$billing_api_values["gamevar_Xmx"] = "1024";

break;

case "20":

$billing_api_values["gamevar_Xms"] = "1280";

$billing_api_values["gamevar_Xmx"] = "1280";

break;

case "24":

$billing_api_values["gamevar_Xms"] = "1536";

$billing_api_values["gamevar_Xmx"] = "1536";

break;

case "28":

$billing_api_values["gamevar_Xms"] = "1792";

$billing_api_values["gamevar_Xmx"] = "1792";

break;

case "32":

$billing_api_values["gamevar_Xms"] = "2048";

$billing_api_values["gamevar_Xmx"] = "2048";

break;

case "36":

$billing_api_values["gamevar_Xms"] = "2304";

$billing_api_values["gamevar_Xmx"] = "2304";

break;

case "40":

$billing_api_values["gamevar_Xms"] = "2560";

$billing_api_values["gamevar_Xmx"] = "2560";

break;

case "44":

$billing_api_values["gamevar_Xms"] = "2816";

$billing_api_values["gamevar_Xmx"] = "2816";

break;

case "48":

$billing_api_values["gamevar_Xms"] = "3702";

$billing_api_values["gamevar_Xmx"] = "3702";

break;

}

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

In WHMCS:

Order Accept Encountered Problems

No results were returned. Check your TCAdmin logs. URL used: ServerURLremoved/billingapi.aspx

 

Then TCadmin says:

function=AddPendingSetup

System.Exception: ACCESS DENIED: webserverIPaddresshere Included Account Info: False

at Web.GameHosting.billingapi.Page_Load (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0

 

So what is happening? Thanks for any help.

Link to comment
Share on other sites

In WHMCS:

Order Accept Encountered Problems

No results were returned. Check your TCAdmin logs. URL used: ServerURLremoved/billingapi.aspx

 

Then TCadmin says:

function=AddPendingSetup

System.Exception: ACCESS DENIED: webserverIPaddresshere Included Account Info: False

at Web.GameHosting.billingapi.Page_Load (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown="">:0

 

So what is happening? Thanks for any help.

 

"Included </filename><filename unknown="">Account Info: False" means WHMCS is not even sending the tcadmin login. If you are using a custom config file make sure you include default_values.php. http://help.tcadmin.com/TCAdmin2_advanced_module_for_WHMCS#Custom_Config_File

</filename>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use