Jump to content

config file static value


justinthetech

Recommended Posts

Hey there. Im trying to setup tcadmn_advanced to put a static value for slots and rcon. This is for MineCraft

 

Im trying to setup my order process so that the client only selects the datacenter and does not need to put in slots or rcon password.

 

ive tried creating a custom config file and putting in "25" and "na" in the values.

 

See here

 

$billing_api_values["game_slots"] = $params["25"];

$billing_api_values["game_rcon_password"] = $params["na"];

 

With it set like these these values are not getting getting the tcadmin panel create function.

 

What am i missing here?

 

Any help would be appreciated.

Link to comment
Share on other sites

Start with a DefaultValues.php, Create a configurable option name slots , and put 25 in the Options box below. Then add the pice next to it, then save it and close it. On the configurable options page for the one you just created click hidden, then save. Then on the product page in the Game Slots drop down click ConfigOption:Slots and then on the RCON dropdown leave it blank Cause with the Minecraft Config file it has nowhere to put an rcon. When it is sent through WHMCS it wont error about the RCON like it does when you create a server in TCAdmin.

 

Sorry if its a bit confussing or hard to understand. Im not great at explaining. I have only started using TCADMIN ADVANCED the past day or so. But messing around with it and it does great things. Let me know how you get on.

Link to comment
Share on other sites

Archived

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

  • Who's Online   0 Members, 0 Anonymous, 20 Guests (See full list)

    • There are no registered users currently online
×
×
  • 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