'', 'site_url' => '' ), array( 'image' => '', 'site_url' => '' ), array( 'image' => '', 'site_url' => '' ) ); /*=================================================================== You can use Image captcha or HCaptcha or Recaptcha v2. If you want to use Recaptcha v2 or HCaptcha required to enable cURL in your PHP. ** We recommend using HCaptcha. ** captcha_type 0) Image Captcha 1) HCaptcha 2) ReCaptcha v2 +2) Disable captcha. (DON'T DO THAT!) For image captcha, you don't need to put anything for captcha_key captcha_secret or captcha_language. captcha_secret/captcha_secret To get key and secret for HCaptcha go to https://hCaptcha.com/?r=6d4f9117ba12 To get key and secret for Recaptcha go to https://www.google.com/recaptcha captcha_language https://docs.hcaptcha.com/languages https://developers.google.com/recaptcha/docs/language =====================================================================*/ $config['captcha_type'] = 0; $config['captcha_key'] = ''; $config['captcha_secret'] = ''; $config['captcha_language'] = 'en'; /*=================================================================== soap_for_register Don't Enable it for AzerothCore/TrinityCore/SkyFire and AshamaneCore. If you enable that you need to disabled change password feature. If you want to enable Two-Factor Authentication (2FA) you don't need to enable this option. For Two-Factor Authentication (2FA) just need to config other parts of the SOAP. SOAP features need to enable soap in your PHP. soap_host SOAP server address soap_port SOAP server port. soap_uri urn:TC for TrinityCore urn:AC for AzerothCore urn:MaNGOS for Mangos soap_style SOAP style soap_username SOAP account username soap_password SOAP account password soap_ca_command Create account command You can use it like this too: '.account create {USERNAME} {PASSWORD} {PASSWORD} {EMAIL}' Check create account command in your server! soap_cp_command Change password command account set password {USERNAME} {PASSWORD} {PASSWORD} Check change password command in your server soap_asa_command If you use soap_for_register, You need to set this command. This command will be run after soap_ca_command. If you don't want to run any command after soap_ca_command you can make it empty like this: '' account set addon {USERNAME} {EXPANSION} =====================================================================*/ $config['soap_for_register'] = true; $config['soap_host'] = 'mangosd'; $config['soap_port'] = '7878'; $config['soap_uri'] = 'urn:MaNGOS'; $config['soap_style'] = 'SOAP_RPC'; $config['soap_username'] = 'GREG'; // A CHANGER POUR LE USER ADMIN $config['soap_password'] = 'GREG'; // A CHANGER POUR LE USER ADMIN $config['soap_ca_command'] = 'account create {USERNAME} {PASSWORD}'; $config['soap_cp_command'] = 'account set password {USERNAME} {PASSWORD} {PASSWORD}'; $config['soap_asa_command'] = 'account set addon {USERNAME} {EXPANSION}'; /*=================================================================== Two-Factor Authentication (2FA) Your core must support 2fa. This feature just works for cores that have 2fa command. If your core support 2fa but don't have any command, you can check this: https://github.com/masterking32/WoWSimpleRegistration/pull/20 (Support some of the cores, Required to use 2fa for registration.) You need to config SOAP too but you don't need to enable 'soap_for_register'. For security reasons, We used email to enable 2fa, You need to enable SMTP config. 2fa_support You can enable or disable it. (true/false) soap_2d_command Command to disable 2fa. account set 2fa {USERNAME} off soap_2e_command Command to enable 2fa. account set 2fa {USERNAME} {SECRET} =====================================================================*/ $config['2fa_support'] = false; $config['soap_2d_command'] = 'account set 2fa {USERNAME} off'; $config['soap_2e_command'] = 'account set 2fa {USERNAME} {SECRET}'; /*=================================================================== You Auth/Realmd MySQL information. db_auth_host Auth Database Host db_auth_port Auth Database Port db_auth_user Auth Database Username db_auth_pass Auth Database Password db_auth_dbname Auth Database DBName =====================================================================*/ $config['db_auth_host'] = 'database'; $config['db_auth_port'] = '3306'; $config['db_auth_user'] = 'mangos'; $config['db_auth_pass'] = 'mangos00'; $config['db_auth_dbname'] = 'wotlkrealmd'; /*=================================================================== Your character's databases. If your server has a lot of realms you can check the example at the bottom of the file. =====================================================================*/ $config['realmlists'] = array( "1" => array( 'realmid' => 1, // Realm ID 'realmname' => "gregan-wotlk", // Realm Name 'db_host' => "database", // MySQL Host IP 'db_port' => "3306", // MySQL Host Port 'db_user' => "mangos", // MySQL username 'db_pass' => 'mangos00', // MySQL password 'db_name' => "wotlkcharacters" // Characters database name ) ); /* ********************************** * EXMAPLE OF MORE THAN ONE REALM * ********************************** $config['realmlists'] = array( // Add your realmlist here "1" => array( 'realmid' => 1, 'realmname' => "Realm 1", 'db_host' => "127.0.0.1", 'db_port' => "3306", 'db_user' => "root", 'db_pass' => "root", 'db_name' => "rm1_chars" ), "2" => array( 'realmid' => 2, 'realmname' => "Realm 2", 'db_host' => "127.0.0.1", 'db_port' => "3306", 'db_user' => "root", 'db_pass' => "root", 'db_name' => "rm2_chars" ), "3" => array( 'realmid' => 3, 'realmname' => "Realm 3", 'db_host' => "127.0.0.1", 'db_port' => "3306", 'db_user' => "root", 'db_pass' => "root", 'db_name' => "rm3_chars" ) ); */ $config['script_version'] = '1.9.8';