Jump to content

Setting up Minecraft?


Evilsystem

Recommended Posts

Hello there!

 

I have some problems setting up minecraft with WHMCS.

I can't figure out what I'm doing wrong?

 

This is where I'm at:

 

modulesettings.PNG

 

CustomFields.PNG

 

ConfigurableOptions.PNG

 

Here is my minecraft_config.php:

 

<?php

include('default_values.php');

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

{

case "256MB":

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

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

$billing_api_values["game_slots"] = 3;

break;

case "512GB":

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

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

$billing_api_values["game_slots"] = 12;

break;

case "768MB":

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

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

$billing_api_values["game_slots"] = 16;

break;

case "1024MB":

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

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

$billing_api_values["game_slots"] = 20;

break;

case "1.5GB":

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

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

$billing_api_values["game_slots"] = 30;

break;

case "2GB":

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

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

$billing_api_values["game_slots"] = 40;

break;

case "3GB":

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

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

$billing_api_values["game_slots"] = 70;

break;

case "4GB":

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

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

$billing_api_values["game_slots"] = 100;

break;

}

?>

 

I hope someone can tell my what I'm doing wrong? :|:

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, 32 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