Version 0.2
Added Configuration Files:
- Created config.yml for customizable messages.
- Created data.yml for storing player-specific data.
Implemented Help Command:
- Added /openinv help command to display available commands and their descriptions.
- Tab completion for the help command now suggests available subcommands.
Enhanced Search Command:
- Updated /openinv search <item> <player> to allow searching for items in a specified player's inventory.
- Added tab completion to suggest all Minecraft item names for the item argument and online player names for the player argument.
- Implemented error handling for invalid player names and item searches.
Implemented Freeze Functionality:
- Added /openinv freeze <player> command to prevent a specified player from modifying their inventory.
- Players cannot drop or pick up items while their inventory is frozen.
- Added cooldown for messages to prevent spam when trying to drop or pick up items while frozen.
Implemented Unfreeze Functionality:
- Added /openinv unfreeze <player> command to allow a player to modify their inventory again.
Added Welcome Message for OP Players:
- When an OP player joins the game, a welcome message with available commands is sent in chat.
Console Messages:
- Added colored console messages when the plugin is enabled, using ANSI escape codes for better visibility.