【Sponge插件】FlexibleLogin登录插件
account_circleErhecy
access_time2020-01-14
chat_bubble_outline1

下载.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=""
}

购买服务器,享受站长免费指导开服点我购买

相关文件/链接

arrow_downward官方
arrow_downward本地

评价

chat

目录

评论

1条评论

    AQIU
    AQIU
    2021-05-26 14:59

    啊湫