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

XenForo PM

Discussion in 'Requests' started by Muqsit, Jan 27, 2017.

  1. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    XenForoPM
    Make use of XenForo's API to manage your server.
    XenForoPM is a plugin targeted to people owning a XenForo forum. This plugin allows players to synchronize their server account with their (XenForo) forum account. Note that this only works if your forum uses mySQL database. All they have to do is:
    /syncaccount [forum email] [forum password]


    That's it. As an evidence of synchronization, the player may use /myinfo to list their info derived from their forum profile.

    As for plugin developers, the possibilities are infinite. You can use XenForoPM's API to authenticate a player, (Database::authenticate($email, $password) : bool), maybe even check if a user has their birthday today (Utils::hasBirthdayToday($userid) : bool).

    I have myself made use of this to give ranked players a title on my server's forum.

    Commands:
    • /syncaccount [forum-email] [forum-password] (EXPLAINED)
    • /unsync (Unsync your account)
    • /myinfo (Your forum profile info)
    View this project on GitHub.
     

    Attached Files:

    Sandertv likes this.
  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.