Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. address: "localhost";
  2. bindAddress: "0.0.0.0";
  3. port: 7240;
  4.  
  5. # Auth handler
  6. authHandler: "textFile";
  7. authHandlerConfig: {
  8.  
  9. file: "authHandler.cfg";
  10. offlineUUIDs: true;
  11. };
  12.  
  13. # Auth provider
  14. authProvider: "mysql";
  15. authProviderConfig: {
  16. address: "localhost"; # Адрес MySQL-сервера
  17. port: 3306; # Порт MySQL-сервера (по умолчанию 3306)
  18. username: "root"; # Имя пользователя MySQL-сервера
  19. password: "12345"; # Пароль пользователя
  20. database: "hui?ServerTimezone=RTZ"; # База данных
  21.  
  22. query: "SELECT name FROM modx_users WHERE username=? AND password=MD5(MD5(?)) LIMIT 1";
  23. queryParams: [ "%login%", "%password%" ];
  24. };
  25.  
  26. # Texture provider
  27. textureProvider: "request";
  28. textureProviderConfig: {
  29. skinsURL: "http://skins.minecraft.net/MinecraftSkins/%username%.png";
  30. cloaksURL: "http://skins.minecraft.net/MinecraftCloaks/%username%.png";
  31. };
  32.  
  33. # Launch4J EXE binary building
  34. launch4J: true;
  35.  
  36. # Compress files when updating using Inflate algorithm
  37. compress: true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement