Advertisement
Guest User

Untitled

a guest
Apr 21st, 2018
1,268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.75 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 and use MONGO for mongo database storage
  11. DATABASE-TYPE: FLAT
  12.  
  13. # Only fill this in if you are using mongo
  14. # HOST - The mongo database host, (127.0.0.1 or localhost if both servers (Minecraft & mongo) are hosted on your computer.
  15. # PORT - The mongo database port (default is 27017)
  16. # USERNAME - Mongo database username
  17. # PASSWORD - Mongo database password
  18. # DATABASE - StaffProtect's database
  19. # PROFILES - The name of the collection to store profiles in
  20. MONGO:
  21.  AUTH:
  22.   HOST: 127.0.0.1
  23.   PORT: 27017
  24.   USERNAME: admin
  25.   PASSWORD: password
  26.   DATABASE: staffprotect
  27.  COLLECTIONS:
  28.   PROFILES: "profiles"  
  29.  
  30. # TWO-FACTOR - Turn this on if your email has 2FA
  31. # ADMIN_EMAIL - The email that will send the authentication codes to staff emails
  32. # ADMIN_PASSWORD - The corresponding email password for ADMIN_EMAIL - Don't fill this in if you have 2FA.
  33. # 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
  34. MAIL:
  35.  TWO-FACTOR: false
  36.  ADMIN_EMAIL: example@admin.com
  37.  ADMIN_PASSWORD: password
  38.  ADMIN_APP_PASSWORD: examplevbnappxqzpassword
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement