/keyall
also /keytime, /nextkey
Shows the time left until the next giveaway; admins get a menu to run presets.
/keyall/keyall time/keyall menu/keyall now [crate] [amount]/keyall random/keyall info/keyall reload
Gives every online player free crate keys on a timer, and lets admins hand out one-off drops from a menu.
Main commands
/keyall reload/keyall info/keyall reload/keyall menu/keyall now example 3/keyall random/keyall menuWho can see the announcement?
Everyone online except players with dkeyall.mute. Those players still get their keys.
What does the giveaway do when nobody is online?
Nothing is announced. announcement.announce-when-nobody-online is false by default.
Do I need DCrates?
Yes for the default setup. The keys are stored by DCore and only DCrates reads them. With another crates plugin, put its give-key command under rewards.commands.
Menus and messages come from the default DKeyAll files. Run a command, click an example, or pick a menu.
No menu open. Run a command below or pick a menu from the list.
<name> you must fill in[name] optionalword typed as shown
also /keytime, /nextkey
Shows the time left until the next giveaway; admins get a menu to run presets.
/keyall/keyall time/keyall menu/keyall now [crate] [amount]/keyall random/keyall info/keyall reloadWho has each one before you set anything up is in the middle column.
| Permission | Default | Grants |
|---|---|---|
| dkeyall.use | Everyone | Allows /keyall and /keyall time |
| dkeyall.admin | Operators | Allows the /keyall admin menu, /keyall now, /keyall random, /keyall info and /keyall reload |
| dkeyall.mute | Nobody | Hides the giveaway announcement (and its sound and title) |
| dkeyall.receive | Everyone | Reserved for servers that restrict who gets keys - see receive-permission |
| dkeyall.multiplier.2 | Nobody | Doubles this player's key payout |
| dkeyall.multiplier.3 | Nobody | Triples this player's key payout |
| dkeyall.multiplier.4 | Nobody | Quadruples this player's key payout |
| dkeyall.multiplier.5 | Nobody | Quintuples this player's key payout |
plugins/DKeyAll/aliases.yml
'reward_raw'placeholders:dkeyall:'reward_plain': 'reward_raw'
plugins/DKeyAll/settings.yml
Key All: gives every online player crate keys on a schedule (every hour by default), plus presets and milestones. Edit, then run /keyall reload. A setting you delete comes back with its default. Help and support: https://discord.devamy.net or dstudios@devamy.net
ENLanguage of the plugin's texts.
EN = English FR = French ES = Spanish
trueTurn the automatic giveaways on or off.
true = keys are handed out on the schedule below false = the timer stops. /keyall now still works for admins, which helps while you set things up.
'�B5FF&lKEYALL &8| 'Text shown in front of every message. & colours and &#RRGGBB work.
--- Schedule --- When keys are handed out. The schedule follows the real clock, not the server's uptime, so a restart does not delay the next giveaway and a giveaway already handed out is never paid twice.
'interval'How the giveaway times are chosen.
interval = a fixed spacing across the day (see interval-minutes) times = exactly the clock times you list under `times`
60Interval mode: minutes between giveaways, counted from midnight.
60 = every hour, at :00 30 = at :00 and :30 15 = at :00, :15, :30 and :45
Use a number that divides 1440 evenly. Other numbers work, but the last gap before midnight is shorter.
0Interval mode: moves every giveaway later by this many minutes. Example: interval 60 with offset 30 gives :30 instead of :00. Handy to keep giveaways away from your restart time.
Times mode: the exact clock times, in 24-hour HH:mm. Order does not matter. Example: '20:00' = 8 pm. Ignored while mode is interval.
''Which time zone to read the clock in. Example: 'Europe/Berlin' or 'America/New_York'. '' = the machine's own time zone. Set this if your host runs on UTC but your players do not. A wrong name falls back to the machine's zone and logs a warning.
What to do about a giveaway that was missed because the server was offline.
falsetrue = hand out the most recent missed giveaway once, shortly after start-up (never a pile of old ones) false = missed giveaways are skipped
45Seconds after start-up before the catch-up runs. Give players time to join, or nobody is online to get it. Example: 45.
1How often, in seconds, the plugin looks at the clock. 1 makes the giveaway land on the exact second. Higher is fine too.
--- Rewards --- What everybody gets.
allHow a giveaway picks the keys.
all = every player gets every crate listed in `keys` below (the default) random = every player draws ONE crate from the `random` list below, each player on their own
Rank bonuses apply to the drawn amount in both modes. With random and an empty `random` list, the plugin logs a warning and uses all. Presets and milestones keep their own keys and ignore this setting.
Used by `mode: random` and by /keyall random. One line per crate:
weight = how likely it is, compared to the others. 3 is drawn three times as often as 1. min/max = the key amount is drawn between these two numbers, both included.
Example: example is drawn 3 times in 4 for 1 to 2 keys, second 1 time in 4 for exactly 1.
312111Which crate keys to give, and how many of each. Format: crate-id: amount. The id is whatever your crate plugin calls the crate (upper or lower case is the same). To give several crates at once, add lines:
keys:
example: 1
second: 11[]Console commands run once for every receiver. Use this when your crate plugin is not DCrates. Why: the keys above are stored by DCore, and only DCrates reads them. With another crate plugin the giveaway would announce keys but give nothing. You can use: %player% (the receiver) and %amount% (how many keys they got, rank bonus included)
Example: - 'crates key give %player% example %amount%'
[] = only the keys above (right for DCrates).
Nice names for crates in messages. A crate with no line here shows its id.
'�B5FFExample Key''&#FFFFFF%amount%x %crate%'How one crate is written inside %reward%. You can use: %amount% %crate%. Example result: "1x Example Key".
'&#FFFFFF$%amount%'How a money reward is written inside %reward%. You can use: %amount% (short form, like 10K or 1.5M).
'&f, 'Text put between crates when several are given at once.
''Only players with this permission get keys. '' = everybody. This is a filter, not a punishment: muted players still get keys.
Bonus keys for ranks, donors and content creators.
'dkeyall.multiplier.'Permissions that multiply the keys. A player with dkeyall.multiplier.3 gets three times the keys. If a player has several, the largest number wins. '' = switch these off.
5Highest number checked. Example: 5 checks dkeyall.multiplier.5 down to 1. Raise it only together with the matching permissions in plugin.yml.
Named permissions with their own multiplier, for when a numbered node is not what you want to write in your permissions plugin. Example: 1.5 = half again as many keys. The best match wins, also against the numbered ones above.
3.02.0Extra keys added per crate AFTER the multiplier, for "+1 key" perks that should not grow with the base amount. The best match wins.
1'floor'How a fraction (like 1.5 keys) turns into whole keys.
floor = round down (never overpays) round = nearest whole number ceil = round up
1Fewest keys a crate gives after bonuses. A crate set to 0 in `keys` above still gives nothing.
0Most keys a crate gives after bonuses. 0 = no limit. Set one if stacked multipliers could produce silly numbers.
trueHow bonus permissions are checked.
true = a permission the player was never given counts as "no" (recommended) false = ask the server directly, which says "yes" for operators on every permission. Every operator would get the top multiplier.
--- Presets --- Giveaways an admin starts with one click in /keyall. The menu asks to confirm, then gives to everyone online, like /keyall now. Each preset is a name you choose (lower case, no spaces) with these keys:
name = title in the menu and the announcement. Colours allowed.
icon = the menu item, a material name. An unknown one becomes PAPER and is logged.
keys = crate id and amount (crates from rewards.keys). Rank bonuses apply. Leave it out for a money-only preset.
money = coins for every player. Example: 10000 or 10k. Ranks never multiply it. Skipped, with a console warning, if no economy plugin is installed.
commands = optional console commands, run once per receiver (%player% is their name)
kind = optional. How the giveaway is announced (keys, money, points, items, rank, mixed, other, or
a kind you added under announcement.kinds). Left out = worked out from what it gives.
prefix, message, title = optional. This preset's own announcement, in place of its kind's.A preset that gives nothing is logged at start-up and does nothing. Presets an admin creates in the menu are saved in custom-presets.yml, not here.
'&#FF00F8Key Drop'TRIPWIRE_HOOK1'&#FF00F8Cash Drop'GOLD_INGOT10000'&#FF00F8Key and Cash'CHEST15000'&#FF00F8Big Cash Drop'EMERALD100000'&#FF00F8Big Drop'ENDER_CHEST150000true--- Milestones --- A reward for a busy server: when this many players are online, a preset goes to everyone online. Each milestone fires at most once a day. The day ends at midnight in the schedule's time zone, and what already happened is remembered, so a restart cannot repeat it. Vanished staff are not counted. Turn milestones on or off:
true = milestones work false = milestones are ignored
The list of milestones. Each entry has:
players = how many players must be online. Example: 15 preset = which preset (from the list above) is given
If the server is already past several milestones the first time it is checked in a day, all of them run, smallest first. A milestone naming a preset that does not exist is skipped and logged.
keysmoney-100kbig--- Growing milestones --- As the server grows, milestones should stay a goal. When the highest milestones are all reached on the same day, every milestone needs more players from then on. Your numbers above are the starting point; the raises are counted as levels. /keyall milestones shows the current numbers, /keyall milestones reset goes back to yours, /keyall milestones level 2 sets a level by hand.
truetrue = milestones grow with the server. false = they always stay at your numbers.
3How many of the highest milestones must all be reached on one day before the next raise. With fewer milestones than this, all of them. Example: 3.
10Players added to the highest milestone per level. Example: 10 turns a 50 player milestone into 60.
proportionalHow the other milestones rise.
proportional = each rises by its share of top-step (a milestone half the size rises half as much, at least 1) flat = each rises by others-step
3Players added to each other milestone per level. Only used when others is flat.
0Most levels the milestones can rise. 0 = no limit.
0No milestone is raised above this many players. 0 = no cap.
7If the highest milestone is missed this many days in a row, every milestone drops one level (never below your own numbers). 0 = raises last forever.
--- Countdown bar --- A bar at the top of every player's screen that counts down to the next giveaway, so nobody has to type /keyall. It uses the shared status bar of the server, so its colour and style follow the status-bar settings of the core plugin and it yields to more important bars such as combat. Players with the mute permission (announcement.mute-permission) never see it.
truetrue = show the bar false = no bar
300The bar only appears when the next giveaway is this many seconds away or closer, and fills up toward it. Example: 300 = the last five minutes. 0 = always visible, counting the whole gap between giveaways.
--- Bigger giveaways on a busy server --- Scales the keys of the regular scheduled giveaway (and /keyall now and /keyall random) with the number of players online, on top of rank bonuses. Presets and milestones keep their own amounts. Vanished staff are not counted. Fractions are rounded the way rewards.bonus.rounding says, so with 1 key per giveaway and rounding floor you will not see a difference until the factor reaches 2: give out more keys per round or set rounding to round or ceil. Switched off by default, so nothing changes until you turn it on.
falsetrue = scale the giveaway with the number of players online false = every giveaway pays the same however many are online
10Players online up to this number get the normal amount. Example: 10.
2Each player online above free-players adds this percent to every key amount. Example: 2 with 30 online and free-players 10 is 20 players over, so 40 percent more.
100The most the scaling can add, in percent. Example: 100 = never more than double. Set one, or a huge crowd could produce a huge payout.
--- Announcement --- The chat message everyone sees when keys are handed out.
'dkeyall.mute'Players with this permission see and hear nothing of the giveaway, but still get their keys. '' = nobody is muted.
truePut empty chat lines above and below the broadcast so it stands out. false = quieter chat.
falseAnnounce even when nobody was online to receive keys?
false = no (nobody would read it, and it only fills the console) true = yes
trueWrite every giveaway to the server console.
What a giveaway is called depends on what it gives, so a money-only preset is announced as a money drop and not as keys. The plugin works the kind out from the giveaway itself:
it gives crate keys = keys it gives money = money a reward command matches one of a kind's `commands` below = that kind a reward command matches nothing = other
A giveaway that is more than one kind (keys and money, say) uses `mixed`. To pick the kind yourself, give a preset `kind: money` (or any kind below). A preset can also set its own `prefix`, `message` and `title`, which win over everything here. For each kind:
prefix = the start of the chat line, in place of the normal prefix. '' = the normal prefix. message = the chat line. '' = messages.announce. You can use: %reward% %players% title = the big title, when title.enabled is true. '' = title.text below. commands = a reward command containing any of these words counts as this kind. Not case sensitive.
Add your own kinds the same way, like a `crate-drop` with commands: ['crates give'].
'''''''GF521&lMONEY DROP &8| ''&fEveryone online just got GF521%reward%&f!''GF521&lMONEY DROP''�B5FF&lPOINTS DROP &8| ''&fEveryone online just got free points!''�B5FF&lPOINTS DROP''�B5FF&lITEM DROP &8| ''&fEveryone online just got free items!''�B5FF&lITEM DROP''&#FF00F8&lRANK DROP &8| ''&fEveryone online just got a rank upgrade!''&#FF00F8&lRANK DROP''&#FF00F8&lMEGA DROP &8| ''&fEveryone online just got &#FF00F8%reward%&f!''&#FF00F8&lMEGA DROP''&#FF00F8&lGIVEAWAY &8| ''&fEveryone online just got a free reward!''&#FF00F8&lGIVEAWAY'A title on the screen of players who received keys.
false'&#FF00F8&lKEYALL'The big title text. You can use: %reward% %amount% %players%
'&fYou received %reward%'10Title timing, in ticks (20 ticks = 1 second). fade-in = appears, stay = stays, fade-out = disappears. Example: 40 = 2 seconds.
4010--- Sounds --- Minecraft sound names. A name set to '' is silent. volume 1.0 is normal; pitch 1.0 is normal, higher is squeakier.
Played for every player who received keys.
'entity.player.levelup'1.01.5Played for everyone who sees the announcement, receivers included. Off by default so the giveaway is not two sounds at once.
''1.01.0Played when a command is refused.
'entity.villager.no'1.01.0--- Command permissions --- Who may use /keyall. '' = everybody.
'dkeyall.use''dkeyall.admin'--- Countdown format --- How the time left is written, in /keyall and in the %dkeyall_next% placeholder (for example on a scoreboard). You can use: %h% %m% %s% (plain numbers) or %hh% %mm% %ss% (two digits, 07 instead of 7)
'%h%h %m%m'Used with one hour or more left. Example: '%h%h %m%m' shows "1h 5m".
'%m%m %s%s'Used with less than an hour left.
'%s%s'Used with less than a minute left.
'-'Shown when no giveaway is scheduled (plugin off, empty schedule).
'HH:mm'How a clock time is written in %at%. Java time pattern.
HH:mm = 20:00 hh:mm a = 08:00 PM HH:mm:ss = 20:00:00
true--- PlaceholderAPI --- Adds %dkeyall_next%, %dkeyall_next_seconds%, %dkeyall_at% and %dkeyall_reward% when PlaceholderAPI is installed.
true = add them false = do not (use this if you read the countdown another way)
--- Messages --- Chat messages. & colour codes and &#RRGGBB work. Each one starts with the prefix. '' turns a message off entirely. A line above a message lists the placeholders you can use in it.
'&fAll online players received a %reward%&f! &7(/keys)'Sent to everyone who is not muted. You can use: %reward% (the base payout, like "1x Example Key") %players% (how many received keys)
''Sent only to a player who got keys, with THEIR own amount. Empty by default: with no bonus it would just repeat the broadcast. Fill it in to tell donors what their rank did. You can use: %reward% %amount% %multiplier% %bonus%
'&7Your rank multiplied that to &#FF00F8%reward%&7.'Used instead of `personal` for players whose payout was raised by a bonus. You can use: %reward% %amount% %multiplier% %bonus%
'&#FF00F8&lKEYALL &7next keys in &f%time%'The countdown bar (see countdown-bar). You can use: %time% (like "4m 10s") %seconds% %at% %reward%
'&fNext key giveaway in &#FF00F8%time% &7(at %at%)&f.'/keyall and /keyall time. You can use: %time% (like "39m 10s") %seconds% %at% (like "20:00") %date% %zone% %reward%
'&7No key giveaway is scheduled right now.'Shown instead of next-run when nothing is scheduled.
'&#FFFFFFrandom crate key'What %reward% says in the announcement when everyone drew their own crate (rewards.mode: random).
'&#FF4D6DThere is nothing to draw. Add crates under rewards.random in settings.yml.'/keyall random while rewards.random has no usable entry.
'&fGiveaway triggered by hand - &#FF00F8%players% &fplayer(s) received keys.'/keyall now. You can use: %players% (how many received keys)
'&fSettings reloaded. Next giveaway at &#FF00F8%at%&f.'/keyall reload. You can use: %at% (the next giveaway)
'&fSchedule &7(%zone%)&f:'/keyall info. You can use: %zone%
'&7Times: &f%slots%'You can use: %slots% (the clock times, separated by commas)
'&7Payout: &f%reward%'You can use: %reward% %players%
'&7Next: &f%at% &7(in %time%)'You can use: %time% %at% %date%
'&7Last: &f%slot%'You can use: %slot% (the last giveaway handed out, or "never")
'&#FF5555You are not allowed to do that.'You can use: %permission% (the one that was missing)
'&#FF5555Unknown option &f%input%&#FF5555. Try /keyall time.'You can use: %input% (what the player typed)
'&7/keyall time &8- &ftime until the next giveaway''&7/keyall now [crate] [1-64] &8- &fhand out keys immediately''&#FF4D6D%crate% is not a crate here. Known: &f%crates%'/keyall now named a crate that is not in rewards.keys. You can use: %crate% %crates%
'&#FF4D6DThe amount must be a whole number from 1 to 64.'/keyall now <crate> <amount> with an amount outside 1 to 64.
'&7/keyall info &8- &fshow the schedule''&7/keyall reload &8- &fre-read settings.yml''&#FF00F8%players% players &fare online! Everyone received %rewards%&f.'Sent when a milestone is reached. You can use: %players% (the milestone's player count) %preset% (its name) %rewards% (what everybody got)
'&fThe server keeps growing! Milestones now go up to &#FF00F8%top% players&f.'Sent when the milestones grow. You can use: %level% (the new level) %top% (players the highest milestone needs now)
'&fMilestones &7(level %level%)'/keyall milestones (admin). You can use: %level% %players% (needed now) %base% (your number) %preset% %state%
'&#FF00F8%players% players &7(set: %base%) &f%preset% &7- %state%''&fMilestones set to level &#FF00F8%level%&f.''&7Use &f/keyall milestones [reset|level <number>]&7.''&#FF4D6DThat preset no longer exists.'Admin menu messages. You can use: %preset% (the preset's name)
'&fPreset %preset% &fdeleted.''&fPreset %preset% &fsaved. It is in the admin menu now.''&7Preset creation cancelled.''&#FF4D6DA preset has to give keys or money. Nothing was saved.''&#FF4D6DThe menu can only be opened by a player.''&fType the preset name in chat. Colour codes work. &7(cancel to stop)'Questions for Create Preset. The admin answers in chat and can type cancel at any point. You can use: %crates% (the crates from rewards.keys)
'&fType the keys as crate:amount, e.g. &#FF00F8example:1 second:2&f, or &#FF00F8none&f. Crates: %crates% &7(cancel to stop)''&fType the money each player gets, e.g. &#FF00F850k&f, or &#FF00F80&f for none. &7(cancel to stop)''&#FF4D6DThe name has to be 1 to 32 characters. Try again or type cancel.''&#FF4D6DThat does not look right. Use crate:amount, for example example:1 second:2, or none. Try again or type cancel.''&#FF4D6DType an amount like 5000 or 50k, or 0 for none. Try again or type cancel.''Preset name'Sign titles, used instead of the three chat questions above when DCore's text-input mode is sign (about 15 characters per line fit). The name and keys signs have two lines to type on.
'crate:amount''Money each''0 for none'# Key All: gives every online player crate keys on a schedule (every hour by default), plus presets and# milestones.# Edit, then run /keyall reload. A setting you delete comes back with its default.# Help and support: https://discord.devamy.net or dstudios@devamy.net# Used by updates. Do not edit.config-version: 1# Language of the plugin's texts.# EN = English# FR = French# ES = Spanishlanguage: EN# Turn the automatic giveaways on or off.# true = keys are handed out on the schedule below# false = the timer stops. /keyall now still works for admins, which helps while you set things up.enabled: true# Text shown in front of every message. & colours and &#RRGGBB work.prefix: '�B5FF&lKEYALL &8| '# --- Schedule ---# When keys are handed out. The schedule follows the real clock, not the server's uptime, so a restart# does not delay the next# giveaway and a giveaway already handed out is never paid twice.schedule:# How the giveaway times are chosen.# interval = a fixed spacing across the day (see interval-minutes)# times = exactly the clock times you list under `times`mode: 'interval'# Interval mode: minutes between giveaways, counted from midnight.# 60 = every hour, at :00# 30 = at :00 and :30# 15 = at :00, :15, :30 and :45# Use a number that divides 1440 evenly. Other numbers work, but the last gap before midnight is shorter.interval-minutes: 60# Interval mode: moves every giveaway later by this many minutes.# Example: interval 60 with offset 30 gives :30 instead of :00. Handy to keep giveaways away from your# restart time.interval-offset-minutes: 0# Times mode: the exact clock times, in 24-hour HH:mm. Order does not matter.# Example: '20:00' = 8 pm. Ignored while mode is interval.times:- '12:00'- '18:00'- '20:00'# Which time zone to read the clock in. Example: 'Europe/Berlin' or 'America/New_York'.# '' = the machine's own time zone. Set this if your host runs on UTC but your players do not.# A wrong name falls back to the machine's zone and logs a warning.timezone: ''# What to do about a giveaway that was missed because the server was offline.catch-up:# true = hand out the most recent missed giveaway once, shortly after start-up (never a pile of old ones)# false = missed giveaways are skippedenabled: false# Seconds after start-up before the catch-up runs. Give players time to join, or nobody is online to get# it. Example: 45.delay-seconds: 45# How often, in seconds, the plugin looks at the clock. 1 makes the giveaway land on the exact second.# Higher is fine too.check-interval-seconds: 1# --- Rewards ---# What everybody gets.rewards:# How a giveaway picks the keys.# all = every player gets every crate listed in `keys` below (the default)# random = every player draws ONE crate from the `random` list below, each player on their own# Rank bonuses apply to the drawn amount in both modes. With random and an empty `random` list, the plugin# logs a warning and uses all. Presets and milestones keep their own keys and ignore this setting.mode: all# Used by `mode: random` and by /keyall random. One line per crate:# weight = how likely it is, compared to the others. 3 is drawn three times as often as 1.# min/max = the key amount is drawn between these two numbers, both included.# Example: example is drawn 3 times in 4 for 1 to 2 keys, second 1 time in 4 for exactly 1.random:example:weight: 3min: 1max: 2second:weight: 1min: 1max: 1# Which crate keys to give, and how many of each. Format: crate-id: amount.# The id is whatever your crate plugin calls the crate (upper or lower case is the same).# To give several crates at once, add lines:# keys:# example: 1# second: 1keys:example: 1# Console commands run once for every receiver. Use this when your crate plugin is not DCrates.# Why: the keys above are stored by DCore, and only DCrates reads them. With another crate plugin the# giveaway would announce keys but give nothing.# You can use: %player% (the receiver) and %amount% (how many keys they got, rank bonus included)# Example: - 'crates key give %player% example %amount%'# [] = only the keys above (right for DCrates).commands: []# Nice names for crates in messages. A crate with no line here shows its id.display-names:example: '�B5FFExample Key'# How one crate is written inside %reward%. You can use: %amount% %crate%. Example result: "1x Example Key".entry-format: '&#FFFFFF%amount%x %crate%'# How a money reward is written inside %reward%. You can use: %amount% (short form, like 10K or 1.5M).money-entry-format: '&#FFFFFF$%amount%'# Text put between crates when several are given at once.entry-separator: '&f, '# Only players with this permission get keys. '' = everybody.# This is a filter, not a punishment: muted players still get keys.receive-permission: ''# Bonus keys for ranks, donors and content creators.bonus:# Permissions that multiply the keys. A player with dkeyall.multiplier.3 gets three times the keys.# If a player has several, the largest number wins. '' = switch these off.numeric-permission-prefix: 'dkeyall.multiplier.'# Highest number checked. Example: 5 checks dkeyall.multiplier.5 down to 1. Raise it only together with# the matching permissions in plugin.yml.numeric-highest-checked: 5# Named permissions with their own multiplier, for when a numbered node is not what you want to write in# your permissions plugin.# Example: 1.5 = half again as many keys. The best match wins, also against the numbered ones above.permissions:'dkeyall.bonus.creator': 3.0'dkeyall.bonus.vip': 2.0# Extra keys added per crate AFTER the multiplier, for "+1 key" perks that should not grow with the base# amount.# The best match wins.flat-permissions:'dkeyall.bonus.plus1': 1# How a fraction (like 1.5 keys) turns into whole keys.# floor = round down (never overpays)# round = nearest whole number# ceil = round uprounding: 'floor'# Fewest keys a crate gives after bonuses. A crate set to 0 in `keys` above still gives nothing.minimum: 1# Most keys a crate gives after bonuses. 0 = no limit. Set one if stacked multipliers could produce silly# numbers.maximum: 0# How bonus permissions are checked.# true = a permission the player was never given counts as "no" (recommended)# false = ask the server directly, which says "yes" for operators on every permission. Every operator would get the top multiplier.strict-permission-check: true# --- Presets ---# Giveaways an admin starts with one click in /keyall. The menu asks to confirm, then gives to everyone# online, like /keyall now.# Each preset is a name you choose (lower case, no spaces) with these keys:# name = title in the menu and the announcement. Colours allowed.# icon = the menu item, a material name. An unknown one becomes PAPER and is logged.# keys = crate id and amount (crates from rewards.keys). Rank bonuses apply. Leave it out for a money-only preset.# money = coins for every player. Example: 10000 or 10k. Ranks never multiply it. Skipped, with a console warning, if no economy plugin is installed.# commands = optional console commands, run once per receiver (%player% is their name)# kind = optional. How the giveaway is announced (keys, money, points, items, rank, mixed, other, or# a kind you added under announcement.kinds). Left out = worked out from what it gives.# prefix, message, title = optional. This preset's own announcement, in place of its kind's.# A preset that gives nothing is logged at start-up and does nothing.# Presets an admin creates in the menu are saved in custom-presets.yml, not here.presets:keys:name: '&#FF00F8Key Drop'icon: TRIPWIRE_HOOKkeys:example: 1money:name: '&#FF00F8Cash Drop'icon: GOLD_INGOTmoney: 10000mixed:name: '&#FF00F8Key and Cash'icon: CHESTkeys:example: 1money: 5000money-100k:name: '&#FF00F8Big Cash Drop'icon: EMERALDmoney: 100000big:name: '&#FF00F8Big Drop'icon: ENDER_CHESTkeys:example: 1money: 50000# --- Milestones ---# A reward for a busy server: when this many players are online, a preset goes to everyone online.# Each milestone fires at most once a day. The day ends at midnight in the schedule's time zone, and what# already happened is# remembered, so a restart cannot repeat it. Vanished staff are not counted.# Turn milestones on or off:# true = milestones work# false = milestones are ignoredmilestones-enabled: true# The list of milestones. Each entry has:# players = how many players must be online. Example: 15# preset = which preset (from the list above) is given# If the server is already past several milestones the first time it is checked in a day, all of them run,# smallest first.# A milestone naming a preset that does not exist is skipped and logged.milestones:- players: 15preset: keys- players: 30preset: money-100k- players: 50preset: big# --- Growing milestones ---# As the server grows, milestones should stay a goal. When the highest milestones are all reached on the# same day,# every milestone needs more players from then on. Your numbers above are the starting point; the raises# are counted as levels.# /keyall milestones shows the current numbers, /keyall milestones reset goes back to yours, /keyall# milestones level 2 sets a level by hand.milestone-growth:# true = milestones grow with the server. false = they always stay at your numbers.enabled: true# How many of the highest milestones must all be reached on one day before the next raise. With fewer# milestones than this, all of them. Example: 3.trigger-top: 3# Players added to the highest milestone per level. Example: 10 turns a 50 player milestone into 60.top-step: 10# How the other milestones rise.# proportional = each rises by its share of top-step (a milestone half the size rises half as much, at least 1)# flat = each rises by others-stepothers: proportional# Players added to each other milestone per level. Only used when others is flat.others-step: 3# Most levels the milestones can rise. 0 = no limit.max-raises: 0# No milestone is raised above this many players. 0 = no cap.cap-players: 0# If the highest milestone is missed this many days in a row, every milestone drops one level (never below# your own numbers). 0 = raises last forever.lower-after-days: 7# --- Countdown bar ---# A bar at the top of every player's screen that counts down to the next giveaway, so nobody has to type /keyall.# It uses the shared status bar of the server, so its colour and style follow the status-bar settings of the core# plugin and it yields to more important bars such as combat. Players with the mute permission (announcement.mute-permission)# never see it.countdown-bar:# true = show the bar# false = no barenabled: true# The bar only appears when the next giveaway is this many seconds away or closer, and fills up toward it.# Example: 300 = the last five minutes. 0 = always visible, counting the whole gap between giveaways.show-within-seconds: 300# --- Bigger giveaways on a busy server ---# Scales the keys of the regular scheduled giveaway (and /keyall now and /keyall random) with the number of players online,# on top of rank bonuses. Presets and milestones keep their own amounts. Vanished staff are not counted. Fractions are# rounded the way rewards.bonus.rounding says, so with 1 key per giveaway and rounding floor you will not see a# difference until the factor reaches 2: give out more keys per round or set rounding to round or ceil.# Switched off by default, so nothing changes until you turn it on.online-scaling:# true = scale the giveaway with the number of players online# false = every giveaway pays the same however many are onlineenabled: false# Players online up to this number get the normal amount. Example: 10.free-players: 10# Each player online above free-players adds this percent to every key amount. Example: 2 with 30 online and# free-players 10 is 20 players over, so 40 percent more.percent-per-player: 2# The most the scaling can add, in percent. Example: 100 = never more than double. Set one, or a huge crowd could# produce a huge payout.max-percent: 100# --- Announcement ---# The chat message everyone sees when keys are handed out.announcement:# Players with this permission see and hear nothing of the giveaway, but still get their keys. '' = nobody# is muted.mute-permission: 'dkeyall.mute'# Put empty chat lines above and below the broadcast so it stands out. false = quieter chat.blank-lines: true# Announce even when nobody was online to receive keys?# false = no (nobody would read it, and it only fills the console)# true = yesannounce-when-nobody-online: false# Write every giveaway to the server console.log-to-console: true# What a giveaway is called depends on what it gives, so a money-only preset is announced as a money drop# and not as keys. The plugin works the kind out from the giveaway itself:# it gives crate keys = keys# it gives money = money# a reward command matches one of a kind's `commands` below = that kind# a reward command matches nothing = other# A giveaway that is more than one kind (keys and money, say) uses `mixed`.# To pick the kind yourself, give a preset `kind: money` (or any kind below). A preset can also set its own# `prefix`, `message` and `title`, which win over everything here.# For each kind:# prefix = the start of the chat line, in place of the normal prefix. '' = the normal prefix.# message = the chat line. '' = messages.announce. You can use: %reward% %players%# title = the big title, when title.enabled is true. '' = title.text below.# commands = a reward command containing any of these words counts as this kind. Not case sensitive.# Add your own kinds the same way, like a `crate-drop` with commands: ['crates give'].kinds:keys:prefix: ''message: ''title: ''money:prefix: 'GF521&lMONEY DROP &8| 'message: '&fEveryone online just got GF521%reward%&f!'title: 'GF521&lMONEY DROP'commands:- 'eco give'- 'eco add'- 'money give'- 'economy give'points:prefix: '�B5FF&lPOINTS DROP &8| 'message: '&fEveryone online just got free points!'title: '�B5FF&lPOINTS DROP'commands:- 'points give'- 'points add'items:prefix: '�B5FF&lITEM DROP &8| 'message: '&fEveryone online just got free items!'title: '�B5FF&lITEM DROP'commands:- 'give %player%'- 'minecraft:give'rank:prefix: '&#FF00F8&lRANK DROP &8| 'message: '&fEveryone online just got a rank upgrade!'title: '&#FF00F8&lRANK DROP'commands:- 'lp user'- 'luckperms user'mixed:prefix: '&#FF00F8&lMEGA DROP &8| 'message: '&fEveryone online just got &#FF00F8%reward%&f!'title: '&#FF00F8&lMEGA DROP'other:prefix: '&#FF00F8&lGIVEAWAY &8| 'message: '&fEveryone online just got a free reward!'title: '&#FF00F8&lGIVEAWAY'# A title on the screen of players who received keys.title:enabled: false# The big title text. You can use: %reward% %amount% %players%text: '&#FF00F8&lKEYALL'subtitle: '&fYou received %reward%'# Title timing, in ticks (20 ticks = 1 second). fade-in = appears, stay = stays, fade-out = disappears.# Example: 40 = 2 seconds.fade-in-ticks: 10stay-ticks: 40fade-out-ticks: 10# --- Sounds ---# Minecraft sound names. A name set to '' is silent. volume 1.0 is normal; pitch 1.0 is normal, higher is# squeakier.sounds:# Played for every player who received keys.reward:name: 'entity.player.levelup'volume: 1.0pitch: 1.5# Played for everyone who sees the announcement, receivers included. Off by default so the giveaway is not# two sounds at once.announce:name: ''volume: 1.0pitch: 1.0# Played when a command is refused.error:name: 'entity.villager.no'volume: 1.0pitch: 1.0# --- Command permissions ---# Who may use /keyall. '' = everybody.permissions:use: 'dkeyall.use'admin: 'dkeyall.admin'# --- Countdown format ---# How the time left is written, in /keyall and in the %dkeyall_next% placeholder (for example on a scoreboard).# You can use: %h% %m% %s% (plain numbers) or %hh% %mm% %ss% (two digits, 07 instead of 7)time-format:# Used with one hour or more left. Example: '%h%h %m%m' shows "1h 5m".hours: '%h%h %m%m'# Used with less than an hour left.minutes: '%m%m %s%s'# Used with less than a minute left.seconds: '%s%s'# Shown when no giveaway is scheduled (plugin off, empty schedule).none: '-'# How a clock time is written in %at%. Java time pattern.# HH:mm = 20:00# hh:mm a = 08:00 PM# HH:mm:ss = 20:00:00clock-format: 'HH:mm'# --- PlaceholderAPI ---# Adds %dkeyall_next%, %dkeyall_next_seconds%, %dkeyall_at% and %dkeyall_reward% when PlaceholderAPI is# installed.# true = add them# false = do not (use this if you read the countdown another way)placeholderapi: true# --- Messages ---# Chat messages. & colour codes and &#RRGGBB work. Each one starts with the prefix. '' turns a message off# entirely.# A line above a message lists the placeholders you can use in it.messages:# Sent to everyone who is not muted. You can use: %reward% (the base payout, like "1x Example Key")# %players% (how many received keys)announce: '&fAll online players received a %reward%&f! &7(/keys)'# Sent only to a player who got keys, with THEIR own amount. Empty by default: with no bonus it would just# repeat the broadcast.# Fill it in to tell donors what their rank did. You can use: %reward% %amount% %multiplier% %bonus%personal: ''# Used instead of `personal` for players whose payout was raised by a bonus. You can use: %reward%# %amount% %multiplier% %bonus%personal-bonus: '&7Your rank multiplied that to &#FF00F8%reward%&7.'# The countdown bar (see countdown-bar). You can use: %time% (like "4m 10s") %seconds% %at% %reward%countdown-bar: '&#FF00F8&lKEYALL &7next keys in &f%time%'# /keyall and /keyall time. You can use: %time% (like "39m 10s") %seconds% %at% (like "20:00") %date%# %zone% %reward%next-run: '&fNext key giveaway in &#FF00F8%time% &7(at %at%)&f.'# Shown instead of next-run when nothing is scheduled.next-run-none: '&7No key giveaway is scheduled right now.'# What %reward% says in the announcement when everyone drew their own crate (rewards.mode: random).random-reward: '&#FFFFFFrandom crate key'# /keyall random while rewards.random has no usable entry.random-empty: '&#FF4D6DThere is nothing to draw. Add crates under rewards.random in settings.yml.'# /keyall now. You can use: %players% (how many received keys)manual-run: '&fGiveaway triggered by hand - &#FF00F8%players% &fplayer(s) received keys.'# /keyall reload. You can use: %at% (the next giveaway)reloaded: '&fSettings reloaded. Next giveaway at &#FF00F8%at%&f.'# /keyall info. You can use: %zone%info-header: '&fSchedule &7(%zone%)&f:'# You can use: %slots% (the clock times, separated by commas)info-times: '&7Times: &f%slots%'# You can use: %reward% %players%info-reward: '&7Payout: &f%reward%'# You can use: %time% %at% %date%info-next: '&7Next: &f%at% &7(in %time%)'# You can use: %slot% (the last giveaway handed out, or "never")info-last: '&7Last: &f%slot%'# You can use: %permission% (the one that was missing)no-permission: '&#FF5555You are not allowed to do that.'# You can use: %input% (what the player typed)unknown-subcommand: '&#FF5555Unknown option &f%input%&#FF5555. Try /keyall time.'# The next lines are the /keyall help list.usage-menu: '&7/keyall menu &8- &fopen the admin menu'usage-time: '&7/keyall time &8- &ftime until the next giveaway'usage-now: '&7/keyall now [crate] [1-64] &8- &fhand out keys immediately'# /keyall now named a crate that is not in rewards.keys. You can use: %crate% %crates%unknown-crate: '&#FF4D6D%crate% is not a crate here. Known: &f%crates%'# /keyall now <crate> <amount> with an amount outside 1 to 64.bad-amount: '&#FF4D6DThe amount must be a whole number from 1 to 64.'usage-info: '&7/keyall info &8- &fshow the schedule'usage-reload: '&7/keyall reload &8- &fre-read settings.yml'# Sent when a milestone is reached. You can use: %players% (the milestone's player count) %preset% (its# name) %rewards% (what everybody got)milestone: '&#FF00F8%players% players &fare online! Everyone received %rewards%&f.'# Sent when the milestones grow. You can use: %level% (the new level) %top% (players the highest milestone# needs now)milestones-raised: '&fThe server keeps growing! Milestones now go up to &#FF00F8%top% players&f.'# /keyall milestones (admin). You can use: %level% %players% (needed now) %base% (your number) %preset%# %state%milestones-header: '&fMilestones &7(level %level%)'milestones-line: '&#FF00F8%players% players &7(set: %base%) &f%preset% &7- %state%'milestones-level-set: '&fMilestones set to level &#FF00F8%level%&f.'milestones-usage: '&7Use &f/keyall milestones [reset|level <number>]&7.'# Admin menu messages. You can use: %preset% (the preset's name)preset-gone: '&#FF4D6DThat preset no longer exists.'preset-deleted: '&fPreset %preset% &fdeleted.'preset-saved: '&fPreset %preset% &fsaved. It is in the admin menu now.'create-cancelled: '&7Preset creation cancelled.'create-empty: '&#FF4D6DA preset has to give keys or money. Nothing was saved.'player-only: '&#FF4D6DThe menu can only be opened by a player.'# Questions for Create Preset. The admin answers in chat and can type cancel at any point. You can use:# %crates% (the crates from rewards.keys)prompt-name: '&fType the preset name in chat. Colour codes work. &7(cancel to stop)'prompt-keys: '&fType the keys as crate:amount, e.g. &#FF00F8example:1 second:2&f, or &#FF00F8none&f. Crates: %crates% &7(cancel to stop)'prompt-money: '&fType the money each player gets, e.g. &#FF00F850k&f, or &#FF00F80&f for none. &7(cancel to stop)'invalid-name: '&#FF4D6DThe name has to be 1 to 32 characters. Try again or type cancel.'invalid-keys: '&#FF4D6DThat does not look right. Use crate:amount, for example example:1 second:2, or none. Try again or type cancel.'invalid-money: '&#FF4D6DType an amount like 5000 or 50k, or 0 for none. Try again or type cancel.'# Sign titles, used instead of the three chat questions above when DCore's text-input mode is sign# (about 15 characters per line fit). The name and keys signs have two lines to type on.sign-name: 'Preset name'sign-keys: 'crate:amount'sign-money: 'Money each'sign-money-subtitle: '0 for none'
DCore
PlaceholderAPI, Vault.
Paper 1.21 or newer, and forks like Purpur and Leaf. Folia is supported. Java 21 or newer.