WARNING!!! The plugin is under development, there may be errors. DISCLAIMER I do not support 'offline mode' servers, this plugin originally was a private development, which I simply posted here.
Description
A simple plugin for registering players. Nothing extra:
Registration
Authorization
Session
Removal of accounts by the administration from the game
Will show updates only if there are any
No unnecessary messages
You can easily configure ALL messages
Password encryption
Guide
Gifs
---
---
---
Permissions
authvh.* - Access to all rights
authvh.login - Access to authorization
authvh.register - Access to registration
authvh.changepassword - Access to change password
authvh.admin - Access to all admin commands
(Only Operators have all rights by default)
Commands
/register <password> <repeat_password> - Registers a player (Aliases: /reg )
/login <password> - Authorizes the player (Aliases: /l )
/changepassword <old password> <new password> - Change user password (Aliases: /changepass, /cpass, /cpassword )
/account delete <player_name> - Deletes a player's account
Configuration
Default config - English
Spoiler: config.yml
Code (YAML):
Settings :
hide-password
: true
Authorization :
notify-multi-account
: true
session :
enable
: true
time
: 120
# Specify in seconds
Registration :
account-per-ip
: 1
confirm-password
: true
password-length-min
: 5
password-length-max
: 16
whitelist-cmd
: - login
- l
- register
- reg
blacklist-password
:
# Attention, case sensitivity of letters
- qwerty
- 12345
- 54321
database
:
"jdbc:sqlite:plugins/AuthVH/data.db"
Messages :
prefix
: '&b
[ AuthVH
] &r'
# Null text is allowed
Account :
change-password
: '&aSuccess password change!'
delete
: '&aThe account has been successfully deleted!'
Authorization :
multi-account-notify
: '&ePlayer using multi-twink
:
&7[%accounts%&7]'
auto-login
: '&aSession saved, automatic authorization!'
login
: '&bPlease, login!'
success-login
: '&aSuccessful authorization!'
Title :
enable
: true
time-to-show
: 120
# Specify in seconds
decay-rate
: 1
# Specify in seconds
show-time
: 30
# Specify in seconds
title-message
: '&bPlease, login!'
subtitle-message
: '&a/l <password> '
Registration :
success-register
: '&aSuccessful registration!'
first-join
: '&aPlease register with the command /reg <password> <repeat password>'
Title :
enable
: true
time-to-show
: 120
# Specify in seconds
decay-rate
: 1
# Specify in seconds
show-time
: 30
# Specify in seconds
title-message
: '&bPlease register!'
subtitle-message
: '&a/reg <password> <repeat password>'
Errors :
not-permission
: '&cNot enough permissions!'
console-cmd
: '&cThis command can only be used in the game!'
already-register
: '&cYou have already registered!'
already-login
: '&cYou are already logged in!'
password-min
: '&cYour password is too short!'
password-max
: '&cYour password is too long!'
easy-password
: '&cThe password is too easy!'
repeat-password
:
"&cPasswords don't match!"
wrong-password
: '&cInvalid password!'
max-account
: '&cYou have already registered the maximum number of accounts!'
password-required
: '&cEnter your password!'
reg-first
: '&cRegister first!'
need-auth
: '&cYou need to login for this!'
unknown-args
: '&cUnknown agruments'
player-required
:
"&cEnter the player's name!"
Secret :
key
: ''
Additional config - Russian
Spoiler: config.yml
Code (YAML):
Settings :
Authorization :
notify-multi-account
: true
session :
enable
: true
time
: 120
# Указывать в секундах
Registration :
account-per-ip
: 1
confirm-password
: true
password-length-min
: 5
password-length-max
: 16
whitelist-cmd
: - login
- l
- register
- reg
blacklist-password
:
# Внимание, чувствительность к регистру букв
- qwerty
- 12345
- 54321
database
:
"jdbc:sqlite:plugins/AuthVH/data.db"
Messages :
prefix
: '&b
[ AuthVH
] &r'
# Разрешён пустой текст
Account :
change-password
: '&aПароль успешно изменён!'
delete
: '&aАккаунт успешно удалён!'
Authorization :
multi-account-notify
: '&eИгрок использует мульти-аккаунт
:
&7[%accounts%&7]'
auto-login
: '&aСессия сохранена, автоматическая авторизация!'
login
: '&bПожалуйста, авторизуйтесь!'
success-login
: '&aУспешная авторизация!'
Title :
enable
: true
time-to-show
: 120
# Указывать в секудах
decay-rate
: 1
# Указывать в секудах
show-time
: 30
# Указывать в секудах
title-message
: '&bПожалуйста, авторизуйтесь!'
subtitle-message
: '&a/l <пароль> '
Registration :
success-register
: '&aУспешная регистрация!'
first-join
: '&aПожалуйста зарегистрируйтесь командой /reg <пароль> <повтор пароля>'
Title :
enable
: true
time-to-show
: 120
# Указывать в секудах
decay-rate
: 1
# Указывать в секудах
show-time
: 30
# Указывать в секудах
title-message
: '&bПожалуйста, зарегистрируйтесь!'
subtitle-message
: '&a/reg <пароль> <повтор пароля>'
Errors :
not-permission
: '&cНедостаточно прав!'
console-cmd
: '&cДанную команду можно использовать только в игре!'
already-register
: '&cВы уже зарегистрировались!'
already-login
: '&cВы уже авторизованы!'
password-min
: '&cВаш пароль слишком короткий!'
password-max
: '&cВаш пароль слишком длинный!'
easy-password
: '&cПароль слишком лёгкий!'
repeat-password
: '&cПароли не совпадают!'
wrong-password
: '&cНеверный пароль!'
max-account
: '&cВы уже зарегистрировали максимальное кол-во аккаунтов!'
password-required
: '&cВведите пароль!'
reg-first
: '&cСначала зарегистрируйтесь!'
need-auth
: '&cНужно авторизоваться для этого!'
unknown-args
: '&cНеизвестные агрументы'
player-required
: '&cВведите имя игрока!'
Secret :
key
: ''
Statistic