
Passwords
Плагин для защиты сервера Майнкрафт с помощью пароля. Простая альтернатива вайтлисту: задайте один пароль для всех или индивидуальные для каждого игрока.
Passwords
Защитите свой сервер Minecraft с помощью плагина Passwords. Это легкое и понятное решение, чтобы ограничить доступ посторонним. Если не хочется возиться с вайтлистом, просто дайте друзьям пароль - и готово.
На любом сервере рано или поздно встает вопрос защиты от случайных игроков. Вайтлист хорош, но когда игроков много и состав часто меняется, обновлять список вручную - то еще удовольствие. Passwords предлагает простое решение: поставить один пароль на вход для всего сервера. Или можно настроить отдельные пароли для каждого игрока - тогда доступ будет персональным. Есть даже режим с паттерном: нужно ввести комбинацию из крестиков и ноликов, вроде капчи. В общем, гибко.
Возможности
- Индивидуальные пароли для каждого игрока - игроки сами задают себе пароль, доступ привязан к аккаунту.
- Админский пароль - можно установить мастер-пароль, который дает полные права и статус оператора.
- Простая интеграция - плагин работает на любом сервере Майнкрафт, сложной настройки не требует.
Пример config.yml
Ниже пример конфигурации, с которого можно начать:
config.yml (нажмите, чтобы развернуть)
version: "2.6.2"
debug: false
# Password dose not supports PlaceholderAPI in messages.
# Supported placeholders are: &player& -> Player Name
# Placeholders are only supported in messages
settings:
# check-type: server : One password for the entire server.
# check-type: player : A unique password for each player. (Works only on the first join. To reset, delete player data or use the /setpassword command)
# check-type: none : No password check.
# check-type: pattern : The player must enter a pattern like "o x o"
# "x x x"
# "x x x"
check-type: server
# GUI Name
gui-name: Enter Passwords
# Set password name
set-password-name: Set Password
# Message that will be displayed as the kick reason.
fail-message: The password is incorrect!
# When the UI is closed without a password
close-ui-message: You need to enter a password!
# Enable welcome message.
welcome-message-enabled: true
# Welcome message after login.
welcome-message: Welcome to ExampleServer
# Welcome message second line (Only for title)
welcome-message-second: Passwords
# Display type for the welcome message: message; actionbar; title
welcome-message-display-type: message
# Enable login gamemode.
login-gamemode-enabled: true
# Gamemode every player will have upon login: survival, creative, adventure, spectator
login-gamemode: survival
# Player password length (for the check-type: player)
player-password-length: 4
# Blocked passwords ( only for the check-type: player & server )
blocked-passwords:
- 1111
# Saves the player inventory on logout and restores it on login. ( !!!!! Waring: When the data folder or the player data in the passwords folder is deleted, the player inventory will be lost !!!!! )
save-player-inventory: false
# Saves the player inventory automatically
enable-auto-save: true
# Saves the player inventory every 5 minutes (if save-player-inventory is true)
save-player-inventory-intervall: 10 # in minutes ( min 3 )
# Invulnerable on login (note: this will prevent fall damage when exploited)
invulnerable-on-login: true
server:
# Server password (the password can be any length | for the check-type: server)
password: 1234
# Staff password (the password can be any length | for the check-type: server)
staff-password: 8181
# Staff permissions (will be given to the player after login)
staff-permissions:
- passwords.*
# Remove staff permissions on logout
remove-staff-permissions-on-logout: true
# Password pattern (for the check-type: pattern)
pattern:
- oxo
- xxx
- xxx
Команды
Команды (нажмите, чтобы развернуть)
/setpassword <Пароль>- установить свой пароль./setplayerpassword <Игрок> <Пароль>- установить пароль другому игроку./logout <Игрок>- выгнать игрока (разлогинить).
Плагин Passwords легкий, не нагружает сервер, настройка занимает минуту. Идеально для небольших приватных серверов Minecraft, где не хочется заморачиваться с вайтлистом, но нужно отсечь случайных прохожих. Главное - не забудьте сменить пароль по умолчанию, а то любой сможет зайти.
