最MC论坛

标题: [管理|安全]FlexibleLogin —— 基于Sponge的登陆插件[Sponge] [打印本页]

作者: songrulong01    时间: 2015-10-7 11:17
标题: [管理|安全]FlexibleLogin —— 基于Sponge的登陆插件[Sponge]
本帖最后由 Stay_adorable 于 2016-11-23 22:26 编辑


(原帖地址栏好像发疯了,前面明明写的就是http://,结果提示我要以http://为开头,然后又以https://为开头,还是不好使……你提莫在逗我??)


1.8Sponge----FlexibleLogin(←原帖地址)

基于1.8Sponge的登陆插件
McBBSsponge贴
A Sponge minecraft server plugin for second authentication. It has a built-in
TOTP support.

Do you want to let your players protect their account (from hackers/login stealers) and keep playing while the session server is down. You can use this little plugin. You can protect your account with a password you choose or with a time based password created from a secret key, generated just for you.

Tested against:
Sponge: sponge-1.8-1499-2.1DEV-532
Minecraft (Client): 1.8.8

指令:
/register <password> <password> - Registers using a specific password(注册)
/register - Generates your secret code for TOTP(随机生成密码)
/login <password/code> - Login using your password or time based code(登陆)
/logout - Logs you out(注销)
/flexiblelogin - Displays plugin name and version(显示插件信息)

权限:无

Config:
  1. # Algorithms for hashing user passwords. You can also choose totp
  2. hashAlgo=totp
  3. # Should the plugin login users automatically if it's the same account from the same IP
  4. ipAutoLogin=true
  5. # Database configuration
  6. sqlConfiguration {
  7.     # Database name
  8.     database=flexiblelogin
  9.     # Password in order to login
  10.     password=""
  11.     # Path where the database is located. This can be a file path (h2/SQLite) or an IP/Domain(MySQL)
  12.     path="%DIR%"
  13.     # Port for example MySQL connections
  14.     port=3306
  15.     # SQL server type. You can choose between h2, SQLite and MySQL
  16.     type=H2
  17.     # Username to login the database system
  18.     username=""
  19. }
复制代码
下载地址:
原帖下载:https://github.com/games647/FlexibleLogin/releases
百度云:http://pan.baidu.com/s/1gd2NalP








作者: zcm    时间: 2016-4-28 20:14
有汉化么?
作者: cfcfcf    时间: 2017-8-25 13:29
感谢楼主
作者: w2200219297    时间: 2020-1-9 15:29
很好的插件
作者: w2200219297    时间: 2020-1-9 15:30
很好的插件
作者: pinkman    时间: 2020-2-22 11:55
很好的插件感谢分享




欢迎光临 最MC论坛 (http://www.zuimc.com/) Powered by Discuz! X3.2