promotional bannermobile promotional banner

MySQL-Register Reloaded

MySQL-Register Reloaded
<p>Temp icon</p>

Temp icon

Description

http://oi65.tinypic.com/xd8s4p.jpg

MySQL-Register Reloaded
MySQL-Register Reloaded is a remake of an outdated plugin named 'MySQL-Register', this plugin allows you to let your players register. You can do a lot with this information, as example you can create a login scrips with PHP for your website based on the information in the database. It's specialy made for premium servers, if you have suggestions for this project just tell it.

Please read this: Version 1.4B contains a custom writed Metrics that sends your server information to my website. It's not working yet, so I removed it in 1.4C. Thank you for reading.

Github Link: https://github.com/Shadow48402/MySQL-Register

# Commands #

/register <email> <password> <password>

# Permissions #

MysqlRegister.register

# Default config.yml #

Hash: MD5

# Default database.yml #

Host: localhost
Port: '3306'
Database: Database
Username: User
Password: Password
Options:
  table-name: users
  user-column: Username
  uuid-column: UUID
  email-column: Email
  password-column: Password

# Default message.yml #

WRONG_ARGUMENTS: '&c/register [Email] [Password] [Password Confirmation]'
ALREADY_REGISTERED: '&cYou are already registered!'
PASSWORDS_NOT_EQUAL: '&cThe two passwords supplied do not match!'
REGISTER_NOW: '&aRegister now an account for more features!'
REGISTER_SUCCESS: '&aRegistration successful!'
INVALID_EMAIL: '&cPlease enter a valid email!'
NO_PERMISSION: '&cYou are not allowed to do that!'

PHP Examples
I made some PHP examples to show you guys what you can create with this plugin, you also can use it to create one of your projects (user page) or something else like that. You can find the PHP examples here. Here a snippet of what you can find:

/*
*	Config Parts
*/
$_config['host']		=	'127.0.0.1';
$_config['username']		=	'Root';
$_config['password']		=	'Password';
$_config['database']		=	'Database';

try {
	$pdo = new PDO ('mysql:host=' . $_config['host'] . ';dbname=' . $_config['database'], $_config['username'], $_config['password']);
}
catch (PDOException $ex) {
	die ('Could not connect with the database!');
}

The MySQL-Register Reloaded Team

profile avatar
  • 15
    Projects
  • 49.2K
    Downloads

More from _ForgeUser8831534View all