找回密码
 加入最MC
搜索
热搜: 活动 交友 discuz
查看: 4971|回复: 2

[转载插件] [管理|安全]FlexibleLogin —— 基于Sponge的登陆插件[Sponge]

[复制链接]
发表于 2015-10-7 11:17:43 | 显示全部楼层 |阅读模式
服务端插件
中文名称: Sponge上的登陆插件
英文名称: FlexibleLogin
来源: 转载
类型: |其它| 
前置插件: Sponge
原帖地址: -
下载地址: http://github.com/games647/FlexibleLogin/releases
更新时间: 2015-10-07
语言支持: English 
本帖最后由 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







发表于 2016-4-28 20:14:59 | 显示全部楼层
有汉化么?
您需要登录后才可以回帖 登录 | 加入最MC

本版积分规则

Archiver|手机版|小黑屋|最MC论坛 ( 粤ICP备12035413号 )

GMT+8, 2026-12-1 05:06 , Processed in 0.021538 second(s), 20 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表