- Compatible API Versions
- all
- Sourcecode
- https://github.com/guestc/TopLogin
- Contributors
- DarkHellGurad
Support Mysql And Yaml
Custom your language File
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*$"
##############################