menu MineCraft爱好者
【Sponge插件】FlexibleLogin登录插件
search more_vert
MineCraft爱好者
MineCraft-我的世界热爱者是我的世界服主资源分享交流站为MC服主提供最新最全的游戏资料Bukkit插件Sponge插件服务端整合包等打造国内最大的Minecraft插件基地和精品资源分享平台
【Sponge插件】FlexibleLogin登录插件

下载.png

指令

/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(显示插件信息)

配置文件

# Algorithms for hashing user passwords. You can also choose totp
hashAlgo=totp
# Should the plugin login users automatically if it's the same account from the same IP
ipAutoLogin=true
# Database configuration
sqlConfiguration {
    # Database name
    database=flexiblelogin
    # Password in order to login
    password=""
    # Path where the database is located. This can be a file path (h2/SQLite) or an IP/Domain(MySQL)
    path="%DIR%"
    # Port for example MySQL connections
    port=3306
    # SQL server type. You can choose between h2, SQLite and MySQL
    type=H2
    # Username to login the database system
    username=""
}

评论

0条评论