Advertisement
Guest User

Untitled

a guest
Apr 24th, 2018
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.95 KB | None | 0 0
  1. # PLEASE READ THOROUGHLY *
  2. # #
  3. # If the administrator email account uses 2FA then ignore ADMIN_PASSWORD and fill out ADMIN_APP_PASSWORD with your app password which you can obtain for the following link: https://security.google.com/settings/security/apppasswords #
  4. # else if you don't have 2FA on your admin email account then ignore ADMIN_APP_PASSWORD and just fill in ADMIN_PASSWORD with your email's password. #
  5. # NOTE 1) YOUR ADMIN EMAIL *HAS* TO BE GMAIL #
  6. # NOTE 2) BE SURE TO ENABLE LESS SECURE APPS ON YOUR GMAIL ACCOUNT AT https://myaccount.google.com/lesssecureapps #
  7. # #
  8. # #
  9.  
  10. # DATABASE-TYPE: Use flat for local storage, use MONGO for mongo database storage and use MYSQL for mysql database storage
  11. DATABASE-TYPE: FLAT
  12.  
  13. # Only fill this in if you are using an external database (not flat file)
  14. # HOST - The database host, (127.0.0.1 or localhost if both servers (Minecraft & database server) are hosted on your computer.
  15. # PORT - The database port (default mongo is 27017 & default mysql is 3306)
  16. # USERNAME - Database username
  17. # PASSWORD - Database password
  18. # DATABASE - StaffProtect's database
  19. # PROFILES - (mongo only) The name of the collection to store profiles in
  20. DATABASE:
  21.  AUTH:
  22.   HOST: 127.0.0.1
  23.   PORT: 27017
  24.   USERNAME: admin
  25.   PASSWORD: password
  26.   DATABASE: staffprotect
  27.  MONGO:
  28.   COLLECTIONS:
  29.    PROFILES: "profiles"  
  30.  MYSQL:
  31.   TABLES:
  32.    PROFILES: "profiles"
  33.  
  34. # TWO-FACTOR - Turn this on if your email has 2FA
  35. # ADMIN_EMAIL - The email that will send the authentication codes to staff emails
  36. # ADMIN_PASSWORD - The corresponding email password for ADMIN_EMAIL - Don't fill this in if you have 2FA.
  37. # ADMIN_APP_PASSWORD - If you have 2FA on for your email you need to make a new app password here: https://security.google.com/settings/security/apppasswords
  38. AUTH_SETTINGS:
  39.  GOOGLE:
  40.   QRMAP: true
  41.  MAIL:
  42.   TWO-FACTOR: false
  43.   ADMIN_EMAIL: example@admin.com
  44.   ADMIN_PASSWORD: password
  45.   ADMIN_APP_PASSWORD: examplevbnappxqzpassword
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement