Documentation
Complete guide for AstroSimpleAFK v1.0.0.
Installation
- 1
Download the plugin
Get AstroSimpleAFK-1.0.0.jar from the download page.
- 2
Upload to your server
Place AstroSimpleAFK-1.0.0.jar in your server's plugins/ folder.
- 3
Restart the server
Run /stop to shut down, then start the server again. Do not use /reload.
- 4
Verify installation
Check the console for "[AstroSimpleAFK] Enabled" or run /plugins.
- 5
Configure
Edit plugins/AstroSimpleAFK/config.yml. Use the reload command to apply changes.
Requirements: Paper, Purpur, or Folia server running Minecraft 1.20+. Java 21+.
Configuration
The default config.yml is generated on first run. Edit and reload to apply changes.
# AstroSimpleAFK Configuration
afk-timeout-seconds: 300
broadcast-afk: true
broadcast-return: true
afk-prefix: "&7[AFK] "Config location
plugins/AstroSimpleAFK/config.ymlCommands
| Command | Description | Permission |
|---|---|---|
/afk | Toggle AFK manually | astrosimpleafk.command |
/afk reload | Reload config | astrosimpleafk.reload |
Permissions
| Node | Description | Default |
|---|---|---|
astrosimpleafk.bypass | Skip auto-AFK detection | op |
astrosimpleafk.reload | Use reload command | op |
Tip: Use LuckPerms to manage permissions per player or group.
Examples
Basic setup
Drop AstroSimpleAFK-1.0.0.jar into your plugins folder and restart. The default settings work for most servers.
Permission setup with LuckPerms
# Grant permission to a group
/lp group default permission set astrosimpleafk.bypass true
# Grant permission to a player
/lp user <player> permission set astrosimpleafk.bypass trueTroubleshooting
Plugin does not load
- Make sure you are running Paper (or Purpur/Folia) 1.20+.
- Check that the JAR is in the correct plugins/ folder.
- Look at the server console for errors during startup.
- Make sure you have Java 21 or higher.
Config changes not applied
- Use the reload command instead of restarting.
- Check for YAML syntax errors — missing colons, wrong indentation.
- Use a YAML validator to check your config file.
Permission denied errors
- Make sure the correct permission nodes are assigned via LuckPerms.
- OP players bypass permissions by default — test with a non-OP account.
- Check that your permissions plugin loads before this plugin.
FAQ
Is AstroSimpleAFK free?
Yes, completely free and open source under the MIT License.
Does it work with Spigot?
AstroSimpleAFK is built for Paper API. It may work on Spigot but is not officially supported.
What versions does AstroSimpleAFK support?
Currently supports 1.20+. We update for new versions as they release.
How do I get support?
Join our Discord, email [email protected], or submit a bug report on the issues page.
Can I modify the source code?
Yes. AstroSimpleAFK is MIT-licensed. Fork the repo and build your own version.