Skip to content

Configuration

Ancientwebofficial edited this page Jul 16, 2026 · 1 revision

Configuration

Note: This page is a template. Fill in the actual keys/values from your config.yml and messages.yml — the placeholders below should be replaced with your real configuration options.

After first launch, DailyStreak generates its config files in plugins/DailyStreak/:

  • config.yml — core settings (playtime requirement, storage, reset time, etc.)
  • rewards.yml — per-day reward commands
  • messages.yml — customizable chat messages

Run /streak reload after making changes to apply them without restarting the server.

config.yml

# Example structure — replace with your actual config keys
required-playtime-minutes: 60
streak-reset-time: "00:00"
storage-type: sqlite   # or mysql
database:
  host: localhost
  port: 3306
  name: dailystreak
  user: root
  password: ""

rewards.yml

Rewards are keyed by streak day. Use /streak reward add/set/remove/list to manage these in-game, or edit the file directly and /streak reload.

# Example structure — replace with your actual rewards config
rewards:
  1:
    - "give %player% diamond 1"
  7:
    - "title %player% title {\"text\":\"Week Streak!\"}"
  30:
    - "lp user %player% permission set some.perk true"

messages.yml

All player-facing text is customizable, and supports the placeholders listed on the Permissions and Placeholders page.

# Example structure — replace with your actual messages config
streak-info: "&aYour current streak: &e%streak% days"
reward-claimed: "&6You claimed your day %today% reward!"

Editing Tips

  • Always back up your config files before making bulk edits
  • /streak reload applies changes without a restart
  • If a config value is invalid, check /streak debug for diagnostics

Clone this wiki locally