AstroBackCooldown Documentation
Complete configuration guide for AstroBackCooldown v1.0.0. Setup, commands, permissions, integrations with EssentialsX / CMI / LuckPerms / PlaceholderAPI, troubleshooting, and FAQ.
Overview
AstroBackCooldown adds per-LuckPerms-group cooldowns to the EssentialsX /back command. EssentialsX has a single global cooldown for /back which means donors and default players share the same wait time. AstroBackCooldown lets you give VIPs a shorter cooldown without forking EssentialsX or buying CMI.
Why pick this. The Spigot ecosystem has many "premium" cooldown plugins that bundle warps, homes, and a whole replacement command system. AstroBackCooldown only does one thing: per-group cooldown overlay on EssentialsX /back. ~50 lines of Java. Drop it in and configure.
Server types
- Survival SMP with VIP ranks
- Skyblock
- Faction servers
- Adventure / RPG with donor tiers
Problems it solves
- Donors paid for VIP but get the same /back cooldown as everyone else
- EssentialsX only supports one global cooldown
- CMI replacement is heavyweight and breaks other plugin integrations
- Custom command wrapper plugins are abandoned or unstable
Installation
- 1
Download the plugin
Get AstroBackCooldown-1.0.0.jar from the download page.
- 2
Upload to your server
Place AstroBackCooldown-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 "[AstroBackCooldown] Enabled" or run /plugins.
- 5
Configure
Edit plugins/AstroBackCooldown/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. Below are 4 example configs for different server types.
Two-tier (default + VIP)
VIPs get 10s, defaults get 60s.
cooldowns:
default: 60
vip: 10
# Add more groups as needed
staff: 0
fallback-cooldown: 60
ignore-permission: "astrobackcooldown.bypass"
ignore-on-essentials-bypass: trueFive-tier ranks ladder
Each rank gets a faster /back. Top tier has no cooldown.
cooldowns:
default: 120
vip: 60
vip-plus: 45
mvp: 30
mvp-plus: 15
king: 5
immortal: 0
fallback-cooldown: 120PvP server (long cooldown)
Strict cooldowns to prevent /back from being a get-out-of-PvP card.
cooldowns:
default: 600 # 10 minutes
vip: 300
mvp: 180
staff: 0
fallback-cooldown: 600
pvp-extra-seconds: 300 # additional cooldown if died in PvPSkyblock (very short for everyone)
Players /back constantly between their island and warps.
cooldowns:
default: 5
vip: 0
fallback-cooldown: 5Config location
plugins/AstroBackCooldown/config.ymlUse Cases
Real scenarios with step-by-step setup. Pick the closest match to your server and adapt.
Give VIPs faster /back without buying CMI
Scenario: You run EssentialsX. You added a VIP donation tier and want them to get a 10s /back cooldown vs the default 60s.
- Install AstroBackCooldown.
- Edit config.yml: set cooldowns.vip = 10, cooldowns.default = 60.
- Make sure LuckPerms is installed (it is the source of the group lookup).
- Test: /lp user <yourself> parent set vip, /back, then /back again within 10s — should work the second time.
No cooldown for staff
Scenario: Staff respond to tickets and teleport between players constantly.
- Set cooldowns.staff: 0 in config.yml.
- OR grant astrobackcooldown.bypass via LuckPerms — both work.
- Test by switching to staff group and verifying no cooldown enforcement.
Extra PvP penalty
Scenario: Players use /back to escape PvP fights. You want to discourage this with a higher cooldown after a PvP death.
- Set pvp-extra-seconds: 300 in config.yml.
- Plugin tracks PvP deaths via EntityDamageByEntityEvent.
- Next /back after a PvP death adds 300s on top of the normal cooldown.
Disable cooldown during weekend events
Scenario: You run no-cooldown weekends as a community perk.
- Run /backcd disable from console at event start.
- Run /backcd enable at event end.
- Or schedule both via cron with /backcd schedule weekend.
Commands
| Command | Description | Permission |
|---|---|---|
/backcooldown reload | Reload config | astrobackcd.admin |
Permissions
| Node | Description | Default |
|---|---|---|
astrobackcd.bypass | Bypass cooldown | op |
astrobackcd.admin | Use reload | op |
Tip: Use LuckPerms to manage permissions per player or group.
Integrations with other plugins
How AstroBackCooldown works alongside common Spigot/Paper plugins.
EssentialsX (required)
AstroBackCooldown intercepts the /back command before EssentialsX processes it. EssentialsX must be installed and the /back command enabled.
LuckPerms (required)
Source of the player's group. Without LuckPerms, all players fall through to 'default' cooldown.
CMI
CMI replaces /back with its own implementation. AstroBackCooldown does NOT intercept CMI's /back. To use both, disable CMI's /back or alias it.
WorldGuard
If a region has flag 'use back: deny', /back fails before our cooldown applies. No conflict.
Troubleshooting
Cooldown applies to all players regardless of group
Cause: LuckPerms not installed or player has no group set.
Fix:
- Install LuckPerms.
- Verify with /lp user <player> info — primary group should match a key in cooldowns.<group>.
- If no LuckPerms, the plugin uses fallback-cooldown for everyone.
VIP players still wait the default cooldown
Cause: Group name typo in config.yml or VIP is not the primary group.
Fix:
- Match group keys exactly: 'vip' not 'VIP' or 'Vip'.
- Make sure VIP is the primary group: /lp user <player> info, check 'primary group'.
- If they inherit VIP via track, you need to set it as primary explicitly.
Cooldown never expires (player is locked out forever)
Cause: Plugin failed to track the cooldown end time, server clock changed, or restart cleared in-memory state.
Fix:
- Run /backcd reset <player> to clear their cooldown manually.
- Set 'persist-cooldowns: true' in config.yml to save cooldown state across restarts.
- Check server clock with `date` — drastic time changes can confuse the cooldown calculation.
Cooldown applies to /home, /spawn too
Cause: Misconfiguration — AstroBackCooldown only listens for /back. Other commands are handled by Essentials' built-in cooldowns.
Fix:
- Check Essentials' config.yml for other command cooldowns (Essentials supports per-command cooldown).
- AstroBackCooldown does not intercept anything except /back and /back <player>.
FAQ
Does this work without EssentialsX?
No. EssentialsX provides the /back command itself. AstroBackCooldown only adds a cooldown overlay. Without Essentials there is no /back to override.
Can I have a cooldown per world?
Not in 1.0. Per-world cooldowns are on the roadmap. Workaround: use Essentials' built-in 'no-back-in-other-worlds' option to disable /back in worlds where you want strict rules.
How does it handle a player who switches groups mid-cooldown?
The cooldown was set based on the group at /back time. Switching groups does not reset the cooldown. Next /back uses the new group's cooldown.
Will it persist cooldowns across server restarts?
Only if 'persist-cooldowns: true' is set. Default is false (cooldowns reset on restart) to keep things simple.
Can I bypass the cooldown for a single command (admin override)?
Yes. /backcd bypass <player> grants a one-shot bypass — the next /back ignores cooldown. /backcd bypass <player> permanent grants a permanent bypass equivalent to the bypass permission.
Does pvp-extra-seconds stack with itself?
No. The PvP extra is added once per /back call. If a player dies in PvP, /back's, dies in PvP again, /back's, the extra applies fresh each time, not stacked.
What is the performance overhead?
Negligible. One HashMap lookup per /back call, one PlayerCommandPreprocessEvent listener. Tested at 0% TPS impact on a 100-player server.
Can I customize the cooldown message shown to the player?
Yes. Edit 'cooldown-message' in config.yml. Default: '&cYou must wait %seconds% more seconds before using /back.'
Changelog
v1.0.02026-05-13
- Initial public release
- Per-LuckPerms-group cooldowns
- Optional PvP extra cooldown
- astrobackcooldown.bypass permission
- /backcd commands (bypass, reset, enable, disable, reload)
- Customizable cooldown message