
💤 SnoozeLoot
SnoozeLoot rewards idle players with SnoozePoints while they AFK — and lets them spend those points in a fully configurable shop.
No Vault or economy plugin needed. You define what rewards cost and what commands run on purchase (ranks, items, kits, permissions).
✨ Highlights at a glance:
- 🛒 In-game reward shop (fully configurable GUI)
- 🛏️ AFK SnoozePoints — with action bar, titles, and cozy particles
- 🌍 World & WorldGuard region restrictions
- 📊 Leaderboard including your personal rank
- 💸 Player-to-player payments & daily, weekly & streak bonuses
- 🔌 PlaceholderAPI support built-in
- 🛡️ Smart Anti-exploit (circular pool detection, daily limits, bypass preventions)
- 💾 YAML or SQLite storage · English & German translations included

🚀 Quick Start
- Drop the jar in your
plugins/folder and start the server (Paper 1.20.5+, Java 21+). - Edit
plugins/SnoozeLoot/config.yml— set your custom AFK timers, shop items, and rewards. - Run
/snooze reload(or restart the server). Players can now use/snoozeand/snooze shop!
💡 SnoozeLoot automatically detects PlaceholderAPI and WorldGuard if they are installed on your server.
🛏️ How AFK Works
- Player stands still long enough ➡️ AFK mode starts (shows title, plays sound, spawns Z particles).
- While AFK: The action bar shows their balance and earn rate. Points pay out on a customizable timer.
- Player moves again ➡️ AFK ends, and a friendly welcome-back message shows their total session earnings.
⚙️ Adjusting the AFK settings in config.yml:
| Setting | Description |
|---|---|
afk-time-threshold-seconds |
Idle time (in seconds) required before AFK starts |
payout-interval-seconds |
How often points are distributed |
points-per-interval |
Points granted per payout interval |
min-active-seconds-before-afk |
Active playtime required before first AFK (prevents join-AFK-farming) |
max-afk-seconds-per-day |
Daily limit for earning points (-1 = disabled) |
max-afk-seconds-per-session |
Per-login limit for earning points (-1 = disabled) |
blocked-gamemodes |
Blocked gamemodes (e.g. CREATIVE, SPECTATOR) |
Customize the start/end title, subtitles, and sounds under afk.start-notification and afk.end-notification. Toggle particles with afk.particles.enabled.
🛒 Shop Setup
Add your custom rewards under shop.items. Each item requires a unique key (vip, diamonds, …), a inventory slot, material, price, and the commands to run on purchase.

```yaml shop: size: 27 confirm-above-price: 50 # Second click required to confirm at this price or above transaction-log-max-entries: 500 items: vip: slot: 11 material: DIAMOND name: "VIP Rank" lore: - "Cost: points" price: 100 purchase-limit: -1 # -1 = unlimited, 3 = maximum 3 buys ever per player commands: - "lp user %player% parent add vip"