/**
* The RPC User name as defined in your unrealircd.conf
- * Guide / Documentation: https://www.unrealircd.org/docs/JSON-RPC
+ * https://www.unrealircd.org/docs/UnrealIRCd_webpanel#Configuring_UnrealIRCd
*/
-define( 'UNREALIRCD_RPC_USER', 'apiuser' );
+define( 'UNREALIRCD_RPC_USER', 'adminpanel' );
/**
* The RPC User password as defined in your unrealircd.conf
/**
* The port of your RPC server as defined in your unrealircd.conf
*/
-define( 'UNREALIRCD_PORT', '8000' );
+define( 'UNREALIRCD_PORT', '8600' );
/**
* You should set this to true, if your RPC server is not on your local host
*/
//"example_plugin", /* An example plugin */
//"sql_auth", /* Provides a login page which uses SQL */
+ //"php_mailer", /* Provides ability to send emails on behalf of the admin panel */
]
);
/**
* SQL Dabase name
*/
-define('SQL_DATABASE', "unrealircd");
+define('SQL_DATABASE', "unrealircdwebpanel");
/**
* SQL Username
*/
-define('SQL_USERNAME', "unrealircd");
+define('SQL_USERNAME', "unrealircdwebpanel");
/**
* SQL Password
"dnsbl.dronebl.org",
"rbl.efnetrbl.org"
]);
+
+/** Your email settings
+ * Requires plugin "php_mailer"
+*/
+define('EMAIL_SETTINGS', [
+ "host" => 'smtp.host.example.com',
+ "port" => 587,
+ "encryption" => 'tls', /* Use 'tls' for STARTTLS or 'ssl' for TLS/SSL */
+ "username" => "youremail@example.com", /* The email to login with and send emails from */
+ "password" => "supersecretpassword", /* The password for the above email */
+ "from_name" => "UnrealIRCd Admin Panel",
+
+]);