Advertisement
Guest User

Untitled

a guest
Feb 10th, 2014
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.39 KB | None | 0 0
  1. <?php
  2. // necessary to work
  3. $mysql_host = 'localhost'; // your MySQL server IP
  4. $mysql_user = 'username'; // your MySQL database user
  5. $mysql_pass = 'password'; // your MySQL database password
  6. $mysql_db = 'dbname'; // your MySQL database name
  7. $mysql_encoding = 'latin1'; // this is recommended because the plugin creates all its tables with latin1 encoding
  8. $prefix = 'Stats_'; // [default=stats]
  9.  
  10.  
  11. /**
  12.  * Display-specific optional configs
  13.  */
  14. $page_title = 'Minecraft WEBStatsX';
  15. $header_title = 'WEBStatsX';
  16. $top_limit = 10;
  17.  
  18.  
  19. /*########################
  20.  optional stuff
  21. ########################*/
  22. //--- show avatars
  23. $show_avatars = true;
  24.  
  25. //--- show online/offline
  26. $show_online_state = true;
  27.  
  28. //--- online/offline check
  29. $server_ip = 'localhost'; // can be a real ip or a dns alias
  30. $server_port = 25566; // [default=25565]
  31.  
  32. //--- add a link to the online map
  33. $link_to_map = "http://".$server_ip . ":8123";
  34. // Don't want the link to be displayed? Uncomment the next line!
  35. $link_to_map = "";
  36.  
  37. //--- add custom links to the menu
  38. $custom_links = array(
  39.   //"Dynamap" => $link_to_map, //Uncommend this for Dynmap
  40.   //"Mojang" => "http://mojang.com" //Example of how to add custom links!
  41. );
  42.  
  43. //--- enable the server stats page [beta]
  44. $enable_server_page = false; //BETA!! Needs some special rights your webserver might not have on the host system. This will not work on windows servers!
  45. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement