Advertisement
Creepinson

settings.php

Feb 6th, 2017
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * This is the general configuaration file for Ban Management.
  5. * In here you can control your encoding for server transfers,
  6. * define what tables you want enabled, set your password for ACP,
  7. * and more.
  8. **/
  9.  
  10. date_default_timezone_set("Europe/Berlin"); // Set default timezone for date()
  11.  
  12. $settings['debug']['sqlcache'] = false; // show and var_dump any cached SQL queries
  13. $settings['debug']['functiontest'] = false; // check for neccessary PHP functions
  14. $settings['debug']['error_reporting'] = false; // display PHP errors
  15. $settings['debug']['error_reporting_level'] = E_ALL; // Set error level (E_ALL, E_ERROR, E_WARNING, E_NOTICE)
  16.  
  17. $settings['language'] = "en"; // Default locale setting ("en" by default)
  18.  
  19. $settings['utf8'] = true; // Encoding (Recommended TRUE)
  20. $settings['latest_bans'] = true; // Latest Bans table
  21. $settings['latest_mutes'] = true; // Latest Mutes table
  22. $settings['latest_warnings'] = true; // Latest warnings table
  23. $settings['servers'] = '';
  24. $settings['iframe_protection'] = true; // If true, you won't be able to <iframe> this web interface
  25. $settings['password'] = 'spigotpassword101'; // ACP Password (Keep it strong)
  26. $settings['footer'] = '&copy; Your Server '.date('Y'); // Footer for all pages
  27. $settings['admin_link'] = true; // Show the admin link in the footer of all page
  28. $settings['bm_info'] = true; // Show ban management infomation aside 'Account Status'
  29. $settings['bm_info_icon'] = true; // Show the 'info' icon next to the title of bm_info
  30. $settings['pastbans'] = true; // Show amount of players banned under the search
  31.  
  32. $settings['player_current_ban'] = true;
  33. $settings['player_current_mute'] = true;
  34. $settings['player_previous_bans'] = true;
  35. $settings['player_previous_mutes'] = true;
  36. $settings['player_kicks'] = true;
  37. $settings['player_warnings'] = true;
  38. $settings['player_current_ban_extra_html'] = '';
  39. $settings['player_current_mute_extra_html'] = '';
  40.  
  41. // Turn to false, if you want to show accociated accounts for everyone, without authentication
  42. $settings['associated_accounts_only_for_admins'] = true;
  43.  
  44. $settings['widget_bans_count'] = 5;
  45. $settings['widget_mutes_count'] = 5;
  46. $settings['widget_warnings_count'] = 5;
  47.  
  48. // Caching options per action, in seconds
  49. $settings['cache_viewplayer'] = 600;
  50. $settings['cache_viewip'] = 600;
  51. $settings['cache_statistics'] = 3600;
  52. $settings['cache_search'] = 600;
  53. $settings['cache_home'] = 60;
  54. $settings['cache_playertouuid'] = 600;
  55.  
  56. // Skin service options
  57. // ("%name%" is the placeholder for the player %name)
  58. // ("%uuid%" is the placeholder for the player uuid)
  59. $settings['skin']['helm'] = "https://crafatar.com/avatars/%uuid%?overlay&size=24";
  60. $settings['skin']['complete'] = "https://crafatar.com/renders/body/%uuid%?overlay&scale=7";
  61.  
  62. /**
  63. * These are the settings for editing the layout of Ban Management
  64. **/
  65.  
  66. $theme['navbar-dark'] = false; // Enable dark theme for the navbar
  67.  
  68.  
  69. // For possible external links in nav bar, uncomment the following lines
  70.  
  71. // $theme['external_links'] = array(
  72. // 'Test' => 'http://test.de',
  73. // 'Toast' => 'http://toast.de',
  74. // );
  75.  
  76. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement