
AccountLocker is a Velocity And Bungee plugin to lock usernames to specific IPs, preventing account hijacking and unauthorized access.
AccountLocker is a Velocity plugin designed to link a Minecraft username to a specific IP address, ensuring that only players connecting from the defined IP can access the account. This is a powerful tool to prevent account hijacking caused by password theft or unauthorized access.
IP Binding for Accounts
Configure a username and an associated IP address. Any login attempts using that username from a different IP will be denied.
Customizable Messages
Messages displayed to players can be fully customized in messages_us.yml.
Predefined Language Support
Includes two predefined messages.yml files:
Want to add more languages? Check out the translation repository:
GitHub Repository
Debug Mode
Enable debugmode in the configuration to log all login attempts and monitor unauthorized access attempts.
Flexible Configuration
Choose your preferred language file and toggle debug mode easily in config.yml.
/accountlocker
Reload the plugin’s configuration and messages.
Alias: /al
/accountlocker : accountlocker.reloadProtect your server and your players from unauthorized account access and hijacking attempts. With AccountLocker, usernames can be locked to specific IP addresses, adding an essential layer of security to your Minecraft server.
Here’s the config.yml file:
file-version: 1
Language: us #us and it available
debug mode: false #show debug info in console
users: #Users List
blaze534: 0.0.0.0 #Example of configuration
bob: 130.139.1.5
Here’s the messages_us.yml file:
file-version: 1
# $user = Username $ipAccount = Ip Address $allowedIp = Ip taken from config.yml
blocked-connection-message: "[AccountLocker] Account Locked"
login-attempt-message: "Login attempt - Username: $user, IP: $ipAccount"
denied-attempt-message: "Access denied for user: $user. IP does not match: $ipAccount (expected: $allowedIp)"
reload-message: "Configuration reloaded correctly."