Installation 1. Download the AdvancedMaintenance.jar file
2. Place it in your server's `plugins` folder
3. Restart or reload your server
4. Configure settings in the generated `config.yml` file
Basic Usage - To enable maintenance mode: `/maintenance on`
- To disable maintenance mode: `/maintenance off`
- To schedule maintenance in 10 minutes: `/maintenance 10m`
- To reload configuration: `/maintenance reload`
Configuration After first run, a `config.yml` file will be generated in the plugin folder. Key settings include:
- `language` - Set the default language (en, id, es, etc.)
- `maintenance.enabled` - Whether maintenance is active by default
- `maintenance.kick-online-players` - Whether to kick players when activating maintenance
- `maintenance.kick-message` - Custom message shown to kicked players
- `settings.countdown-interval` - Interval for countdown notifications (seconds)
Language Files Language files are stored in the `language` folder. You can customize messages by editing the appropriate `lang_XX.yml` file.
Scheduling Maintenance You can schedule maintenance to activate automatically using time formats:
- Seconds: `10s`, `30s`
- Minutes: `5m`, `15m`
- Hours: `1h`, `2h`
Example: `/maintenance 30m` will activate maintenance mode in 30 minutes.
Providing Additional Documentation About How to Use Your Resource
For additional support and documentation, please refer to the following:
Common Issues - Players not being kicked during maintenance: Ensure they don't have the `advancedmaintenance.bypass` permission
- Messages not appearing in correct language: Check the `language` setting in config.yml
- Scheduled maintenance not working: Verify the time format (e.g., 10s, 5m, 1h)
Best Practices - Always test maintenance mode on a development server first
- Communicate scheduled maintenance to players in advance
- Use appropriate countdown intervals based on your player base
- Regularly review and update language files for clarity
Integration Tips - Combine with other plugins that require server downtime
- Use with automated backup systems for seamless maintenance windows
- Coordinate with staff members using appropriate permission levels