Auto Reconnect Reforged Wiki › Guides › Execute Commands Automatically Upon Reconnection
Execute Commands Automatically Upon Reconnection
Set Up Post-Reconnection Commands
Auto Reconnect Reforged allows you to automatically run commands or send messages once you successfully reconnect to a server.
1. Open your mod's configuration file
2. Locate the section for post-reconnection actions or commands
3. Define the specific command or message you want to execute
4. Use standard Minecraft command syntax (e.g., /say, /msg, /home)
5. Save your configuration
Common Use Cases
You might use this feature to:
- Send a message to notify other players you've returned
- Automatically execute a teleport command to your last location
- Run a mod-specific command to restore your status
- Send a private message to a friend or admin
Ensure your commands are valid for your server's permissions and installed mods. Test the reconnection sequence in a safe environment first to confirm your commands execute correctly.