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, use MONGO for mongo database storage and use MYSQL for mysql database storage
- DATABASE-TYPE: FLAT
- # Only fill this in if you are using an external database (not flat file)
- # HOST - The database host, (127.0.0.1 or localhost if both servers (Minecraft & database server) are hosted on your computer.
- # PORT - The database port (default mongo is 27017 & default mysql is 3306)
- # USERNAME - Database username
- # PASSWORD - Database password
- # DATABASE - StaffProtect's database
- # PROFILES - (mongo only) The name of the collection to store profiles in
- DATABASE:
- AUTH:
- HOST: 127.0.0.1
- PORT: 27017
- USERNAME: admin
- PASSWORD: password
- DATABASE: staffprotect
- MONGO:
- COLLECTIONS:
- PROFILES: "profiles"
- MYSQL:
- TABLES:
- 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
- AUTH_SETTINGS:
- GOOGLE:
- QRMAP: true
- 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