Areef Abdullah

Plugin Name: IPAccountLock

Platform: Minecraft Java Edition (Paper / Spigot)

Plugin Description:

Create a secure Account Lock plugin that permanently locks a Minecraft account to its first registered IP address.

Main Features:

  1. First IP Registration

- When a player joins for the first time, automatically register their IP address. - Save the registered IP permanently in the plugin database.

  1. IP Account Lock

- Only allow the registered IP address to join that Minecraft account. - If someone tries to join using a different IP address, automatically deny access. - Display this message:

&cYour account is locked to another IP address!

  1. No IP Changing

- Players cannot change their registered IP themselves. - Reconnecting from a different IP must be blocked.

  1. Admin Commands

- /iplock info <player> - Check the player's registered IP. - /iplock unlock <player> - Remove the IP lock. - /iplock set <player> <ip> - Set a registered IP manually. - /iplock reload - Reload the configuration.

  1. Security

- Store account and IP information safely. - Prevent players from bypassing the IP check. - Check the IP before allowing the player into the server. - Only administrators with the correct permission can manage locks.

  1. Configuration

- Make all messages configurable in config.yml. - Support Minecraft Java Edition. - Support Paper and Spigot. - Include permissions and a complete installation guide.

Important: The first registered IP must remain the account's permanent authorized IP until an administrator manually unlocks or changes it. Never automatically replace the original IP.

Kodari AI
KodariWed at 2:04 pm 1

The generation was stopped before any content could be produced.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code