Create a Java plugin for the Velocity Minecraft proxy that automatically detects when a player joins and transfers them to another server. Requirements: * Use the Velocity API * Listen for player join events (PostLoginEvent or ServerConnectedEvent) * Automatically send the player to a target server (e.g., "lobby") * Make sure it does not create infinite loops * Handle cases where the target server is offline * Include a simple configuration file (config.yml or similar) where I can: * Set the target server name * Enable/disable auto-transfer * Log useful messages to the console
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code