MC-Market is now BuiltByBit. Read more

MySQL-Register Reloaded V1.5

Register now to download for free
MySQL-Register Reloaded THE MySQL register plugin for premium servers!
Tags
Tags
None
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.

Github Link: https://github.com/Shadow48402/MySQL-Register
Dev.Bukkit.org Link: http://dev.bukkit.org/bukkit-plugins/mysql-register-reloaded

# Commands #

/register <email> <password> <password>

# Permissions #

MysqlRegister.register

# Default config.yml #
Code:
Hash: MD5

# Default database.yml #
Code:
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 #
Code:
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:
Code:
/*
*    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!');
}

Latest reviews

Well done resource. Looking forward to see some more of your work on here. Keep up the good work.

Author

Author
Shadow48402
Downloads
12
Views
641
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Shadow48402

Spawn custom chests, highly configurable
Not yet rated
0 purchases
A professional, clean template for the web interface of LiteBans
3.67 star(s) 3 ratings
10 purchases
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.