# 🎁 DailyReward
_Reward your players for logging in — and keep them coming back._
## ✨ Overview
DailyReward gives players a reward every day they log in and claim, building a login streak that grows with consecutive days. Reach configured milestone days (1, 3, 7, 14, 30 by default) to receive bigger item bundles and run console commands such as economy payouts. Miss a day and the streak resets, so consistency pays off. Players can check their streak and next milestone at any time.
## 📦 Installation
1. Drop `DailyReward.jar` into your server's `/plugins` folder.
2. Restart the server (built for Minecraft **1.21**, api-version `1.21`).
3. Customize the reward tiers in `config.yml`, then have players run `/dailyreward claim`.
## ⌨️ Commands
| Command | Description | Aliases | Permission |
|---------|-------------|---------|------------|
| `/dailyreward` | DailyReward main command. Usage: `/dailyreward <claim\|streak\|admin>`. `claim` collects today's reward and advances your streak, `streak` shows your current streak and next milestone, and `admin reset <player>` resets someone's streak. | `dr`, `daily` | _none_ |
## 🔑 Permissions
- `dailyreward.claim` — Allows claiming daily rewards. Default: **true** (everyone).
- `dailyreward.streak` — Allows checking streak info. Default: **true** (everyone).
- `dailyreward.admin` — Access to the admin reset command. Default: **op**.
## ⚙️ Configuration
The `rewards` section is keyed by the minimum streak day required. On each claim a player receives the highest matching tier, and a special **Milestone!** message appears when the streak exactly hits a tier. Each tier defines:
- `items` — a list in `"MATERIAL AMOUNT"` format (e.g. `"DIAMOND 5"`).
- `commands` — console commands supporting `%player%` and `%streak%` (e.g. `eco give %player% 100`).
Defaults provide tiers at days 1, 3, 7, 14, and 30, scaling from bread up to diamond blocks and netherite.
## 📖 Full documentation
---
🤖 *This plugin was created with **Spaleforce AI**. Create your own Minecraft plugins for free at* 🚀 **https://spaleforce.com**