
MySQL-Register Reloaded
MySQL-Register Reloaded 是对一款名为“MySQL-Register”的过时插件的重制版。该插件允许你的玩家进行注册。你可以利用这些信息做很多事情,例如基于数据库中的信息为你的网站创建 PHP 登录脚本。它专为付费(premium)服务器设计,如果你对本项目有任何建议,请随时告知。
请注意:1.4B 版本包含一个自定义编写的 Metrics 组件,会将你的服务器信息发送到我的网站。由于目前尚未正常工作,因此已在 1.4C 版本中移除。感谢阅读。
Github 链接:
# 命令 #
/register <email> <password> <password>
# 权限 #
MysqlRegister.register
# 默认 config.yml #
Hash: MD5
# 默认 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
# 默认 message.yml #
WRONG_ARGUMENTS: '&c/register [Email] [Password] [Password Confirmation]' ALREADY_REGISTERED: '&cYou are already registered!'PASSWORDS_NOT_EQUAL: '&c提供的两个密码不匹配!'
REGISTER_NOW: '&aRegister now an account for more features!'
REGISTER_SUCCESS: '&a注册 成功!' INVALID_EMAIL: '&c请 输入 有效的 邮箱!'
NO_PERMISSION: '&c你 没有权限 执行该操作!'
PHP 示例
我编写了一些 PHP 示例,向大家展示如何使用此插件进行开发。你也可以利用它来创建自己的项目(例如用户页面)或其他类似的内容。你可以在这里找到这些 PHP 示例。以下是一个代码片段:
/* * 配置部分 */ $_config['host'] = '127.0.0.1'; $_config['username'] = 'Root'; $_config['password'] = 'Password';$_config['database'] = '数据库';
尝试 {
$pdo = new PDO ('mysql:host=' . $_config['host'] . ';dbname=' . $_config['database'], $_config['username'], $_config['password']);
} catch (PDOException $ex) { die ('无法连接数据库!'); }

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:
# 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!'); }
下载 MySQL-Register Reloaded
下载 MySQL-Register Reloaded
下载 MySQL-Register Reloaded
下载 MySQL-Register Reloaded
下载 MySQL-Register Reloaded
下载 MySQL-Register Reloaded
下载 MySQL-Register Reloaded
下载 MySQL-Register Reloaded
1.5
- 修复数据库连接错误
- 完全移除指标数据
1.4C
- 移除自定义指标 / 稍后将重新添加
1.4B
- 错误修复,修复 '/register' 命令的错误
1.4
- 开始开发自定义“指标”
- 错误修复:/register → 自定义表
1.3
- 对 plugin.yml 进行了一些修改
- 现在在 onEnable 时显示自定义表名
1.2
- 重写整个插件
- 将代码发布到 GitHub( )
1.1
- 向插件代码中添加指标功能!
无
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧