/config/application.php

https://github.com/bgamez23/FluxCP · PHP · 516 lines · 390 code · 51 blank · 75 comment · 0 complexity · 38875243f1ddc31654eb824496fd1827 MD5 · raw file

  1. <?php
  2. // This is the application configuration file. All values have been set to
  3. // the default, and should be changed as needed.
  4. return array(
  5. 'ServerAddress' => 'localhost', // This value is the hostname:port under which Flux runs. (e.g., example.com or example.com:80)
  6. 'BaseURI' => '', // The base URI is the base web root on which your application lies.
  7. 'InstallerPassword' => 'secretpassword', // Installer/updater password.
  8. 'RequireOwnership' => true, // Require the executing user to be owner of the FLUX_ROOT/data/ directory tree? (Better for security)
  9. // WARNING: This will be mostly IGNORED on non-POSIX-compliant OSes (e.g. Windows).
  10. 'DefaultLoginGroup' => null,
  11. 'DefaultCharMapServer' => null,
  12. 'DefaultLanguage' => 'en_us', // Specify the default control panel language (see FLUX_ROOT/lang/ directory for available languages.)
  13. 'SiteTitle' => 'Flux Control Panel', // This value is only used if the theme decides to use it.
  14. 'ThemeName' => 'default', // The theme name of the theme you would like to use. Themes are in FLUX_ROOT/themes.
  15. 'ScriptTimeLimit' => 0, // Script execution time limit. Specifies (in seconds) how long a page should run before timing out. (0 means forever)
  16. 'MissingEmblemBMP' => 'empty.bmp', //
  17. 'ItemIconNameFormat' => '%d.png', // The filename format for item icons (defaults to {itemid}.png).
  18. 'ItemImageNameFormat' => '%d.png', // The filename format for item images (defaults to {itemid}.png).
  19. 'MonsterImageNameFormat' => '%d.gif', // The filename format for monster images (defaults to {monsterid}.gif).
  20. 'JobImageNameFormat' => '%d.gif', // The filename format for job images (defaults to {jobid}.gif).
  21. 'ForceEmptyEmblem' => false, // Forcefully display empty guild emblems, helpful when you don't have GD2 installed.
  22. 'EmblemCacheInterval' => 12, // Hourly interval to re-cache guild emblems (set to 0 to disable emblem cache).
  23. 'SessionCookieExpire' => 48, // Duration in hours.
  24. 'AdminMenuGroupLevel' => AccountLevel::LOWGM, // The starting group ID for which module actions are moved into the admin menu for display.
  25. 'DateDefaultTimezone' => null, // The default timezone, consult the PHP manual for valid timezones: http://php.net/timezones (null for defaut system TZ)
  26. 'DateFormat' => 'Y-m-d', // Default DATE format to be displayed in pages.
  27. 'DateTimeFormat' => 'Y-m-d H:i:s', // Default DATETIME format to be displayed in pages.
  28. 'ShowSinglePage' => true, // Whether or not to show the page numbers even if there's only one page.
  29. 'ResultsPerPage' => 20, // The number of results to display in a paged set, per page.
  30. 'PagesToShow' => 10, // The number of page numbers to display at once.
  31. 'PageJumpMinimumPages' => 1, // Minimum number of required pages before page jump box is shown. (0 to always show!)
  32. 'ShowPageJump' => true, // Whether or not to show the "Page Jump" box.
  33. 'SingleMatchRedirect' => true, // Whether or not to redirect to view action from index page if only one match is returned (and action is allowed).
  34. 'SingleMatchRedirectItem' => false, // Same as above, for item module.
  35. 'SingleMatchRedirectMobs' => false, // Same as above, for monster module.
  36. 'UsernameAllowedChars' => 'a-zA-Z0-9_', // PCRE Format Pattern. default: 'a-zA-Z0-9_' (alphanumeric and underscore)
  37. // WARNING: This string isn't escaped so be careful which chars you use!
  38. // PCRE Pattern Ref: http://php.net/manual/en/pcre.pattern.php
  39. 'MinUsernameLength' => 4, // Minimum username length.
  40. 'MaxUsernameLength' => 23, // Maximum username length.
  41. 'MinPasswordLength' => 8, // Minimum password length.
  42. 'MaxPasswordLength' => 31, // Maximum password length.
  43. 'PasswordMinUpper' => 1, // Number of upper-case letters to require in passwords.
  44. 'PasswordMinLower' => 1, // Number of lower-case letters to require in passwords.
  45. 'PasswordMinNumber' => 1, // Number of numbers to require in passwords.
  46. 'PasswordMinSymbol' => 0, // Number of symbols to require in passwords.
  47. 'GMMinPasswordLength' => 8, // Minimum password length for GM accounts.
  48. 'GMPasswordMinUpper' => 1, // Number of upper-case letters to require in passwords for GM accounts.
  49. 'GMPasswordMinLower' => 1, // Number of lower-case letters to require in passwords for GM accounts.
  50. 'GMPasswordMinNumber' => 1, // Number of numbers to require in passwords for GM accounts.
  51. 'GMPasswordMinSymbol' => 1, // Number of symbols to require in passwords for GM accounts.
  52. 'RandomPasswordLength' => 16, // This is the length of the random password generated by the "Reset Password" feature. (NOTE: Hardcoded minimum value of 8)
  53. 'AllowUserInPassword' => false, // Whether or not to allow the password to contain the username. (NOTE: A case-insensitive search is performed)
  54. 'AllowDuplicateEmails' => false, // Whether or not to allow duplicate e-mails to be used in registration. (See Mailer config options)
  55. 'RequireEmailConfirm' => false, // Require e-mail confirmation during registration.
  56. 'RequireChangeConfirm' => false, // Require confirmation when changing e-mail addresses.
  57. 'EmailConfirmExpire' => 48, // E-mail confirmations expire hours. Unconfirmed accounts will expire after this period of time.
  58. 'MailerFromAddress' => 'noreply@localhost', // The e-mail address displayed in the From field.
  59. 'MailerFromName' => 'MailerName', // The name displayed with the From e-mail address.
  60. 'MailerUseSMTP' => false, // Whether or not to use a separate SMTP server for sending mail.
  61. 'MailerSMTPUseSSL' => false, // Whether or not mailer should connect using SSL (yes for GMail).
  62. 'MailerSMTPUseTLS' => false, // Same as above SSL setting, but for TLS. This setting will override the SSL setting.
  63. 'MailerSMTPPort' => null, // When MailerUseSMTP is true: SMTP server port (mailer will default to 25).
  64. 'MailerSMTPHosts' => null, // When MailerUseSMTP is true: A string host or array of hosts (e.g., 'host1' or array('host1', 'backuphost')).
  65. 'MailerSMTPUsername' => null, // When MailerUseSMTP is true: Authorized username for SMTP server.
  66. 'MailerSMTPPassword' => null, // When MailerUseSMTP is true: Authorized password for SMTP server (for above user).
  67. 'ServerStatusCache' => 2, // Store a cached server status and refresh every X minutes. Default: 2 minutes (value is measured in minutes).
  68. 'ServerStatusTimeout' => 2, // For each server, spend X amount of seconds to determine whether it's up or not.
  69. 'SessionKey' => 'fluxSessionData', // Shouldn't be changed, just specifies the session key to be used for session data.
  70. 'DefaultModule' => 'main', // This is the module to execute when none has been specified.
  71. 'DefaultAction' => 'index', // This is the default action for any module, probably should leave this alone. (Deprecated)
  72. 'GzipCompressOutput' => false, // Whether or not to compress output using zlib.
  73. 'GzipCompressionLevel' => 9, // zlib compression level. (1~9)
  74. 'OutputCleanHTML' => true, // Use this if you have Tidy installed to clean your HTML output when serving pages.
  75. 'ShowCopyright' => true, // Whether or not to show the copyright footer.
  76. 'ShowRenderDetails' => true, // Shows the "page rendered in X seconds" and "number of queries executed: X" in the default theme.
  77. 'UseCleanUrls' => false, // Set to true if you're running Apache and it supports mod_rewrite and .htaccess files.
  78. 'DebugMode' => false, // Set to false to minimize technical details from being output by Flux. WARNING: DO NOT USE THIS OPTION ON A PUBLICALLY-ACCESSIBLE CP.
  79. 'UseCaptcha' => true, // Use CAPTCHA image for account registration to prevent automated account creations. (Requires GD2/FreeType2)
  80. 'UseLoginCaptcha' => false, // Use CAPTCHA image for account logins. (Requires GD2/FreeType2)
  81. 'EnableReCaptcha' => false, // Enables the use of reCAPTCHA instead of Flux's native GD2 library (http://www.google.com/recaptcha)
  82. 'ReCaptchaPublicKey' => '...', // This is your reCAPTCHA public key [REQUIRED FOR RECAPTCHA] (sign up at http://www.google.com/recaptcha)
  83. 'ReCaptchaPrivateKey' => '...', // This is your reCAPTCHA private key [REQUIRED FOR RECAPTCHA] (sign up at http://www.google.com/recaptcha)
  84. 'ReCaptchaTheme' => 'white', // ReCaptcha theme to use (see: http://code.google.com/apis/recaptcha/docs/customization.html#Standard_Themes)
  85. 'DisplaySinglePages' => true, // Whether or not to display paging for single page results.
  86. 'ForwardYears' => 15, // (Visual) The number of years to display ahead of the current year in date inputs.
  87. 'BackwardYears' => 30, // (Visual) The number of years to display behind the current year in date inputs.
  88. 'ColumnSortAscending' => ' ▲', // (Visual) Text displayed for ascending sorted column names.
  89. 'ColumnSortDescending' => ' ▼', // (Visual) Text displayed for descending sorted column names.
  90. 'CreditExchangeRate' => 1.0, // The rate at which credits are exchanged for dollars.
  91. 'MinDonationAmount' => 2.0, // Minimum donation amount. (NOTE: Actual donations made that are less than this account won't be exchanged)
  92. 'DonationCurrency' => 'USD', // Preferred donation currency. Only donations made in this currency will be processed for credit deposits.
  93. 'MoneyDecimalPlaces' => 2, // (Visual) Number of decimal places to display in amount.
  94. 'MoneyThousandsSymbol' => ',', // (Visual) Thousandths place separator (a period in European currencies).
  95. 'MoneyDecimalSymbol' => '.', // (Visual) Decimal separator (a comma in European currencies).
  96. 'AcceptDonations' => true, // Whether or not to accept donations.
  97. 'PayPalIpnUrl' => 'www.sandbox.paypal.com',// The URL for PayPal's IPN responses (www.paypal.com for live and www.sandbox.paypal.com for testing)
  98. 'PayPalBusinessEmail' => 'admin@localhost', // Enter the e-mail under which you have registered your business account.
  99. 'PayPalReceiverEmails' => array( // These are the receiver e-mail addresses who are allowed to receive payment.
  100. //'admin2@localhost', // -- This array may be empty if you only use one e-mail
  101. //'admin3@localhost' // -- because your Business Email is also checked.
  102. ),
  103. 'GStorageLeaderOnly' => false, // Only allow guild leader to view guild storage rather than all members?
  104. 'DivorceKeepChild' => false, // Keep child after divorce?
  105. 'DivorceKeepRings' => false, // Keep wedding rings after divorce?
  106. 'IpWhitelistPattern' => // PCRE Format Pattern. It's recommended you add your gameserver, webserver and server owner's IPs here.
  107. '(127\.0\.0\.1|0(\.[0\*]){3})', // WARNING: This string isn't escaped so be careful which chars you use!
  108. // By default, whitelists 127.0.0.1 (localhost) and 0.0.0.0 (all interfaces; whitelists all wildcard bans that can achive this too)
  109. 'AllowIpBanLogin' => false, // Allow logging into account from banned IP.
  110. 'AllowTempBanLogin' => false, // Allow logging in of temporarily banned accounts.
  111. 'AllowPermBanLogin' => false, // Allow logging in of permanently banned accounts.
  112. 'AutoRemoveTempBans' => true, // Automatically remove expired temporary bans on certain pages.
  113. 'ItemShopMaxCost' => 99, // Max price an item can be sold for.
  114. 'ItemShopMaxQuantity' => 99, // Max quantity the item may be sold at once for.
  115. 'ItemShopItemPerPage' => 5, // The number of items to display per page in the "Item Shop" page.
  116. 'HideFromWhosOnline' => AccountLevel::LOWGM, // Levels greater than or equal to this will be hidden from the "Who's Online" page.
  117. 'HideFromMapStats' => AccountLevel::LOWGM, // Levels greater than or equal to this will be hidden from the "Map Stats" page.
  118. 'EnableGMPassSecurity' => AccountLevel::LOWGM, // Levels greater than or equal to this will be required to use passwords that meet the earlier GM Password settings.
  119. 'ChargeGenderChange' => 0, // You can specify this as the number of credits to charge for gender change. Can be 0 for free change.
  120. 'BanPaymentStatuses' => array( // Payment statuses that will automatically ban the account owner if received.
  121. 'Cancelled_Reversal', // -- 'Cancelled_Reversal'
  122. 'Reversed', // -- 'Reversed'
  123. ),
  124. 'HoldUntrustedAccount' => 0, // This is the time in hours to hold a donation crediting process for, if the account
  125. // isn't a trusted account. Specify 0 or false to disable this feature.
  126. 'AutoUnholdAccount' => false, // Enable this to auto-unhold an account and credit it if the transaction is still
  127. // valid. This only applies if you are using the HoldUnstrustedAccount feature.
  128. // If you want to run a cron job instead, you can make a request to the '/donate/update'
  129. // module/action with the InstallerPassword as the password to run the update task.
  130. // With clean URLs: http://<server>/<baseURI>/donate/update?password=<InstallerPassword>
  131. // Without clean URLs: http://<server>/<baseURI>?module=donate&action=update&password=<InstallerPassword>
  132. // NOTE: This option is HIGHLY inefficient, it's recommended to run a cron job instead.
  133. 'AutoPruneAccounts' => false, // Enable this to automatically prune expired accounts. Enabling this is a performance
  134. // performance killer. See 'AutoUnholdAccount' for running this task as a cron job,
  135. // the module is 'account' and the action is 'prune'.
  136. // With clean URLs: http://<server>/<baseURI>/account/prune?password=<InstallerPassword>
  137. // Without clean URLs: http://<server>/<baseURI>?module=account&action=prune&password=<InstallerPassword>
  138. 'ShopImageExtensions' => array( // These are the image extensions allowed for uploading in the item shop.
  139. 'png', 'jpg', 'gif', 'bmp', 'jpeg'
  140. ),
  141. 'NoResetPassGroupLevel' => AccountLevel::LOWGM, // Minimum group level of account to prevent password reset using control panel.
  142. 'CharRankingLimit' => 20, //
  143. 'GuildRankingLimit' => 20, //
  144. 'ZenyRankingLimit' => 20, //
  145. 'DeathRankingLimit' => 20, //
  146. 'AlchemistRankingLimit' => 20, //
  147. 'BlacksmithRankingLimit' => 20, //
  148. 'HomunRankingLimit' => 20, //
  149. 'RankingHideGroupLevel' => AccountLevel::LOWGM, //
  150. 'InfoHideZenyGroupLevel' => AccountLevel::LOWGM, // Minimum group level of account to hide zeny from in server information page.
  151. 'CharRankingThreshold' => 0, // Number of days the character must have logged in within to be listed in character ranking. (0 = disabled)
  152. 'ZenyRankingThreshold' => 0, // Number of days the character must have logged in within to be listed in zeny ranking. (0 = disabled)
  153. 'DeathRankingThreshold' => 0, // Number of days the character must have logged in within to be listed in death ranking. (0 = disabled)
  154. 'AlchemistRankingThreshold' => 0, // Number of days the character must have logged in within to be listed in death ranking. (0 = disabled)
  155. 'HomunRankingThreshold' => 0, // Number of days the character must have logged in within to be listed in homunculus ranking. (0 = disabled)
  156. 'HideTempBannedCharRank' => false, // Hide temporarily banned characters from ranking.
  157. 'HidePermBannedCharRank' => true, // Hide permanently banned characters from ranking.
  158. 'HideTempBannedZenyRank' => false, // Hide temporarily banned characters from ranking.
  159. 'HidePermBannedZenyRank' => true, // Hide permanently banned characters from ranking.
  160. 'HideTempBannedDeathRank' => false, // Hide temporarily banned characters from ranking.
  161. 'HidePermBannedDeathRank' => true, // Hide permanently banned characters from ranking.
  162. 'HideTempBannedAlcheRank' => false, // Hide temporarily banned characters from ranking.
  163. 'HidePermBannedAlcheRank' => true, // Hide permanently banned characters from ranking.
  164. 'HideTempBannedSmithRank' => false, // Hide temporarily banned characters from ranking.
  165. 'HidePermBannedSmithRank' => true, // Hide permanently banned characters from ranking.
  166. 'HideTempBannedStats' => false, // Hide temporarily banned accounts from statistics.
  167. 'HidePermBannedStats' => true, // Hide permanently banned accounts from statistics.
  168. 'HideTempBannedHomunRank' => false, // Hide temporarily banned characters from ranking.
  169. 'HidePermBannedHomunRank' => true, // Hide permanently banned characters from ranking.
  170. 'SortJobsByAmount' => false, // Sort job class information on statistics page by descending quantity (false = Sort by Job ID).
  171. 'CpLoginLogShowPassword' => false, // Show password in CP login log (also see access.php's SeeCpLoginLogPass).
  172. 'CpResetLogShowPassword' => false, // Show password in CP "password resets" log (also see access.php's SeeCpResetPass).
  173. 'CpChangeLogShowPassword' => false, // Show password in CP "password changes" log (also see access.php's SeeCpChangePass).
  174. 'AdminMenuNewStyle' => true, // Use new-style admin menu; Applies to 'default' theme.
  175. // The following configs relate to customised FluxCP modules
  176. // Contact Form
  177. 'ContactFormEmail' => 'a@a.com', // This email address is where you want the form submissions to be sent.
  178. // Harmony Logs
  179. 'EnableHarmonyLogs' => '0', // 0 to disable, 1 to enable. If you don't have a harmony log table, do not enable.
  180. // News Options
  181. 'CMSNewsType' => 1, // Type = source of news feed:
  182. // 1 = Built-in news page
  183. // 2 = RSS Import
  184. // 3 = Import from text file (!NOT IMPLEMENTED IN THIS VERSION!)
  185. // 4 = Facebook page feed
  186. // 5 = Twitter feed (!NOT IMPLEMENTED IN THIS VERSION!)
  187. 'CMSNewsRSS' => 'http://spriterepository.com/index.php?/rss/forums/1-tsr-news/', // Use if CMSNewsType = 2
  188. 'CMSNewsFile' => 'http://location.to/file.txt', // Use if CMSNewsType = 3
  189. 'CMSNewsFbID' => '323421851102623', // Use if CMSNewsType = 4
  190. 'CMSNewsTwFeed' => 'http://twitter.com/accounttoshow', // Use if CMSNewsType = 5
  191. 'CMSNewsLimit' => 4, // Number of news items to display
  192. // Flux Admin
  193. 'FluxAdminCache' => 20, // Store cached GitHub data and refresh every X minutes. Default: 20 minutes (value is measured in minutes).
  194. // Service Desk
  195. 'StaffReplyColour' => 'brown',
  196. 'FontResolvedColour' => 'green',
  197. 'FontPendingColour' => 'orange',
  198. 'FontClosedColour' => 'darkgrey',
  199. // These are the main menu items that should be displayed by themes.
  200. // They route to modules and actions. Whether they are displayed or
  201. // not at any given time depends on the user's account group level and/or
  202. // their login status.
  203. 'MenuItems' => array(
  204. 'Main Menu' => array(
  205. 'Home' => array('module' => 'main'),
  206. //'Forums' => array('exturl' => 'http://www.fluxro.com/community'), // External forum link
  207. //'Forums' => array('module' => 'forums'), // Built-in forum link
  208. 'News' => array('module' => 'news'),
  209. // Sample items for pages function.
  210. 'Downloads' => array('module' => 'pages','action'=>'content&path=downloads'),
  211. 'Rules' => array('module' => 'pages','action'=>'content&path=rules'),
  212. // End sample items for pages function.
  213. 'Contact Us' => array('module' => 'contactform'),
  214. ),
  215. 'Account' => array(
  216. 'Register' => array('module' => 'account', 'action' => 'create'),
  217. 'Login' => array('module' => 'account', 'action' => 'login'),
  218. 'My Account' => array('module' => 'account', 'action' => 'view'),
  219. 'History' => array('module' => 'history'),
  220. 'Service Desk' => array('module' => 'servicedesk'),
  221. 'Logout' => array('module' => 'account', 'action' => 'logout'),
  222. ),
  223. 'Donations' => array(
  224. 'Purchase' => array('module' => 'purchase'),
  225. 'Donate' => array('module' => 'donate'),
  226. ),
  227. 'Information' => array(
  228. 'Server Info' => array('module' => 'server', 'action' => 'info'),
  229. 'Server Status' => array('module' => 'server', 'action' => 'status'),
  230. 'WoE Hours' => array('module' => 'woe'),
  231. 'Castles' => array('module' => 'castle'),
  232. "Who's Online" => array('module' => 'character', 'action' => 'online'),
  233. 'Map Statistics'=> array('module' => 'character', 'action' => 'mapstats'),
  234. 'Ranking Info' => array('module' => 'ranking', 'action' => 'character'),
  235. 'Vending Info' => array('module' => 'vending'),
  236. ),
  237. 'Database' => array(
  238. 'Item Database' => array('module' => 'item'),
  239. 'Mob Database' => array('module' => 'monster'),
  240. ),
  241. 'Social' => array(
  242. 'Join us on Facebook!' => array('exturl' => 'https://www.facebook.com/<change_me>'),
  243. 'Rate us on RMS!' => array('exturl' => '<link_to_RMS>'),
  244. ),
  245. 'Service Desk' => array(
  246. 'Service Desk' => array('module' => 'servicedesk', 'action' => 'staffindex'),
  247. ),
  248. 'Misc. Stuff' => array(
  249. 'Accounts' => array('module' => 'account'),
  250. 'Characters' => array('module' => 'character'),
  251. 'CP Logs' => array('module' => 'cplog'),
  252. 'Flux Admin' => array('module' => 'fluxadmin'),
  253. 'Guilds' => array('module' => 'guild'),
  254. 'IP Ban List' => array('module' => 'ipban'),
  255. 'rA Logs' => array('module' => 'logdata'),
  256. 'Re-Install' => array('module' => 'install', 'action' => 'reinstall'),
  257. 'Send Mail' => array('module' => 'mail'),
  258. //'Auction' => array('module' => 'auction'),
  259. //'Economy' => array('module' => 'economy'),
  260. 'Tools' => array('module' => 'tools', 'action' => 'phpminiadmin'),
  261. ),
  262. 'Task List' => array(
  263. 'Task List' => array('module' => 'tasks', 'action'=>'index'),
  264. )
  265. ),
  266. // Sub-menu items that are displayed for any action belonging to a
  267. // particular module. The format it simple.
  268. 'SubMenuItems' => array(
  269. 'tasks' => array(
  270. 'createnew' => 'Add New Task',
  271. 'index' => 'View Current Tasks',
  272. 'viewmine' => 'View My Tasks',
  273. 'viewcompleted' => 'View Completed',
  274. 'staffsettings' => 'Settings',
  275. ),
  276. 'history' => array(
  277. 'gamelogin' => 'Game Logins',
  278. 'cplogin' => 'CP Logins',
  279. 'emailchange' => 'E-Mail Changes',
  280. 'passchange' => 'Password Changes',
  281. 'passreset' => 'Password Resets'
  282. ),
  283. 'account' => array(
  284. 'index' => 'List Accounts',
  285. 'view' => 'View Account',
  286. 'changepass' => 'Change Password',
  287. 'changemail' => 'Change E-mail',
  288. 'changesex' => 'Change Gender',
  289. 'transfer' => 'Transfer Credits',
  290. 'xferlog' => 'Credit Transfer History',
  291. 'cart' => 'Go to Shopping Cart',
  292. 'login' => 'Login',
  293. 'create' => 'Register',
  294. 'resetpass' => 'Reset Password',
  295. 'resend' => 'Resend E-mail Confirmation'
  296. ),
  297. 'guild' => array(
  298. 'index' => 'List Guilds',
  299. 'export' => 'Export Guild Emblems'
  300. ),
  301. 'server' => array(
  302. 'status' => 'View Status',
  303. 'status-xml' => 'View Status as XML'
  304. ),
  305. 'logdata' => array(
  306. 'branch' => 'Branches',
  307. 'char' => 'Characters',
  308. 'chat' => 'Chat Messages',
  309. 'command' => 'Commands',
  310. 'harmony' => 'Harmony Logs',
  311. 'inter' => 'Interactions',
  312. 'pick' => 'Item Picks',
  313. 'login' => 'Logins',
  314. 'mvp' => 'MVP',
  315. 'npc' => 'NPC',
  316. 'zeny' => 'Zeny'
  317. ),
  318. 'cplog' => array(
  319. 'paypal' => 'PayPal Transactions',
  320. 'login' => 'Logins',
  321. 'resetpass' => 'Password Resets',
  322. 'changepass' => 'Password Changes',
  323. 'changemail' => 'E-mail Changes',
  324. 'ban' => 'Account Bans',
  325. 'ipban' => 'IP Bans'
  326. ),
  327. 'purchase' => array(
  328. 'index' => 'Shop',
  329. 'cart' => 'Go to Cart',
  330. 'checkout' => 'Checkout',
  331. 'clear' => 'Empty Cart',
  332. 'pending' => 'Pending Redemption'
  333. ),
  334. 'donate' => array(
  335. 'index' => 'Make a Donation',
  336. 'history' => 'Donation History',
  337. 'trusted' => 'Trusted PayPal E-mails'
  338. ),
  339. 'ipban' => array(
  340. 'index' => 'IP Ban List',
  341. 'add' => 'Add IP Ban'
  342. ),
  343. 'ranking' => array(
  344. 'character' => 'Characters',
  345. 'death' => 'Deaths',
  346. 'alchemist' => 'Alchemists',
  347. 'blacksmith' => 'Blacksmiths',
  348. 'homunculus' => 'Homunculus',
  349. 'guild' => 'Guilds',
  350. 'zeny' => 'Zeny',
  351. 'bowman' => 'Bowman',
  352. 'spearman' => 'Spearman',
  353. 'swordman' => 'Swordman',
  354. 'mvp' => 'MvPs',
  355. ),
  356. 'item' => array(
  357. 'index' => 'List Items',
  358. 'add' => 'Add Item',
  359. ),
  360. 'pages' => array(
  361. 'index' => 'Manage Pages',
  362. 'add' => 'Add New Page',
  363. ),
  364. 'news' => array(
  365. 'index' => 'Manage',
  366. 'add' => 'Add News',
  367. ),
  368. 'servicedesk' => array(
  369. 'staffindex' => 'View Active',
  370. 'staffviewclosed'=> 'View Closed',
  371. 'staffsettings' => 'Staff Settings',
  372. 'catcontrol' => 'Category Control',
  373. ),
  374. 'vending' => array(
  375. 'index' => 'Vendors',
  376. ),
  377. ),
  378. 'AllowMD5PasswordSearch' => false,
  379. 'ReallyAllowMD5PasswordSearch' => false, // Are you POSITIVELY sure?
  380. // Specifies which modules and actions should be ignored by Tidy
  381. // (enabled/disabled by the OutputCleanHTML option).
  382. 'TidyIgnore' => array(
  383. array('module' => 'captcha'),
  384. array('module' => 'guild', 'action' => 'emblem')
  385. ),
  386. // Job classes, loaded from another file to avoid cluttering this one.
  387. // There isn't normally a need to modify this file, unless it's been
  388. // modified in an update. (In English: DON'T TOUCH THIS.)
  389. 'JobClasses' => include('jobs.php'),
  390. // Alchemist job classes, mostly used for alchemist rankings.
  391. // Should be left alone unless new alchemist-related job classes are introduced.
  392. 'AlchemistJobClasses' => include('jobs_alchemist.php'),
  393. // Blacksmith job classes, mostly used for blacksmith rankings.
  394. // Should be left alone unless new blacksmith-related job classes are introduced.
  395. 'BlacksmithJobClasses' => include('jobs_blacksmith.php'),
  396. // Gender-linked Job class IDs and their corresponding names.
  397. // Should be left alone unless new gender-specific job classes are introduced.
  398. 'GenderLinkedJobClasses' => include('jobs_gender_linked.php'),
  399. // Homunculus class IDs and their corresponding names.
  400. // Best not to mess with this either.
  401. 'HomunClasses' => include('homunculus.php'),
  402. // Item Types with their corresponding names.
  403. // Shouldn't touch this either.
  404. 'ItemTypes' => include('itemtypes.php'),
  405. // Special Item Types with their corresponding names (For Weapons & Ammo by default).
  406. // Shouldn't touch this either.
  407. 'ItemTypes2' => include('itemtypes2.php'),
  408. // Common Equip Location Combinations with their corresponding names.
  409. // Shouldn't touch this unless you've added custom combinations.
  410. 'EquipLocationCombinations' => include('equip_location_combinations.php'),
  411. // Error Code -> Error Type mapping.
  412. // Shouldn't need touching, however modifying loginerrors.php should be relatively safe.
  413. 'LoginErrors' => include('loginerrors.php'),
  414. // rA equip jobs mapping.
  415. 'EquipJobs' => include('equip_jobs.php'),
  416. // rA equip locations mapping.
  417. 'EquipLocations' => include('equip_locations.php'),
  418. // rA equip upper mapping.
  419. 'EquipUpper' => include('equip_upper.php'),
  420. // rA monster sizes mapping.
  421. 'MonsterSizes' => include('sizes.php'),
  422. // rA monster races mapping.
  423. 'MonsterRaces' => include('races.php'),
  424. // rA elements mapping.
  425. 'Elements' => include('elements.php'),
  426. // rA attributes mapping.
  427. 'Attributes' => include('attributes.php'),
  428. // rA monster modes mapping.
  429. 'MonsterModes' => include('monstermode.php'),
  430. // Item shop categories.
  431. 'ShopCategories' => include('shopcategories.php'),
  432. // Item pick and zeny log types.
  433. 'PickTypes' => include('picktypes.php'),
  434. // Castle names.
  435. 'CastleNames' => include('castlenames.php'),
  436. // DON'T TOUCH. THIS IS FOR DEVELOPERS.
  437. 'FluxTables' => array(
  438. 'CreditsTable' => 'cp_credits',
  439. 'CreditTransferTable' => 'cp_xferlog',
  440. 'ItemShopTable' => 'cp_itemshop',
  441. 'TransactionTable' => 'cp_txnlog',
  442. 'RedemptionTable' => 'cp_redeemlog',
  443. 'AccountCreateTable' => 'cp_createlog',
  444. 'AccountBanTable' => 'cp_banlog',
  445. 'IpBanTable' => 'cp_ipbanlog',
  446. 'DonationTrustTable' => 'cp_trusted',
  447. 'AccountPrefsTable' => 'cp_loginprefs',
  448. 'CharacterPrefsTable' => 'cp_charprefs',
  449. 'ResetPasswordTable' => 'cp_resetpass',
  450. 'ChangeEmailTable' => 'cp_emailchange',
  451. 'LoginLogTable' => 'cp_loginlog',
  452. 'ChangePasswordTable' => 'cp_pwchange',
  453. 'TaskListTable' => 'cp_tasklist',
  454. 'TaskListStaffTable' => 'cp_taskliststaff',
  455. 'OnlinePeak' => 'cp_onlinepeak',
  456. 'CMSNewsTable' => 'cp_cmsnews',
  457. 'CMSPagesTable' => 'cp_cmspages',
  458. 'CMSSettingsTable' => 'cp_cmssettings',
  459. 'ServiceDeskTable' => 'cp_servicedesk',
  460. 'ServiceDeskATable' => 'cp_servicedeska',
  461. 'ServiceDeskCatTable' => 'cp_servicedeskcat',
  462. 'ServiceDeskSettingsTable' => 'cp_servicedesksettings',
  463. )
  464. );
  465. ?>