-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Ancientwebofficial edited this page Jul 16, 2026
·
1 revision
Note: This page is a template. Fill in the actual keys/values from your
config.ymlandmessages.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.
# 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 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"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!"- Always back up your config files before making bulk edits
-
/streak reloadapplies changes without a restart - If a config value is invalid, check
/streak debugfor diagnostics