1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

USE OF SIMPLE AUTH

Discussion in 'Plugin Help' started by KittyDev, Aug 21, 2017.

  1. KittyDev

    KittyDev Slime

    Messages:
    96
    GitHub:
    FreakingDev
    Can i use SimpleAuth in 2 server? How?
     
  2. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Install it on both servers. To also share the data, you can connect them both to the same MySQL database.
     
  3. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    Yes, connect them over a MySql databases and that will help you out.

    Kind regards,
    /shar
     
  4. KittyDev

    KittyDev Slime

    Messages:
    96
    GitHub:
    FreakingDev
    How to do that, i need example :) Thankyou guys
     
  5. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    Well, you need a MySQL Server up.

    Then make sure you have simpleauth running on your server.

    There is a specific folder that contains the MySQL section in there you need to add your MySQL IP Port UserName Password and I believe the database as well.

    I'll reply with where you have to add them I forgot I believe its in the configuration but in which folder is what I don't remember.

    Hope its helpfull.
    Thanks/
    Kind regards,
    /shar
     
  6. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    Yes its in the config.yml where you have to edit it and add the MySQL IP Port.....etc.

    #For MySQL:
    #dataProviderSettings:
    # host: "127.0.0.1"
    # port: 3306
    # user: "user"
    # password: "password"
    # database: "databaseName"
    dataProviderSettings: []

    Kind regards,
    /shar
     
    InspectorGadget likes this.
  7. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
    Correct me if I am wrong or anything anyways I believe that's how it is!

    Hope its help full!
    Kind regards,
    /shar
     
  8. KittyDev

    KittyDev Slime

    Messages:
    96
    GitHub:
    FreakingDev

    how do i get mysql database ?
     
  9. ZakousseMC

    ZakousseMC Spider Jockey

    Messages:
    46
    GitHub:
    ZakousseMC
    Take off the # and fill all the "" with your MySQL data. Don't forget to put MySQL as your provider (forgot what it's name was guess that's it [can be found in your config file]) This will reset ALL your passwords, everyone will have to register again though.
     
  10. KittyDev

    KittyDev Slime

    Messages:
    96
    GitHub:
    FreakingDev
    thanks guys! i really appreciate it
     
  11. sharletsings123

    sharletsings123 Baby Zombie

    Messages:
    116
    GitHub:
    sharletk
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.