Advertisement
Guest User

Untitled

a guest
May 3rd, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. <?php
  2. /*
  3. * TeamSpeak For EVE (v1.1) Configuration File
  4. * Author: Agent Unknown
  5. *
  6. * Modify the values below to suit your needs. If you wish to modify the strings used (localization, etc) or
  7. * change the messages that appear on the pages, see lang.php
  8. *
  9. * Check db.php for database configuration settings as well!
  10. */
  11. require_once('lang.php');
  12. class Config {
  13. /*
  14. * TeamSpeak Information
  15. */
  16. //ServerQuery Host
  17. public $tshost = 'localhost';
  18. //TeamSpeak ServerQuery Name
  19. public $tsname = 'serveradmin';
  20. //ServerQuery Password
  21. public $tspass = 'querypass';
  22. //ServerQuery Port
  23. public $tsport = '10011';
  24. //TeamSpeak client port
  25. public $tscport = '9987';
  26.  
  27. /*
  28. * Database Information
  29. *
  30. * Note: Use phpBB's information if using forum verification
  31. */
  32. public $db_host = 'localhost';
  33. public $db_user = 'ts';
  34. public $db_pass = 'mypass';
  35. public $db_name = 'TS3';
  36. /*
  37. * Options
  38. */
  39. //
  40. //Basic Configuration
  41. //
  42. //Your corporation/alliance name. Used for standings verification.
  43. public $myname = '';
  44. //Use "forum verification". This extra step requires users to register on the forums with their API in order
  45. //to verify for TS. THIS IS ONLY COMPATIBLE WITH THE PHPBB 3 API MOD, NOT ANYTHING ELSE!
  46. public $forum = false;
  47. //Server group newly registered users will be assigned to.
  48. public $group = 9;
  49.  
  50. //
  51. //Registration Options
  52. //
  53.  
  54. //Use "Alliance" mode. This mode only allows people from the specified alliance(s) to verify.
  55. public $useally = false;
  56.  
  57. //Use "Corp" mode. Use if the members registering are not in an alliance. Set useally to FALSE if this is used.
  58. public $usecorp = false;
  59.  
  60. //Use "Standings" mode. This allows any one with "blue" status to register (can be configured)
  61. //NOTE: USE OF STANDINGS FEATURE REQUIRES FULL API KEY OF A DIRECTOR/CEO IN THE EXECUTOR ALLIANCE OR CORPORATION.
  62. public $usesta = false;
  63.  
  64. //Use "Faction Warfare" mode. This will validate users depending on which faction they are in.
  65. public $usefact = true;
  66.  
  67. //Faction list if usefact is true
  68. public $factionlist = array(
  69. 'Gallente Federation'
  70. );
  71.  
  72. //If usesta is true, configure these:
  73.  
  74. //Director/CEO FULL API
  75. public $api = '';
  76. //Director/CEO UserID
  77. public $id = '';
  78. //Directpr/CEO Character Name
  79. public $char = '';
  80. //Minimum standings required to register
  81. public $stamin = 0.10;
  82. //Valid alliance and corp lists (CASE SENSITIVE)
  83. //Used if you enabled useally or usecorp above. Seperate with ,'s and use ' ' for each.
  84. public $allylist = array(
  85. 'My Alliance'
  86. );
  87. public $corplist = array(
  88. 'Situation Grey'
  89. );
  90.  
  91. /* AFTER YOU HAVE GONE THROUGH THIS, COMMENT OUT THE LINE BELOW TO ENABLE THE SCRIPT */
  92. //public $disable = true;
  93.  
  94.  
  95. public function cConfig() {
  96. if (isset($disable)) die($errmsg['ERR_CONFIG']);
  97. else return;
  98. }
  99. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement