This tagline highlights the core purpose of the plugin—enhancing server security by ensuring that operators authenticate themselves before gaining access to commands.
OpLogin is a simple and effective Minecraft plugin designed to enhance server security by requiring operators to authenticate with a password before they can execute commands. Perfect for server administrators who want to ensure that only authorized and authenticated operators can perform administrative tasks.
/opsetpass <player> <password>/oplogin <password>/resetop <player>/opreload# Security settings
security:
# Minimum password length
min-password-length: 8
# Maximum failed login attempts before temporary block
max-login-attempts: 3
# Block duration in minutes after max failed attempts
block-duration: 15
# Message settings (supports color codes)
messages:
prefix: '&8[&bOpLogin&8] &7'
login-success: '&aLogin successful! You can now use OP commands.'
# ... other messages ...
# Stored encrypted passwords (DO NOT EDIT MANUALLY!)
passwords: {}
Important: Changes to config.yml require a server restart to take effect. The /opreload command only reloads stored passwords and whitelist entries.
This file contains a list of commands that can be used without requiring login. By default, it includes:
whitelisted-commands:
- help
- oplogin
- list
- ping
Note: Like config.yml, changes to whitelist.yml require a server restart to take effect.
Use the /opsetpass <player> <password> command from the console to assign a password to an OP.
OPs must use the /oplogin <password> command to authenticate themselves upon joining the server.
Use the /resetop <player> command from the console to remove an OP's current password. The OP will need to set a new password.
No specific permissions are required for basic operation. Commands are restricted to the console or OPs as described.