Example #1
0
maincore as an include/require can access these settings.

Syntax:
Configuration::Set('nameofsetting','setting')
Configuration::Get(''nameofsetting')
Thank Kirth from MMOwned for giving me this idea :P ..
and his configuration class.

Note: Do Not Change the first field in the Set unless
you plan of modifying the declarations.

Subconfiguration files follow the same format, this
includes all files in the Configuration directory
excluding declarations.php and class.php
*/
/* 	++REQUIRED CONFIGURATION CLASS AND SUBCONFIGS++ 																								*/
require_once "class.php";
require_once "sqlconfig.php";
require_once "styleconfig.php";
require_once "modulesconfig.php";
/*	 ++DO NOT DELETE THESE LINES++ 																									*/
/*					-AGREEMENT PAGE-
1 - Users will be redirected to the agreement page upon entering the site  0 - disable 												*/
Configuration::Set('use.agreement', 1);
/*					-EMULATOR SELECTION-
0 - Disable Game Acc Functions  1 - ArcEmu  2 - Mangos 																				*/
Configuration::Set('emulator', 2);
/*					-REALMLIST-
->Realmlist - Input the realmlist of your server, it will be displayed upon user registration										*/
Configuration::Set('realmlist', 'server.myserver.info');
Example #2
0
and his configuration class.

Note: Do Not Change the first field in the Set unless
you plan of modifying the declarations.
*/
/*					-WEBSITE DATABASE-
->Input the connection details used for your website database. 																		*/
Configuration::Set('website.db.host', 'localhost');
Configuration::Set('website.db.user', 'root');
Configuration::Set('website.db.pass', 'bigfoot1');
Configuration::Set('website.db.name', 'mycms');
Configuration::Set('website.db.prefix', 'arcsite_');
/*					-LOGON DATABASE-
->Input the connection details used for your logon/realmd database. 																*/
Configuration::Set('logon.db.host', 'db.wowaddict.info');
Configuration::Set('logon.db.user', 'redscust_website');
Configuration::Set('logon.db.pass', 'wowaddict22184');
Configuration::Set('logon.db.name', 'redscust_realmd');
/*					-CHARACTERS DATABASE-
->Input the connection details of the database that contains your character tables													*/
Configuration::Set('characters.db.host', 'db.wowaddict.info');
Configuration::Set('characters.db.user', 'redscust_website');
Configuration::Set('characters.db.pass', 'wowaddict22184');
Configuration::Set('characters.db.name', 'redscust_realm1');
/*					-WORLD DATABASE-
->Input the connection details used for your world/mangos database. 																*/
Configuration::Set('world.db.host', 'localhost');
Configuration::Set('world.db.user', 'root');
Configuration::Set('world.db.pass', 'bigfoot1');
Configuration::Set('world.db.name', 'mang');
Example #3
0
<?php

/*
This is a Sub-Configuration File! Any file using the
maincore as an include/require can access these settings.

Syntax:
Configuration::Set('nameofsetting','setting')
Configuration::Get(''nameofsetting')
Thank Kirth from MMOwned for giving me this idea :P ..
and his configuration class.

Note: Do Not Change the first field in the Set unless
you plan of modifying the declarations.
*/
/*					-SERVER STATUS PAGE-
->Stats XML Location - Location of the stats.xml file dumped by your server (can be http address)
Note : This page is designed for ArcEmu																								*/
Configuration::Set('stats.xml.location', 'stats.xml');
/*					-GAME ACCOUNT REGISTRATION-
->Game Account Level - Access level given to acount upon creation
Note : 0 is for player access level, you should stick with this on a regular server													*/
Configuration::Set('game.acc.level', '0');
Example #4
0
/*					-FOOTER NAVIGATION LINKS-
->Add links by increasing the count and making a new config line of the same format with the next trailing number in the name.
Ex: Configuration::Set('navbar.link7',	'Unstuck Tool'	.'|'.	'Player Tools/unstuck.php'		);
->To exclude links set them blank or just reduce the link count.
Ex: Configuration::Set('navbar.link1',	''		.'|'.	''			);																*/
Configuration::Set('navbar.link.count', 6);
Configuration::Set('navbar.link1', 'Home' . '|' . 'news.php');
Configuration::Set('navbar.link2', 'FAQ' . '|' . 'faq.php');
Configuration::Set('navbar.link3', 'Forums' . '|' . 'forum/index.php');
Configuration::Set('navbar.link4', 'Downloads' . '|' . 'downloads.php');
Configuration::Set('navbar.link5', 'Search' . '|' . 'search.php');
Configuration::Set('navbar.link6', 'Contact' . '|' . 'contact.php');
/*					-NeonBlue_V7 THEME-
->Flash Banner - 0 to disable, 1 to enable
	+Location - Enter the location of the banner from the Base Dir
->Lettering Message - Enter the lettering message to be displayed
	+Type - 1 for woltk style letters, 2 for tbc, 3 for oversized classic letters
	+Begin Spaces - Amount of spaces added before the message to center it															*/
Configuration::Set('use.flash.banner', 1);
Configuration::Set('flash.banner.location', 'images/banners/logo.swf');
Configuration::Set('lettering.message', 'My Server');
Configuration::Set('lettering.type', 1);
Configuration::Set('lettering.begin.spaces', 11);
/*					-NON FLASH BANNER-
->Bloody Theme Banner Path - The path of the banner for this theme from the Base Dir
	+Header Path - The path of the left navbar header for this theme from the Base Dir
->Neon Theme Banner Path - If use flash banner is disabled, set the path of the graphic banner here. 								*/
Configuration::Set('bloody.theme.banner.path', 'images/banners/main.png');
Configuration::Set('bloody.theme.header.path', 'images/banners/header.png');
Configuration::Set('neon.theme.banner.path', '');