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

FactionsPro and MySQL

Discussion in 'Help' started by CupidonSauce173, May 24, 2018.

  1. CupidonSauce173

    CupidonSauce173 Zombie

    Messages:
    298
    GitHub:
    cupidonsauce173
    Last edited: May 25, 2018
  2. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    Is there a reason why you are doing it? It sounds like a really bad idea.
     
  3. CupidonSauce173

    CupidonSauce173 Zombie

    Messages:
    298
    GitHub:
    cupidonsauce173
    Oh just to connect my servers between them, like that the players keep their faction.
     
  4. CupidonSauce173

    CupidonSauce173 Zombie

    Messages:
    298
    GitHub:
    cupidonsauce173
    I already have a MySQL server with EconomyAPI and PurePerms but I need also FactionsPro
     
  5. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    I'm not sure FactionsPro is suited to a MySQL provider because (unlike Economy and PurePerms) there are a lot of calls in low level event listeners such as EntityDamageEvent, BlockBreakEvent and BlockPlaceEvent. If you want to try it, go ahead and fork the Poggit-Orphanage repos; you might want to check this out before you start: https://poggit.github.io/libasynql/doxygen/
     
  6. CupidonSauce173

    CupidonSauce173 Zombie

    Messages:
    298
    GitHub:
    cupidonsauce173
    Thank you!
     
  7. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    See also this proposal. https://github.com/pmmp/PocketMine-MP/issues/1881
     
  8. CupidonSauce173

    CupidonSauce173 Zombie

    Messages:
    298
    GitHub:
    cupidonsauce173
    Yes but I only need to put the information that say that xxx player is on xxx faction, do I need to implent MySQL for every calls ? Or just the one that say xxx player is on xxx faction?
     
  9. CupidonSauce173

    CupidonSauce173 Zombie

    Messages:
    298
    GitHub:
    cupidonsauce173
    Because these informations are stocked on a faction.mb (I think it's .mb) file. So we could just say that these informations will not be in this file but in the MySQL database no? Sorry I never really worked with MySQL on plugins
     
  10. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    I don't get your point. The .mb files used by MySQL are internal, and you shouldn't care about them at all as a user of MySQL, since they might be subject to change as MySQL version changes. You should only use MySQL through its web sockets.
     
  11. CupidonSauce173

    CupidonSauce173 Zombie

    Messages:
    298
    GitHub:
    cupidonsauce173
    Ok thank you for the advice.
     
  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.