config.php 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. ///////
  3. // MTSM - Minetest Server Manager
  4. // (C) Chris Dorman, CC-BY-SA v3.0 (2021)
  5. // https://notabug.org/Pentium44/MTSM
  6. ///////
  7. include_once("version.php");
  8. $mtsmtitle = "free.minetest.host"; // MTSM Title
  9. $desc = "Simple, ad-free, and lightweight Minetest hosting service, FREE to use and free of charge! "
  10. . $mtsmtitle . " is powered by MTSM."; // Description of the panel.
  11. $domain = "https://free.minetest.host"; // where is MTSM operating?
  12. $defaultip = "free.minetest.host"; // Default IP for user servers
  13. $maxservers = "50"; // max server count.
  14. $portrange = "30"; // <port range>xxx example 30, would be 30001 for port usage on the first user
  15. $max_slot_count = "8"; // Maximum amount of slots per servers of a user, set in minetest.conf
  16. $reg_token_required = "false"; // Require token provided by admin for registration (nice for paid servers)
  17. // Default "admin" account password
  18. $admin_passwd = "ChangeM3!";
  19. // Mod upload settings
  20. $max_modzip_size = "20971520"; // Max mod zip file size in bytes, default 20MB
  21. $allowed_file_extension = "zip"; // Allowed archive extension type.
  22. // File mimetype is checked by the index upload-modzip function
  23. // IRC settings, for IRC plugin
  24. $default_irc_server = "irc.cddo.cc";
  25. $default_irc_port = "1337";
  26. ?>