Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * TeamSpeak For EVE (v1.1) Configuration File
- * Author: Agent Unknown
- *
- * Modify the values below to suit your needs. If you wish to modify the strings used (localization, etc) or
- * change the messages that appear on the pages, see lang.php
- *
- * Check db.php for database configuration settings as well!
- */
- require_once('lang.php');
- class Config {
- /*
- * TeamSpeak Information
- */
- //ServerQuery Host
- public $tshost = 'localhost';
- //TeamSpeak ServerQuery Name
- public $tsname = 'serveradmin';
- //ServerQuery Password
- public $tspass = 'querypass';
- //ServerQuery Port
- public $tsport = '10011';
- //TeamSpeak client port
- public $tscport = '9987';
- /*
- * Database Information
- *
- * Note: Use phpBB's information if using forum verification
- */
- public $db_host = 'localhost';
- public $db_user = 'ts';
- public $db_pass = 'mypass';
- public $db_name = 'TS3';
- /*
- * Options
- */
- //
- //Basic Configuration
- //
- //Your corporation/alliance name. Used for standings verification.
- public $myname = '';
- //Use "forum verification". This extra step requires users to register on the forums with their API in order
- //to verify for TS. THIS IS ONLY COMPATIBLE WITH THE PHPBB 3 API MOD, NOT ANYTHING ELSE!
- public $forum = false;
- //Server group newly registered users will be assigned to.
- public $group = 9;
- //
- //Registration Options
- //
- //Use "Alliance" mode. This mode only allows people from the specified alliance(s) to verify.
- public $useally = false;
- //Use "Corp" mode. Use if the members registering are not in an alliance. Set useally to FALSE if this is used.
- public $usecorp = false;
- //Use "Standings" mode. This allows any one with "blue" status to register (can be configured)
- //NOTE: USE OF STANDINGS FEATURE REQUIRES FULL API KEY OF A DIRECTOR/CEO IN THE EXECUTOR ALLIANCE OR CORPORATION.
- public $usesta = false;
- //Use "Faction Warfare" mode. This will validate users depending on which faction they are in.
- public $usefact = true;
- //Faction list if usefact is true
- public $factionlist = array(
- 'Gallente Federation'
- );
- //If usesta is true, configure these:
- //Director/CEO FULL API
- public $api = '';
- //Director/CEO UserID
- public $id = '';
- //Directpr/CEO Character Name
- public $char = '';
- //Minimum standings required to register
- public $stamin = 0.10;
- //Valid alliance and corp lists (CASE SENSITIVE)
- //Used if you enabled useally or usecorp above. Seperate with ,'s and use ' ' for each.
- public $allylist = array(
- 'My Alliance'
- );
- public $corplist = array(
- 'Situation Grey'
- );
- /* AFTER YOU HAVE GONE THROUGH THIS, COMMENT OUT THE LINE BELOW TO ENABLE THE SCRIPT */
- //public $disable = true;
- public function cConfig() {
- if (isset($disable)) die($errmsg['ERR_CONFIG']);
- else return;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement