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.
- /signup <email> <password>
- smfsignup.signup
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();
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.