HomeJavaModsSMFSignup
[​IMG]

This plugin provides a simple method for players in your minecraft server to easily register to your SMF (Simple Machine Forums). Users in this free version will by default need to be activated by a moderator after registering. If interested in automatic activation, or email activation, please see my premium version for this for more features as well.

[​IMG]

- /signup <email> <password>

[​IMG]

- smfsignup.signup

[​IMG]

You will need to place this this code in a file in your forum index, name it 'api.php'
Code (Text):

<?php
require_once('SSI.php');require_once('Sources/Subs-Members.php');
$hash = 'YOUR SECRET HASH';
$data = $_GET;
if($data['hash'] == $hash) {
    unset($data['action']);
    unset($data['hash']);
    $data['password_check'] = $data['password'];
    if(isset($_GET['action'])) {
        switch($_GET['action']) {
            case 'register':
                echo json_encode(registerMember($data, true));
                break;
            default:
                return;
        }
    }
} else {
    $error = array(
        "hash" => "Incorrect hash",
    );
    echo json_encode($error);
    exit();

}
 
After this has been uploaded, simply upload the plugin to your minecraft server and fill out the config. Please ensure that your hash inside the config is the same as the hash inside the api.php file. Enjoy!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

SMFSignup is a free Minecraft Java mod. Downloaded 131 times (via Spigot). Download it and open it directly in the game.

Explore more