Advertisement
Guest User

Settings.php (In FileZilla)

a guest
Mar 10th, 2016
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. $this->name = 'LiteBans';
  2.  
  3. // Clicking on the header name will send you to this address.
  4. $this->name_link = '#';
  5.  
  6. // Database information
  7. $host = 'phonixmc.net.mysql';
  8. $port = 3306;
  9.  
  10. $database = 'phonixmc_net';
  11.  
  12. $username = 'phonixmc_net';
  13. $password = (Blocked);
  14.  
  15. // If you set a table prefix in config.yml, set it here as well
  16. $table_prefix = "litebans_";
  17.  
  18. // Supported drivers: mysql, pgsql
  19. $driver = 'mysql';
  20.  
  21. // Show inactive bans? Removed bans will show (Unbanned), mutes will show (Unmuted), warnings will show (Expired).
  22. $this->show_inactive_bans = true;
  23.  
  24. // Show pager? This allows users to page through the list of bans.
  25. $this->show_pager = true;
  26.  
  27. // Amount of bans/mutes/warnings to show on each page
  28. $this->limit_per_page = 10;
  29.  
  30. // The server console will be identified by any of these names.
  31. // It will be given a standard name and avatar image.
  32. $this->console_aliases = array(
  33. "CONSOLE", "Console",
  34. );
  35. $this->console_name = "Console";
  36. $this->console_image = "inc/img/console.png";
  37.  
  38. // Avatar images for all players will be fetched from this URL.
  39. // Examples:
  40. /* 'https://cravatar.eu/avatar/$UUID/25'
  41. * 'https://crafatar.com/avatars/$UUID?size=25'
  42. * 'https://minotar.net/avatar/$NAME/25'
  43. */
  44. $this->avatar_source = 'https://cravatar.eu/avatar/$UUID/25';
  45.  
  46. // If enabled, names will be shown below avatars instead of being shown next to them.
  47. $this->avatar_names_below = true;
  48.  
  49. // If enabled, the total amount of bans, mutes, warnings, and kicks will be shown next to the buttons in the header.
  50. $this->header_show_totals = true;
  51.  
  52. // The date format can be changed here.
  53. // https://secure.php.net/manual/en/function.strftime.php
  54. // Example of default: July 2, 2015, 9:19 PM
  55. $this->date_format = '%B %d, %Y, %H:%I %p';
  56. date_default_timezone_set("UTC");
  57.  
  58. // Enable PHP error reporting.
  59. $error_reporting = true;
  60.  
  61. // Enable error pages.
  62. $this->error_pages = true;
  63.  
  64. /*** End of configuration ***/
  65.  
  66.  
  67. /** Don't modify anything here unless you know what you're doing **/
  68.  
  69. if ($error_reporting) {
  70. error_reporting(E_ALL);
  71. ini_set("display_errors", 1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement