- Supports version
- 1.7.10
- 1.8.✘
- 1.9.✘
- 1.10.✘
- 1.11.✘
- 1.12.✘
- 1.13.✘
- 1.14.✘
- 1.15.✘
- 1.16.✘
- 1.17.✘
- 1.18.✘
- 1.19.✘
- Official page
- https://www.spigotmc.org/resources/27480/
- Java
Описание плагина DynamicBungeeAuth:
BungeeCordAuth — это продвинутая аутентификация премиум игроков на пиратских серверах Майнкрафт. Премиум игрокам вашего сервера не нужно будет вводить логины и пароли для авторизации, ну а игрокам с пираткой необходимо будет регистрироваться. Плагин BungeeCordAuth предоставляет так же некоторые функции, такие как авторизация на нескольких BungeeCord серверах, поддержка нескольких серверов авторизации, и простую и понятную настройку данного плагина.Видео обзор функций плагина DynamicBungeeAuth в действии:
Пиратка и премиум
Игроки с лицензией:
Игроки с пираткой:
Смешанный тип: Лицензия: /premium
Небольшая инструкция по плагину:
Конфигурация плагина DynamicBungeeAuth:
Конфигурация для BungeeCord
YAML:
# ________ .__ __________ _____ __ .__
# \______ \ ___.__. ____ _____ _____ |__| ____\______ \__ __ ____ ____ ____ ____ / _ \ __ ___/ |_| |__
# | | < | |/ \\__ \ / \| |/ ___\| | _/ | \/ \ / ___\_/ __ \_/ __ \ / /_\ \| | \ __\ | \
# | ` \___ | | \/ __ \| Y Y \ \ \___| | \ | / | \/ /_/ > ___/\ ___// | \ | /| | | Y \
# /_______ / ____|___| (____ /__|_| /__|\___ >______ /____/|___| /\___ / \___ >\___ >____|__ /____/ |__| |___| /
# \/\/ \/ \/ \/ \/ \/ \//_____/ \/ \/ \/ \/
#
# Author: UraharaNZ Version: 10.15B
#
#
# MySQL must be configured here, restart the server after saving the config!
MySQL:
ip: 'localhost'
port: '3306'
database: 'DynamicBungeeAuth'
user: 'DynamicBungeeAuth'
password: 'yourpasswordhere'
ssl: false
# Set max connection the pool can have
connections: 10
# Set this timeout to your MySQL server config
# * SHOW VARIABLES LIKE 'wait_timeout';
# * SET GLOBAL connect_timeout=28800;
# Those are the SQL command to be executed globally if you want set the time to 28800 "recommended".
timeout: 28800
# 1 = Normal Mode (Premium Accounts are Protected and Cracked User can't use premium names)
# 2 = Mixed Mode (Premium Accounts are required to register, but they can use the /premium command to get auto-logged in and protected just like in Normal Mode)
# 3 = Secure Mode (All accounts are required to use the register/login commands)
WorkMethod:
Value: 1
# Kick the player if he uses the wrong password for the account
Login:
WrongKick: true
# Timer Setup
# CleanRequest = Time to clean cache of the plugin; This is RECOMMENDED to be 30 (MINUTES)
# RegisterMax = Max amount of time the player has to register the account (SECONDS)
# LoginMax = Max amount of time the player to log into the account (SECONDS)
Timers:
# Time in MINUTES
CleanRequest: 30
# Time in SECONDS
RegisterMax: 30
# Time in SECONDS
LoginMax: 30
# Customize the options :D
Options:
# Protect Registered Cracked Accounts (only for mode = 1)
ProtectRegisteredCrackedAccounts: false
# OldVersion is to fix the error generated on SwitchListener when a player connect if you are running Bungee for 1.7 please enable this.
OldVersion: false
# Password Length Requirements
MinPasswordLength: 3
MaxPasswordLength: 12
# Supported Encryption Hashers = SHA256, SHA512, SMD5, OLDDEFAULT (DEFAULT DBA V9.X), SHA512C (SHA512 DBA V9.X) PLEASE CONTACT ME IF YOU WANT TO PASS YOUR DBA 9x SQL TO 10x
# AUTHME HASH SUPPORTED (AUTHME-SHA256)
PasswordHash: 'SHA512'
# Enable Captcha when registering, EXAMPLE: /register pass pass captchacode
Captcha: true
CaptchaLength: 6
# Use offline UUID (I'M NOT RESPONSIBLE ABOUT PLAYER LOOSING ITEMS OR RANK WITH THIS FEATURE.)
# Reworked 24-04-2020
OfflineUUID: false
# Anti-Bot Feature (Only Block Connections if the server has X join on Y time)
MaxLogin:
Enabled: false
# Modes
# 1 = Normal (After the time set has passed the player will be allowed to join again)
# 2 = ShieldMode(After the time set for ShieldDuration has passed the player will be able to join again)
# How does ShieldMode work? A: After a player joins a certain amount of times(Max) within a set amount of time(Seconds), MaxLogin will trigger and cause the server to be put into the shield mode,
# If this continuously happens more time will be added on to the protection. When the MaxLogin count resets the Shield will continue blocking joins until his time reset.
# // SHIELD DURATION IS IN SECONDS.
# Current setup is 30 joins in 10 seconds.
Mode: 1
Max: 30
Seconds: 10
ShieldDuration: 35
# Enable or disable the titles of the plugin
# true = enabled // false = disabled
Titles:
Auto: true
Login: true
Register: true
Successful: true
Sessions:
MaxTimeToApply: 300
NameCheck: true
# IP Limits
IPChecker:
DisableIPRegisterLimit: true
DisableIPPlayingLimit: true
MaxAccountsDefault: 2
MaxPlayingDefault: 2
# True = Enable support to Multiple Proxy's running on "RedisBungee"
RedisBungeeMode: false
# Enable auto-centered messages
UseCenteredMessages: true
# This enable delayed titles and messages the time is on seconds.
EnableDelay: false
DelaySeconds: 1
# This option will connect the user from his last connected server when he's finally verified.
ConnectUserLastServer: true
# Enable /lobby /hub command (This will use the server's configured on this file "Servers Section")
LobbyCommands: true
# This will add the alias "spawn" to the /lobby /hub commands ("This was a personal request from a user")
LobbyCommandsSpawn: false
# Handlers = Enable Server Administration = If this is false The plugin will use default server configured on Bungee.
# If balancer is disabled (false) It will use the Single server "AuthS or LobbyS"
# If balancer has been enabled (true) It will use the Multi Server "AuthM or LobbyM"
Servers:
Lobby:
- 'Lobby01'
- 'Lobby02'
Auth:
- 'Auth01'
- 'Auth02'
# Error Lobby/Auth will be used if one of the server of the list is NULL when we are trying to get the ServerInfo.
LobbyError: 'Lobby01'
AuthError: 'Auth01'
# Enable Commands in case you need it.
Commands:
PremiumCMD: false
# PremiumMode 1 = You can use the command without login and register // 2 = You need to login or registered to use the command
PremiumMode: 1
# This command isn't done at all
CrackedCMD: false
# If you have some issues with an api or if it is down disable it here.
# BauxiteAPI is under development please don't use it.
# Fallback 1 = API Mojang
# Fallback 2 = API Cloudprotected
# Fallback 3 = API MineTools
# Fallback 4 = API BauxiteAPI "STILL UNDER IDEAS DON'T USE IT.".
APIS:
Enable:
Mojang:
Enable: true
Fallback: 2
CloudProtected:
Enable: true
Fallback: 1
MineTools:
Enable: true
Fallback: 5
BauxiteAPI:
Enable: false
Fallback: 1
# SMTP Configuration
SMTP:
host: 'localhost'
port: '25'
user: 'root'
pass: 'password'
from: '[email protected]'
file: 'Index.html'
subj: 'DynamicBungeeAuth'
# Database Importers
# Currently supported: AUTHME HASH: SHA256
Importers:
Enabled: false
SSL: false
SQL:
ip: 'localhost'
port: '3306'
database: 'authmedatabase'
user: 'authmeuser'
password: 'authmepassword'
table: 'yourtableofauthme'
structure:
name: 'realname'
password: 'password'
ip: 'ip'
regip: 'regip'
# Debug message of APIS
Debug:
apis: true
Сообщения в bungeemessages
YAML:
AutoMessages:
register:
- '&8&m----------------------------------------------------'
- ''
- '&eYou need to register first, please use'
- ''
- '&a/register password password &c%captcha%'
- ''
- '&8&m----------------------------------------------------'
login:
- '&8&m----------------------------------------------------'
- ''
- '&eYou need to login to play on this server, please use'
- ''
- '&a/login password'
- ''
- '&8&m----------------------------------------------------'
auto:
- '&8&m----------------------------------------------------'
- ''
- '&eYou have been auto-logged as a premium user'
- ''
- '&8&m----------------------------------------------------'
session:
- '&8&m----------------------------------------------------'
- ''
- '&eYou have been logged in to your previous session'
- ''
- '&8&m----------------------------------------------------'
KickMessages:
register: |-
&8&m-------------------------------------------
&aYour Minecraft Server Name
&eYou have exceeded the time to register
&ePlease try again!
&8&m-------------------------------------------
login: |-
&8&m-------------------------------------------
&aYour Minecraft Server Name
&eYou have exceeded the time to login
&ePlease try again!
&8&m-------------------------------------------
MaxLogin: |-
&8&m-------------------------------------------
&aYour Minecraft Server Name
&ePlease try join later, the connection limit has been reached
&8&m-------------------------------------------
MaxLoginCracked: |-
&8&m-------------------------------------------
&aYour Minecraft Server Name
&ePlease try join later, too many cracked user have attempted to log in.
&8&m-------------------------------------------
PremiumKick: |-
&8&m-------------------------------------------
&aYour Minecraft Server Name
&ePlease reconnect to the server to apply the changes.
&8&m-------------------------------------------
unregisterkick: |-
&8&m-------------------------------------------
&aYour Minecraft Server Name
&eYou have been un-registered by an admin > %admin%
&8&m-------------------------------------------
NameCheck: |-
&8&m-------------------------------------------
&aYour Minecraft Server Name
&eYour name has already been registered with a different NameCase
&8&m-------------------------------------------
MaxAccountsIP: |-
&8&m-------------------------------------------
&aYour Minecraft Server Name
&cYour IP has to many accounts registered on this server.
&8&m-------------------------------------------
MaxPlayingIP: |-
&8&m-------------------------------------------
&aYour Minecraft Server Name
&cYour IP has to many accounts playing at the moment.
&8&m-------------------------------------------
ClearCache: |-
&8&m-------------------------------------------
&aYour Minecraft Server Name
&cYour data has ben cleared join again please.
&8&m-------------------------------------------
Logout: |-
&8&m-------------------------------------------
&aYour Minecraft Server Name
&cYour session has been closed :).
&8&m-------------------------------------------
Titles:
register:
top: '&aPLEASE REGISTER'
bottom: '&eYour captcha is: &c%captcha%'
options:
fadein: 20
fadeout: 20
stay: 200
login:
top: '&aPLEASE LOGIN'
bottom: '&eUse /login pass'
options:
fadein: 20
fadeout: 20
stay: 200
auto:
top: '&aAuto-Logged'
bottom: '&eThanks for playing with us :D!'
options:
fadein: 20
fadeout: 20
stay: 200
successful:
top: '&aThanks for Playing with us'
bottom: '&eEnjoy the server :D!'
options:
fadein: 20
fadeout: 20
stay: 200
session:
top: '&aSession Resumed'
bottom: '&eEnjoy the server :D!'
options:
fadein: 20
fadeout: 20
stay: 200
Commands:
register:
exist: '&cThis player is already registered.'
wrong: '&cYou used the register command incorrectly, use &e/register pass pass'
non_captcha: '&cYou forgot to put the captcha at the end: %captcha%'
wrong_captcha: '&cCaptcha incorrect your captcha is: %captcha%'
bannedpw: '&cThis password is too easy and/or banned from this server'
to_short: '&cYour password is too short'
to_long: '&cYour password is too long'
registering: '&aTrying to register your account'
success: '&aYour account was successfully registered, have fun!'
login:
already: '&cYou are already connected. OmegaLuL'
wrong_pass: '&cIncorrect password. Try again'
wrong_kick: '&cIncorrect password. Try again'
correct: '&aAccount successfully logged in, have fun :)!'
wrong_cmd: '&cYou used the login command incorrectly, use &e/login pass'
register_first: '&cYou need to register first.'
cracked:
already: '&cThis account is already set as cracked. You can also try /premium'
successful: '&cYour account cache was cleared by an admin, please re-join.'
exception: '&cThis account is not registered on the server'
premium:
successful: '&aYour account has been set to premium please rejoin the server.'
on_list: '&cThis account is already on the list please rejoin to apply changes.'
error: '&cSomething weird happened please contact a staff member!'
already_premium: '&cThis account is already set to premium, this command will not work!'
not_registered: '&aYou first need to register your account to use /premium'
not_mojang: '&cThis account does not exist on mojangs system'
deactivated: '&cThis command has been disabled'
only_player: '&cThis command only works on players'
wrong_method: '&cThis command does not work with this method'
require_login: '&cThis command only work if y ou are logged. Please use /login pass'
unregister:
correct: '&aCorrect usage: &c/authadmin forcelogin %player%'
console: '&aThe user %player% was un-registered by %admin%'
success: '&aThe player was un-registered correctly'
disableshield:
success: '&cThe shield has ben disabled correctly, now all the players can join'
wrong: '&cThis server does not use the protection with shield mode.'
cacheclear:
correct: '&aCorrect usage: &c/authadmin playercacheclear %player%'
success: '&aThe cache for %player% was cleared from the server'
player_msg: '&cYour player info was removed from the cache by an admin, try join again.'
changepassword:
not: '&cYou need to register first...'
wrong: '&cCorrect usage is: &a/changepassword current_pass new_pass'
same: '&cYour new password is the same as the old one, please try with a different password.'
successful: '&cYour account password has been updated correctly'
incorrect: '&cYour current password is not the same as the registered password.'
premium_adm:
wrong: '&cCorrect usage is: /authadmin premium nick'
already: '&cThis account is already set to premium'
sucess: '&aThis account is now is set as premium'
not_registered: '&cThis account does not exist on this server'
cracked_adm:
wrong: '&cCorrect usage is: /authadmin cracked nick'
already: '&cThis account is already cracked'
sucess: '&aThis account has now been set to cracked'
not_registered: '&cThis account does not exist on this server'
fetchdata: '&aThe command is processing and the result will be displayed on your DATABASE "playerip" Table'
redis: '&aThe command was executed on the player proxy'
rediserror: '&cThe player isn''t online or RedisBungee isn''t installed.'
playerip:
ipnotfound: '&cThe player ip isn''t registered on the database'
addaccount: '&aAdded 1 account to the ip of the player %player%'
minusaccount: '&aRemoved 1 account to the ip of the player %player%'
addplaying: '&aAdded 1 account to the ip of the player %player%'
minusplaying: '&aRemoved 1 account to the ip of the player %player%'
delete: '&aThe %player% IP was deleted from the database'
forcelogin:
success: '&cYou were logged by staff: &e%staff_name%'
offline: '&cThe user %player% isn''t connected to the server'
not_registered: '&cThis account does not exist on this server'
HelpADM:
- '/authadmin unregister <nick>'
- '/authadmin clearcache <nick>'
- '/authadmin disableshield'
- '/authadmin clearnames'
- '/authadmin premium <nick>'
- '/authadmin cracked <nick>'
- '/authadmin fetchada'
- '/authadmin forcelogin <nick>'
- '/authadmin playerip "for the player ip help"'
HelpPlayerIP:
- '/authadmin playerip accounts add <nick>'
- '/authadmin playerip accounts minus <nick>'
- '/authadmin playerip max_accounts add <nick>'
- '/authadmin playerip max_accounts minus <nick>'
- '/authadmin playerip playing add <nick>'
- '/authadmin playerip playing minus <nick>'
- '/authadmin playerip max_playing add <nick>'
- '/authadmin playerip max_playing minus <nick>'
- '/authadmin playerip delete nick'
Конфигурация спигот:
YAML:
# ________ .__ __________ _____ __ .__
# \______ \ ___.__. ____ _____ _____ |__| ____\______ \__ __ ____ ____ ____ ____ / _ \ __ ___/ |_| |__
# | | < | |/ \\__ \ / \| |/ ___\| | _/ | \/ \ / ___\_/ __ \_/ __ \ / /_\ \| | \ __\ | \
# | ` \___ | | \/ __ \| Y Y \ \ \___| | \ | / | \/ /_/ > ___/\ ___// | \ | /| | | Y \
# /_______ / ____|___| (____ /__|_| /__|\___ >______ /____/|___| /\___ / \___ >\___ >____|__ /____/ |__| |___| /
# \/\/ \/ \/ \/ \/ \/ \//_____/ \/ \/ \/ \/
#
# Author: UraharaNZ Version: 10.14B
#
#
SetupMode: true
# Enable MySQL if you will use the API of the plugin
MySQL:
UseSQL: false
ip: 'localhost'
port: '3306'
database: 'DynamicBungeeAuth'
user: 'DynamicBungeeAuth'
password: 'yourpasswordhere'
ssl: false
Options:
# MaxTime = Once th player has reached the max time they will be kicked with a message (60 is recommended)
MaxTime: 60
# Disable the join messages of spigot
DisableJoinMSG: true
DisableLeaveMSG: true
# BlindnessD = Set this to true to disable blindness on join
BlindnessD: false
# Enable AntiStuck if a server goes down and the player has been redirected to an AuthServer
# The plugin will send the player if he is still a valid player "Logged in" to the Specified Server
# Delay is on seconds recommended to be higher than 2
AntiStuck:
Enable: true
Delay: 3
Server: 'Lobby01'
# Player options for when the player joins pre login or register.
PlayerOptions:
BlockMovement: true
BlockInteract: true
BlockDrop: true
BlockPickup: true
BlockInventoryOpen: true
BlockItemHeld: true
# Disable Weather and Rain on the Spigot Server.
WorldOptions:
DisableRain: true
DisableFood: true
# The message to be displayed when the player reaches MaxTime without logging in or registering successfully
Messages:
MaxTimeKick: '&cYou reach the max time to login or register.'
# Set the spawn location of the server, Enable or Disable the Force Spawn Location on join!
Location:
Disable: false
Cords:
world: ''
yaw: ''
pitch: ''
x: ''
y: ''
z: ''
Команды плагина DynamicBungeeAuth:
Команды администратора:
- /authadmin unregister <ник игрока>
- /authadmin clearcache <ник игрока>
- /authadmin disableshield
- /authadmin clearnames
- /authadmin premium <ник игрока>
- /authadmin cracked <ник игрока>
- /authadmin fetchada
- /authadmin forcelogin <ник игрока>
- /authadmin playerip "для справки об ip игрока"
- /authadmin playerip accounts add <ник игрока>
- /authadmin playerip accounts minus <ник игрока>
- /authadmin playerip max_accounts add <ник игрока>
- /authadmin playerip max_accounts minus <nickник игрока
- /authadmin playerip playing add <ник игрока>
- /authadmin playerip playing minus <ник игрока>
- /authadmin playerip max_playing add <ник игрока>
- /authadmin playerip max_playing minus <ник игрока>
- /authadmin playerip delete ник игрока
Права плагина DynamicBungeeAuth:
Права для игроков:
auth.login — Право на авторизациюauth.register — Право на регистрацию
auth.premium
auth.logout
auth.lobby
auth.cracked
auth.changepassword
Права для админа DynamicBungeeAuth:
auth.admin — Право на команды админаauth.notifications — для сообщений об обновлении.