XenSignup 1.1.0

Register to Xenforo from your Minecraft server

  1. z1haze
    Contributors:
    z1haze
    [​IMG]


    This is a simple plugin that utilizes the XenApi, and allows server owners to stop forum spam but disabling users registering to your Xenforo website, and allowing them to register to your Xenforo website via an in-game command.


    [​IMG]


    - /signup <email> <password>


    [​IMG]


    - xensignup.signup


    [​IMG]


    As mentioned earlier, this plugin requires the Xenforo XenApi. You can get that here.

    Before uploading this to your server we have to make a couple small modifications. First find:
    Code (Text):

    // Throw a 400 error.
         header('HTTP/1.1 400 API error', TRUE, 400);
     
    and just comment out the line by putting '//' in front of it like the line above it.

    Next, find:
    Code (Text):

    // Check if IP is set.
            if (!empty($user_data['ip_address'])) {
                // Log the IP of the user that registered.
                XenForo_Model_Ip::log($user['user_id'], 'user', $user['user_id'], 'register', $ip_address);
            }
     
    and after this block of code add the following:
    Code (Text):

    // Send confirmation email
            if ($user['user_state'] == 'email_confirm') {
                XenForo_Model::create('XenForo_Model_UserConfirmation')->sendEmailConfirmation($user);
            }
     
    Finally, just upload api.php to your Xenforo index. Thats it, enjoy!

Recent Updates

  1. small update

Recent Reviews

  1. Compilable
    Compilable
    4/5,
    Version: 1.1.0
    Would be good if you add a CAPTCHA in-game.
    Thanks for this amazing plugin.

    By CAPTCHA i mean like type the following words or letters.
    1. z1haze
      Author's Response
      hmm, I suppose thats an easy add, I'm working on a premium version for this that has several extra options but spigot is being a pain on accepting it.
  2. Noctalys
    Noctalys
    5/5,
    Version: 2015-07-13
    OMG ! The big day is happened ! Thanks you so much !
    1. z1haze
      Author's Response
      you're welcome
  3. AndreiTheGiant
    AndreiTheGiant
    5/5,
    Version: 2015-07-13
    Thanks alot for this! What made this easier is that I already had XenAPI fully configured from a previous plugin that isn't updated anymore, thanks!
    1. z1haze
      Author's Response
      awesome :) glad it helped