# =======================================
# UltimateServerProtector by Overwrite
# =======================================
# Plugin prefix
prefix: '&f&l[&c&lProtection&f&l] '
# Session settings
session-settings:
# Save player's IP
session: true
# Should player data be deleted after a while
session-time-enabled: false
# The time after which the data about the registered player will be deleted in seconds (the countdown starts from the player's exit)
session-time: 21600 #(6 hrs)
# Punishment settings
punish-settings:
# Should punishments be applied to players with admin-permissions who are not in the config
notadmin-punish: true
# Should punishment be applied to a player who did not have time to enter the admin password for the number of attempts allotted to him
enable-attemps: true
# Maximum number of attempts to enter the admin password
max-attempts: 3
# Should punishment be applied to a player who did not have time to enter the admin password for a certain time
enable-time: true
# The time for which the player will have to enter the admin password in seconds
time: 60
# Secure Settings
secure-settings:
# Should punishments be applied to operators that are not on the list
enable-op-whitelist: true
# Whether to enable IPWhitelist for admins (default - false)
enable-ip-whitelist: false
# Should plugin turn off the server if the plugin is disabled (default - false)
shutdown-on-disable: false
# Message settingd
message-settings:
# Delay between auto-messages and titles in seconds
delay: 1
# Enable titles?
send-titles: true
# Enable broadcasts for admins?
enable-broadcasts: true
# Enable broadcasts for console?
enable-console-broadcasts: true
# Log settings
logging-settings:
# Log successful/failed password entry attempts?
logging-pas: true
# Log admin joins?
logging-join: true
# Log plugin enable and disable?
logging-enable-disable: true
# Commands that will be applied to violators
commands:
# Commands that will be applied to those who have admin-permissions, but who are not in the config
not-in-config:
- 'kick %player% You are not admin!'
- 'deop %player%'
# Commands that will be applied to those who hava OP, but who are not in op-whitelist
not-in-opwhitelist:
- 'deop %player%'
#- 'ban %player% Вам нельзя иметь права оператора!'
# Commands that will be applied to those who logged in with admin-perms and are specified in the config, but have a non-admin IP
not-admin-ip:
- 'kick %player% Your IP is not in whitelist'
#- 'deop %player'
# Commands that will be applied to those who entered the pass incorrectly for the attempts allotted to him
failed-pass:
- 'ban %player% You entered the admin password incorrectly, your account is banned'
- 'deop %player%'
# Commands that will be applied to those who have not entered a pass in the allotted time
failed-time:
- 'ban %player% You did not have time to enter the admin password in the allotted time'
- 'deop %player%'
# Messages that will be displayed to people when entering a command
msg:
message: '&fAdmin permissiond detected! You should enter admin-password!'
incorrect: '&cWrong password!'
correct: '&aCorrect password. Have a nice day

'
noneed: '&fYou do not need to enter the admin password or it has already been entered.'
cantbenull: '&fPassword cannot be empty.'
# Admin broadcasts (%player% = player's nick / %ip% = player's IP)
broadcasts:
failed: '&fAdmin &3%player% &fentered the password &cwrongly! &fIP: &c%ip%'
passed: '&fAdmin &3%player% &fentered the password &acorrectly! &fIP: &c%ip%'
joined: '&fAdmin &3%player% &fjoined the game! &fIP: &c%ip%'
disabled: '&6&lWARNING! &fPlugin has been disabled!'
# Titles
titles:
title: '&e&l⚠ &c&lProtection &e&l⚠'
subtitle: '&fAdmin permissions detected! You should enter admin-password!'
# Permissions for which the player will need to enter the admin password (Add as many as you need)
permissions:
- '*'
- 'bukkit.*'
- 'minecraft.*'
- 'essentials.*'
- 'cmi.*'
- 'worldguard.*'
- 'worldedit.*'
- 'permissions.*'
- 'luckperms.*'
- 'holograms.*'
- 'protocol.admin'
# Commands that can be entered before entering the admin password
allowed:
- '/l'
- '/login'
- '/reg'
- '/register'
# Which players are allowed to have OP
op-whitelist:
- Overwrite
- test9999
# Which IP is admin-ip
ip-whitelist:
- '127.0.0.1'
- '0.0.0.0'
# Unique passwords for admins
data:
Overwrite: # player 1
pass: '123123' # player's 1 password
test9999: # player 2
pass: '321321' # player's 2 password
В принципе, я ничего даже не менял. Лишь выдал опку на ник test9999 чтобы проверить.