Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # PLEASE READ THOROUGHLY *
- # #
- # 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 #
- # 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. #
- # NOTE 1) YOUR ADMIN EMAIL *HAS* TO BE GMAIL #
- # NOTE 2) BE SURE TO ENABLE LESS SECURE APPS ON YOUR GMAIL ACCOUNT AT https://myaccount.google.com/lesssecureapps #
- # #
- # #
- # DATABASE-TYPE: Use flat for local storage and use MONGO for mongo database storage
- DATABASE-TYPE: FLAT
- # Only fill this in if you are using mongo
- # HOST - The mongo database host, (127.0.0.1 or localhost if both servers (Minecraft & mongo) are hosted on your computer.
- # PORT - The mongo database port (default is 27017)
- # USERNAME - Mongo database username
- # PASSWORD - Mongo database password
- # DATABASE - StaffProtect's database
- # PROFILES - The name of the collection to store profiles in
- MONGO:
- AUTH:
- HOST: 127.0.0.1
- PORT: 27017
- USERNAME: admin
- PASSWORD: password
- DATABASE: staffprotect
- COLLECTIONS:
- PROFILES: "profiles"
- # TWO-FACTOR - Turn this on if your email has 2FA
- # ADMIN_EMAIL - The email that will send the authentication codes to staff emails
- # ADMIN_PASSWORD - The corresponding email password for ADMIN_EMAIL - Don't fill this in if you have 2FA.
- # 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
- MAIL:
- TWO-FACTOR: false
- ADMIN_EMAIL: example@admin.com
- ADMIN_PASSWORD: password
- ADMIN_APP_PASSWORD: examplevbnappxqzpassword
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement