1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TopLogin 1.0

A simple login Support Mysql and Yaml.

Tags:
  1. DarkHellGurad
    Compatible API Versions:
    all
    Sourcecode:
    https://github.com/guestc/TopLogin
    Contributors:
    DarkHellGurad
    TIM图片20181022155754.jpg A simple login for Nukkit
    Support Mysql And Yaml
    Custom your language File
    Usage:
    put "TopLogin.jar" in plugins dir then run server.
    shutdown server then setting plugins\TopLogin\config.yml file.

    Commands:
    • /login [passwd] : Login in server
    • /passwd [new passwd] : Change player passwd
    • /setpasswd [player] [new passswd] : Set player passwd in Console
    • /setmail [mail] : Set player mail


    RegisterStep:
    • Type your Name
    • Type your Passwd
    • Comfirm your Passwd
    • Type your Mail
    • Register success!

    Config:
    PHP:
    # mysql or yaml

    storage-type: yaml

    # multi-server login
    multi-server: false
    # olny main server can register
    main-server: true
    #########Mysql#############
    mysql-src: "127.0.0.1"
    mysql-user: "root"
    mysql-passwd: "123456789"
    mysql-table-prefix: "mc_login"
    mysql-database: "toplogin"
    ###########################

    #language file default language_chs.yml
    language: "language_chs.yml"

    #enable Form UI
    enable-form-ui: true

    ###########User#############
    #passwd min lenght
    passwd-min: 8

    #passwd max lenght
    passwd-max: 16

    #username min lenght
    username-min: 3

    #username max lenght
    username-max: 16

    #unlogin can move
    unlogin-move: true

    #login type
    #    command  * use /login [passwd]
    #    text    *just type passwd then enter
    login-type: text

    #autologin in 2 hours
    autologin: true

    autologin-valid-hours: 2

    #unlogin ban message
    unlogin-message: false

    #unlogin craft
    unlogin-craft: false

    unlogin-break: false

    unlogin-place: false

    unlogin-interact: false

    unlogin-pickitem: false

    unlogin-dropitem: false


    #message type
    #1=chat
    #3=popup
    #4=tip
    message-type: 1

    #ban username
    ban-username:
      - "steve"
      - "^steve\\w*$"
    ##############################
     


    Report bug [email protected] plz.

Recent Reviews

  1. OwnerSCIFahrul
    OwnerSCIFahrul
    1/5,
    Version: 1.0
    please update the latest version of the TopLogin plugin and fix it in
    the latest version of the nukkit