-
Notifications
You must be signed in to change notification settings - Fork 1
Config Files
Artem Ostrasev edited this page Sep 24, 2023
·
5 revisions
This page contains the configuration structure for NDailyRewards.
π plugins/NDailyRewards/
- π
config.yml
: General plugin configuration - π¦
data.db
: Database contains players data - π
messages.yml
: Configurable plugin messages
config.yml
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# Material names: https://minecraft.fandom.com/wiki/Materials#Materials
# Wiki: https://github.com/BX-Team/NDailyRewards/wiki
# Discord server: https://discord.gg/p7cxhw7E2M
# Modrinth: https://modrinth.com/plugin/ndailyrewards
data:
auto-save: 15 # Specified in minutes
storage:
type: SQLite
username: none
password: none
host: none
database: none
purge:
enabled: false
days: 60
options:
auto-open:
enabled: true
only-when-have: true
days-row: 7
rewards-cool-down: 86400
gui-refresh-delay: 5
unlock-after-midnight: false
reward-login-delay: 0
enable-metrics: true
rewards:
'1':
lore:
- '&7Come back every day to'
- '&7receive even better rewards!'
- ''
- '&e&lRewards:'
- '&6- $500'
- '&6- x2 Diamonds'
commands:
- 'console: eco give %player% 500' # you can use %player% to get the player name
- 'console: give %player% diamond 2' # also you can edit this commands to your needs
messages:
- '&aCongratulations! You got reward for join %day%st day in a row!'
'2':
lore:
- '&7Come back every day to'
- '&7receive even better rewards!'
- ''
- '&e&lRewards:'
- '&6- $1500'
- '&6- x4 Diamonds'
commands:
- 'console: eco give %player% 1500'
- 'console: give %player% diamond 2'
messages:
- '&aCongratulations! You got reward for join %day%nd day in a row!'
'3':
lore:
- '&7Come back every day to'
- '&7receive even better rewards!'
- ''
- '&e&lRewards:'
- '&6- $3500'
- '&6- x8 Diamonds'
commands:
- 'console: eco give %player% 3500'
- 'console: give %player% diamond 8'
messages:
- '&aCongratulations! You got reward for join %day%rd day in a row!'
'4':
lore:
- '&7Come back every day to'
- '&7receive even better rewards!'
- ''
- '&e&lRewards:'
- '&6- $5000'
- '&6- x16 Diamonds'
- '&6- 1000 Experience'
commands:
- 'console: eco give %player% 5000'
- 'console: give %player% diamond 16'
- 'console: xp add %player% 1000'
messages:
- '&aCongratulations! You got reward for join %day%th day in a row!'
'5':
lore:
- '&7Come back every day to'
- '&7receive even better rewards!'
- ''
- '&e&lRewards:'
- '&6- $5000'
- '&6- x16 Diamonds'
- '&6- 1500 Experience'
commands:
- 'console: eco give %player% 5000'
- 'console: give %player% diamond 16'
- 'console: xp add %player% 1500'
messages:
- '&aCongratulations! You got reward for join %day%th day in a row!'
'6':
lore:
- '&7Come back every day to'
- '&7receive even better rewards!'
- ''
- '&e&lRewards:'
- '&6- $5000'
- '&6- x16 Diamonds'
- '&6- 3000 Experience'
commands:
- 'console: eco give %player% 5000'
- 'console: give %player% diamond 16'
- 'console: xp add %player% 3000'
messages:
- '&aCongratulations! You got reward for join %day%th day in a row!'
'7':
lore:
- '&7Come back every day to'
- '&7receive even better rewards!'
- ''
- '&e&lRewards:'
- '&6- $10000'
- '&6- x16 Diamonds'
- '&6- 4000 Experience'
commands:
- 'console: eco give %player% 10000'
- 'console: give %player% diamond 16'
- 'console: xp add %player% 4000'
messages:
- '&aCongratulations! You got reward for join %day%th day in a row!'
gui:
title: '&d&lDaily Rewards!'
size: 27
days-positions: '10,11,12,13,14,15,16'
days-display:
available:
material: 'EMERALD_BLOCK:0:1'
name: '&a[Day #%day%] &fAvailable Reward!'
lore:
- '%reward-lore%'
- ''
- '&aΒ» &7Expires in: &a%expire%'
- '&aClaim it right now!'
taken:
material: 'COAL_BLOCK:0:1'
name: '&7[Day #%day%] &8Taken Reward'
lore:
- '%reward-lore%'
- ''
- '&8Β» &7Reward taken.'
locked:
material: 'REDSTONE_BLOCK:0:1'
name: '&c[Day #%day%] &7Locked Reward'
lore:
- '%reward-lore%'
- ''
- '&cΒ» &7Claim the previous reward to unlock!'
warmup:
material: 'IRON_BLOCK:0:1'
name: '&c[Day #%day%] &7Time-Locked Reward'
lore:
- '%reward-lore%'
- ''
- '&cΒ» &7Wait until &e%reward-warmup-remaining% &7to unlock!'
next:
material: 'GOLD_BLOCK:0:1'
name: '&e[Day #%day%] &7Awaiting...'
lore:
- '%reward-lore%'
- ''
- '&eΒ» &7Available in: &e%time%'
items:
panes:
material: BLUE_STAINED_GLASS_PANE
name: '&b[Daily Rewards]'
enchanted: false
lore:
- '&7Come back every day to receive'
- '&7your daily bonus!'
- ''
- '&aThe more days in a row you'
- '&ajoin the better the reward!'
- ''
- '&cYou must wait: &7%time-warmup-factored%'
- '&cbefore claiming your next bonus'
slots: 0,1,2,3,4,5,6,7,8,9,17,18,19,20,21,22,23,24,25,26
Β© 2022 - 2023 BX Team
- π Config Files
- π₯οΈ Commands
- βοΈ Placeholders
- π© Custom Model Data
- π HEX Colors
- β³ Warmup system
- π£ Custom Head Textures
- π» GitHub
- π Downloads
- π§ Modrinth
- π» GitHub Releases
- π¬ Discord Server