Advertisement
Guest User

Untitled

a guest
Jun 20th, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. <?php
  2. // necessary to work
  3. $mysql_host = 'localhost'; // your MySQL server IP
  4. $mysql_user = 'root'; // your MySQL database user
  5. $mysql_pass = 'beepboopnope'; // your MySQL database password
  6. $mysql_db = 'minecraft'; // 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. /*########################
  13. optional stuff
  14. ########################*/
  15. //--- show avatars
  16. $show_avatars = true;
  17.  
  18. //--- show online/offline
  19. $show_online_state = true;
  20.  
  21. //--- online/offline check
  22. $server_ip = 'alison-mc.info'; // can be a real ip or a dns alias
  23. $server_port = 25565; // [default=25565]
  24.  
  25. //--- add a link to the online map
  26. $link_to_map = "http://".$server_ip . ":8123";
  27. // Don't want the link to be displayed? Uncomment the next line!
  28. //$link_to_map = "";
  29.  
  30. //--- add custom links to the menu
  31. $custom_links = array(
  32. //"Dynamap" => $link_to_map, //Uncommend this for Dynmap
  33. //"Mojang" => "http://mojang.com" //Example of how to add custom links!
  34. );
  35.  
  36. //--- enable the server stats page [beta]
  37. $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!
  38. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement