/dcommands
Manage the command whitelist groups
/dcommands reload/dcommands add/dcommands remove/dcommands list/dcommands import/dcommands dumpNeeds dcommands.admin, operators only by default.

Controls which commands players can see and use. Regular players only get the commands you list, staff get the rest, and a spam limit stops command floods.
Main commands
/dcommands add default rules/dcommands add staff gamemode/dcommands list staff/dcommands dump/dcommands reloadA command I added still does not work. Why?
The command needs its own permission too. DCommands only controls who can see and use it, it does not give the permission.
Can I turn the whitelist off but keep the spam limit?
Yes. Set enabled to false. The groups are ignored but spam protection and the unknown command message still work.
Are commands like /shop:shop blocked too?
Yes while hide-namespaced is true. Players only get the short form.
Can I move over from CommandWhitelist?
Yes. Run /dcommands import. Add overwrite to replace groups that already exist.
Menus and messages come from the default DCommands files. Run a command, click an example, or pick a menu.
This plugin works through commands and chat. Try one below.
<name> you must fill in[name] optionalword typed as shown
Manage the command whitelist groups
/dcommands reload/dcommands add/dcommands remove/dcommands list/dcommands import/dcommands dumpNeeds dcommands.admin, operators only by default.
Who has each one before you set anything up is in the middle column.
| Permission | Default | Grants |
|---|---|---|
| dcommands.admin | Operators | Manage the command whitelist |
| dcommands.bypass | Operators | Use and see every command, ignoring the whitelist |
| dcommands.bypass.cooldown | Nobody | Never limited by the command spam protection |
| dcommands.see-all | Operators | Checked by the plugin but not listed in its plugin.yml, so only operators have it until you grant it. |
plugins/DCommands/aliases.yml
'dcommands.bypass.cooldown''dcommands.bypass'permissions:'dcommands.bypass-cooldown': 'dcommands.bypass.cooldown''dcommands.see-all': 'dcommands.bypass'
plugins/DCommands/hints.yml
Tab completion hints for command arguments. What should the player type next? When they hit tab, show them what goes here. Edit, then run /dcommands reload. Hints here override the command's plugin.yml usage line.
['<player>', '<message...>']How to write an argument hint:
'<player>' = a required value; shown as <player> '[reason]' = an optional value; shown as [reason] '<message...>' = free text to the end of the line (hint shown once at first word) on|off|toggle = a choice with real completions offered to the player reload = a literal subcommand (fixed text, not a variable)
Subcommands: for commands with multiple forms like /mail send, /mail read. Use _ for arguments when no subcommand is given, and [] for subcommands that take no arguments.
mail:
send: ['<player>', '<message...>'] (if they type /mail send <player> <message>)
read: [] (if they type /mail read with no args)
_: [] (if they type just /mail)['<message...>']['<player>', '<message...>'][][][]['[on|off]']['[sign|chat]']['[on|off]']['[on|off]']['<reload|list>']['[colour|off]'][]['<player>']['<player>']['<player>', '<reason...>']['<player>', '<amount>']['[player]']['<player>', '<amount>']['<player>', '<amount>']['<player>', '<amount>']['<name>', '[plural]', '[symbol]'][]['<old>', '<new>']['<player>', '<amount>']['<player>', '<amount>']['<player>', '<amount>']['<player>', '<amount>'][]['<player>', '<crate>', '<amount>']['<player>', '<crate>', '<amount>']['<player>', '<crate>', '<amount>'][][][]['<crate>', '[player]']['<crate>']['<crate>'][]['<crate>', '[amount]']['[crate]']['<player>', '<amount>']['<player>']['<player>']['<price>']['<item...>']['<item...>'][]['<set|list|remove|clear>', '[max-price-each|number]', '[amount]', '[item]']['<text...>'][][][][][]['<order id>']['<order id>']['[hand|handall|all]']['[item|hand|handall]']['[player]'][]['[category]', '[page]'][]['<material>']['<price>', '[item]']['<material>']['<player>', '<material>', '[amount]']['[1-5]']['[player]', '[1-5]']['[1-5]']['<name>'][]['[name]'][]['[name]']['<name>']['<name>']['[name]'][]['<kit>']['<player>', '[kit|all]']['[world]']['[world]']['<player>']['<player>']['[player]']['[player]']['[player]']['[on|off|toggle]']['[on|off]']['[on|off]']['<player>']['<nickname>']['<name>']['<player>']['<team>'][]['<player>']['[team]'][]['<player>', '[reason...]']['<player>', '<duration>', '[reason...]']['<player>']['<player>', '[reason...]']['<player>', '<duration>', '[reason...]']['<player>']['<player>', '[reason...]']['<player>', '[reason...]']['<player|ip>']['<player|ip>', '[reason...]']['<player|ip>', '<duration>', '[reason...]']['<player|ip>']['<player|ip>', '[reason...]']['<player|ip>', '<duration>', '[reason...]']['<player|ip>']['<punish id>']['<type>', '[duration]', '<reason...>']['<player>', '[reason]']['<player|punish id>', '[ban|mute|voicemute|ipban|ipmute|all|punish id]', '[reason...]']['<player>', '[duration]', '<reason...>']['<player>', '<duration>', '[reason...]']['<player|punish id>']['<player>']['<survival|creative|adventure|spectator>', '[player]']['[player]']['[player]']['[player]']['[player]']['[player]']['[player]']['[player]']['[player]']['<0-10>', '[player]']['[player]']['[player]']['<player>']['[player]']['<player>']['[radius]']['<player>', '[target]']['<player>']['<x>', '<y>', '<z>', '[world]', '[yaw]', '[pitch]']['<message...>']['[cancel]']['<name|off|player>', '[name|off]']['[player]']['<player>']['<player>'][]['<player>']['<player>']['[player]']['<player>', '<item>', '[amount]']['<player>', '<enchantment>', '[level]']['<message...>']['<action...>']['<player>']['<player>'][][][][][]['<hologram>']['<name>', '[text...]']['<hologram>']['<hologram>']['<hologram>']['<hologram>']['<hologram>', '<target>']['<hologram>']['<hologram>']['<hologram>', '<option>', '<value>']['<hologram>', '<action>', '[text...]'][]['<player>', '<type>', '[amount]'][][]['<player>', '<tool>', '[amount]', '[uses:<n>]', '[time:<duration>]'][]['<player>', '<tool>', '[amount]', '[uses:<n>]', '[time:<duration>]'][][][]['[player]'][]['[name]', '[on|off]'][][][]['[player]'][]['[name]', '[on|off]'][][]['<money|points|keys|all>'][]['<name>']['<name>'][]['<name>']['<name>']['<name>'][][][]['[radius]'][][][][][]['[time]']['<category>']['<name>', '<category>']['[money|points|kills|deaths|playtime]']['[player]'][]['[player]']['[time|now|info|reload]']['[next|track|compass]']['<user>', '<action>', '[args...]']['<group>', '<action>', '[args...]'][][][]['<on|off|record|upload>']['<user>', '<action>', '[args...]']['<group>', '<action>', '[args...]'][][][]['<on|off|record|upload>']['[channel]', '[message...]']['[on|off]']['[player]']['[on|off|status]']['[zone]']['<link>']['<id>']['<id>']# Tab completion hints for command arguments.# What should the player type next? When they hit tab, show them what goes here.# Edit, then run /dcommands reload. Hints here override the command's plugin.yml usage line.# How to write an argument hint:# '<player>' = a required value; shown as <player># '[reason]' = an optional value; shown as [reason]# '<message...>' = free text to the end of the line (hint shown once at first word)# on|off|toggle = a choice with real completions offered to the player# reload = a literal subcommand (fixed text, not a variable)## Subcommands: for commands with multiple forms like /mail send, /mail read.# Use _ for arguments when no subcommand is given, and [] for subcommands that take no arguments.# mail:# send: ['<player>', '<message...>'] (if they type /mail send <player> <message>)# read: [] (if they type /mail read with no args)# _: [] (if they type just /mail)msg: ['<player>', '<message...>']r: ['<message...>']mail:send: ['<player>', '<message...>']read: []clear: []_: []msgtoggle: ['[on|off]']input: ['[sign|chat]']chattoggle: ['[on|off]']socialspy: ['[on|off]']linkreminders: ['[on|off]']dlinks: ['<reload|list>']chatcolor: ['[colour|off]']ignore:list: []_: ['<player>']unignore: ['<player>']report: ['<player>', '<reason...>']pay: ['<player>', '<amount>']balance: ['[player]']eco:give: ['<player>', '<amount>']take: ['<player>', '<amount>']set: ['<player>', '<amount>']dcurrency:rename: ['<name>', '[plural]', '[symbol]']preview: []command: ['<old>', '<new>']points:pay: ['<player>', '<amount>']give: ['<player>', '<amount>']take: ['<player>', '<amount>']set: ['<player>', '<amount>']_: []keys:give: ['<player>', '<crate>', '<amount>']take: ['<player>', '<crate>', '<amount>']set: ['<player>', '<crate>', '<amount>']_: []crates:reload: []list: []open: ['<crate>', '[player]']edit: ['<crate>']setloc: ['<crate>']delloc: []keyall: ['<crate>', '[amount]']stats: ['[crate]']bounty:add: ['<player>', '<amount>']check: ['<player>']_: ['<player>']ah:sell: ['<price>']watch: ['<item...>']unwatch: ['<item...>']watchlist: []autobuy: ['<set|list|remove|clear>', '[max-price-each|number]', '[amount]', '[item]']search: ['<text...>']history: []mine: []reload: []orders:reload: []list: []info: ['<order id>']remove: ['<order id>']sell: ['[hand|handall|all]']worth: ['[item|hand|handall]']sellhistory: ['[player]']shop:reload: []_: ['[category]', '[page]']dsell:reload: []price: ['<material>']setprice: ['<price>', '[item]']info: ['<material>']give: ['<player>', '<material>', '[amount]']home: ['[1-5]']homes: ['[player]', '[1-5]']sethome: ['[1-5]']delhome: ['<name>']warp:help: []_: ['[name]']pwarp:help: []_: ['[name]']setwarp: ['<name>']delwarp: ['<name>']kit: ['[name]']dkits:reload: []save: ['<kit>']reset: ['<player>', '[kit|all]']rtp: ['[world]']rtpqueue: ['[world]']tpa: ['<player>']tpahere: ['<player>']tpaccept: ['[player]']tpadeny: ['[player]']tpacancel: ['[player]']tpaconfirm: ['[on|off|toggle]']tpatoggle: ['[on|off]']tpaheretoggle: ['[on|off]']trade: ['<player>']nick: ['<nickname>']team:create: ['<name>']invite: ['<player>']join: ['<team>']leave: []kick: ['<player>']info: ['[team]']_: []ban: ['<player>', '[reason...]']tempban: ['<player>', '<duration>', '[reason...]']unban: ['<player>']mute: ['<player>', '[reason...]']tempmute: ['<player>', '<duration>', '[reason...]']unmute: ['<player>']kick: ['<player>', '[reason...]']warn: ['<player>', '[reason...]']history: ['<player|ip>']ipban: ['<player|ip>', '[reason...]']iptempban: ['<player|ip>', '<duration>', '[reason...]']ipunban: ['<player|ip>']ipmute: ['<player|ip>', '[reason...]']iptempmute: ['<player|ip>', '<duration>', '[reason...]']ipunmute: ['<player|ip>']punishinfo: ['<punish id>']punish:custom: ['<type>', '[duration]', '<reason...>']_: ['<player>', '[reason]']unpunish: ['<player|punish id>', '[ban|mute|voicemute|ipban|ipmute|all|punish id]', '[reason...]']voicemute: ['<player>', '[duration]', '<reason...>']tempvoicemute: ['<player>', '<duration>', '[reason...]']voiceunmute: ['<player|punish id>']voicestatus: ['<player>']gamemode: ['<survival|creative|adventure|spectator>', '[player]']gmc: ['[player]']gms: ['[player]']gma: ['[player]']gmsp: ['[player]']fly: ['[player]']heal: ['[player]']feed: ['[player]']god: ['[player]']speed: ['<0-10>', '[player]']clearinventory: ['[player]']enderchest: ['[player]']invsee: ['<player>']vanish: ['[player]']freeze: ['<player>']near: ['[radius]']tp:_: ['<player>', '[target]']tphere: ['<player>']tppos: ['<x>', '<y>', '<z>', '[world]', '[yaw]', '[pitch]']broadcast: ['<message...>']runrestart: ['[cancel]']nick: ['<name|off|player>', '[name|off]']ping: ['[player]']whois: ['<player>']smite: ['<player>']sus:stop: []clear: ['<player>']remove: ['<player>']commandhistory: ['[player]']give: ['<player>', '<item>', '[amount]']enchant: ['<player>', '<enchantment>', '[level]']say: ['<message...>']me: ['<action...>']whitelist:add: ['<player>']remove: ['<player>']'on': []'off': []list: []reload: []holograms:list: []info: ['<hologram>']create: ['<name>', '[text...]']delete: ['<hologram>']tp: ['<hologram>']here: ['<hologram>']center: ['<hologram>']link: ['<hologram>', '<target>']unlink: ['<hologram>']toggle: ['<hologram>']set: ['<hologram>', '<option>', '<value>']line: ['<hologram>', '<action>', '[text...]']reload: []spawners:give: ['<player>', '<type>', '[amount]']reload: []top: []dtools:give: ['<player>', '<tool>', '[amount]', '[uses:<n>]', '[time:<duration>]']reload: []ditems:give: ['<player>', '<tool>', '[amount]', '[uses:<n>]', '[time:<duration>]']reload: []dguard:status: []reload: []log: ['[player]']dupes: []exploits: ['[name]', '[on|off]']alerts: []dprotect:status: []reload: []log: ['[player]']dupes: []exploits: ['[name]', '[on|off]']alerts: []dcore:reload: []import-skript: ['<money|points|keys|all>']afkzone:wand: []create: ['<name>']remove: ['<name>']list: []info: ['<name>']tp: ['<name>']settp: ['<name>']menu: []reload: []lagg:check: []chunks: []area: ['[radius]']killmobs: []clear: []gc: []clearlag:now: []reload: []_: ['[time]']wipe:all: ['<category>']player: ['<name>', '<category>']tags: ['[id|off]']leaderboards: ['[money|points|kills|deaths|playtime]']stats: ['[player]']rules:reload: []_: ['[player]']keyall: ['[time|now|info|reload]']lootdrop: ['[next|track|compass]']lp:user: ['<user>', '<action>', '[args...]']group: ['<group>', '<action>', '[args...]']info: []editor: []sync: []verbose: ['<on|off|record|upload>']luckperms:user: ['<user>', '<action>', '[args...]']group: ['<group>', '<action>', '[args...]']info: []editor: []sync: []verbose: ['<on|off|record|upload>']channel: ['[channel]', '[message...]']mentions: ['[on|off]']retrieveender: ['[player]']randomcoordinates: ['[on|off|status]']afk: ['[zone]']live: ['<link>']dchatview: ['<id>']dmsgview: ['<id>']
plugins/DCommands/settings.yml
DCommands settings: which commands each player can use, hints in tab completion, spam protection. Edit, then run /dcommands reload. A setting you delete comes back with its default.
ENLanguage of the plugin's texts: EN, FR or ES.
falseSet to true by the plugin after it copies your old command settings (spam protection, unknown command message, fix-caps) out of the DCore config. Leave it as it is.
trueShould DCommands hide admin commands from regular players?
true = yes. Players only see and can use the commands listed in their groups (see Groups below).
Anything not listed is hidden from tab completion and refused when typed.
false = no. Players see every command they have permission for. The groups are ignored, but the
spam protection and the unknown command message below still work.Leave this on to keep commands like /stop or /op out of your players' tab list.
'dcommands.bypass'Players with this permission see and can use every command, no matter what the groups say. Give it to your staff ranks. They still need each command's own permission to actually run it.
'dcommands.see-all'A second permission that works exactly like the one above. Players with either one skip the groups. It is the old name of dcommands.bypass, so the two are the same thing.
trueMany commands also exist in a long form with the plugin name in front, like "dshop:shop" next to "shop".
true = the long form is hidden from tab completion and refused when typed. Players only get "shop". false = the long form works too, as long as the short form is in the player's group.
Leave this on: it keeps the tab list short and stops players using the long form to get around a block.
CHATWhere do this plugin's replies appear (the "messages:" section at the bottom, like "command-denied")?
CHAT = in the chat box, with the prefix ACTIONBAR = above the hotbar BOTH = both places
The unknown command and spam protection messages below choose their own places.
--- Tab completion hints --- When a player presses tab in the middle of a command, show what to type next. Example: "/msg Steve " shows <message...>. The hints are written in hints.yml.
trueShould the hints system be active?
true = yes, show hints for command arguments false = no hints at all
trueIf a command has no entry in hints.yml, build the hint from the usage line the command itself declares?
true = yes. Most commands get a hint without you writing one. false = no. Only commands written in hints.yml get a hint.
How an argument name is shown. %name% is replaced by the argument's name.
required = a value the player must type. '<%name%>' shows <player> optional = a value the player can skip. '[%name%]' shows [reason]
'<%name%>''[%name%]'--- Groups --- A group is a list of commands that players may see and use. A player gets every group they have the permission for, and the lists add up.
default = everyone, no permission needed.
any other group = needs the permission dcommands.group.<name> (staff needs dcommands.group.staff).
Set permission: on the group to use a different node, such as a rank permission
you already hand out.To add a group, copy the "staff" block below and change its name. include-default: true means players in the group also get the default commands, which is how it has
always worked. Set it to false for a group that should see only its own list. If a player
has several groups and any of them says false, that player does not get default.
includes: other groups this group pulls in, so a player with this group also gets their commands
without needing their permissions. Example: includes: [builder, helper]. Groups that
include each other are followed only once, so loops do no harm.
commands: command names without the slash. If a command has several names, like home and homes, list each one.subcommands: parts of a command to block even though the command itself is allowed.
Example: 'eco give' blocks "/eco give" but not "/eco balance".
A * stands for any word: '* reload' blocks "reload" on every command.You can also change a group in game: /dcommands add <group> <command>
[]Players with the permission dcommands.group.staff get these commands on top of default.
'dcommands.group.staff'true[][][]--- Unknown command message --- What a player sees when they type a command that does not exist. You can use: %command% (what they typed, without the slash).
truetrue = show the messages below. false = the server's own "Unknown command" text is used.
'�B5FF&lSMP 	B9B9B» &#FF5C5CThis command does not exist! &7(/help)''&#FF5C5C✕ &fUnknown command: &#FF5C5C/%command%''entity.villager.no'Sound played to the player. Any Minecraft sound name. Leave empty ('') for no sound.
1.01.0 = normal loudness.
1.01.0 = normal. Higher = higher sound, lower = deeper sound.
--- Command spam protection --- Stops players (and macros) from sending too many commands too fast. Staff with the bypass permission are not limited.
trueShould spam protection be active?
true = yes, limit burst commands false = no, players can type unlimited commands
12The most commands a player may send inside the time window below. Example: 12 with burst-seconds 3 = at most 12 commands every 3 seconds. The 13th is refused. Raise it if normal players get blocked, lower it if macros get through. 0 = no burst limit.
3.0How long the burst window is, in seconds. Example: 3.0 = count commands over the last 3 seconds.
0.0Seconds a player must wait before using the SAME command again. Applies to every command that is not in the per-command list or the ignored list below. Example: 0.5 = after /home, /home is refused for half a second. 0.0 = no wait (recommended).
{}A different wait for single commands, in seconds. Write the command name without the slash. Example, to give /sellmulti a 3 second wait, replace {} with:
per-command:
sellmulti: 3.0Commands that are never limited, not by the burst limit and not by the waits above. Menus run some commands for the player, so those must not be blocked.
'dcommands.bypass.cooldown'Players with this permission are never limited. Give it to staff. The old name dcommands.bypass-cooldown still works too.
'�B5FF&lSMP 	B9B9B» &#FF5C5CSlow down! &7Try again in &f%time%s&7.'Shown in chat when a command is refused for being too fast. Leave empty ('') to show nothing in chat. You can use: %time% (seconds left to wait) %command%
'&#FF5C5C✕ &fToo fast &8- &#FF5C5C%time%s'The same message above the hotbar. Leave empty ('') for none.
Sound played when a command is refused. Leave id empty ('') for no sound.
'entity.villager.no'1.01.0--- Commands ---
trueShould "/SELL" or "/Home" work like "/sell" and "/home"?
true = yes. A command typed with capital letters is changed to lowercase when the lowercase version exists. false = no. Capitals give "unknown command".
Handy for players on phones whose keyboard capitalises the first letter.
--- Messages --- Chat messages. & colour codes and &#RRGGBB work. Where they show is set by message-display above. The messages for /dcommands (add, remove, list, import, dump) are only seen by admins. You can use: %command% %group% %groups% %count% %commands% %subcommands% %players% (each message uses the ones that fit it).
'&#FF4D6DUnknown command &f- try �B5FF/help''&#FF4D6DYou cannot use that command &f- try �B5FF/help''GF521Reloaded &f- %count% commands in %groups% groups, %players% players refreshed.''&7/dcommands reload | add <group> <command> | remove <group> <command> | list [group] | import [overwrite] | dump''GF521Added &f%command% GF521to &f%group%GF521.''GF521Removed &f%command% GF521from &f%group%GF521.''&#FF4D6D%command% is already in %group%.''&#FF4D6D%command% is not in %group%.''&#FF4D6DNo group called %group%.''�B5FFGroups &f(%groups%)''&7- &f%group%&7: %commands% commands, %subcommands% blocked subcommands''�B5FF%group% &f(%count%)&7: &f%commands%''&#FF4D6DNo plugins/CommandWhitelist/config.yml found - nothing to import.''&#FF4D6DThe CommandWhitelist config has no groups - nothing to import.''GF521Imported &f%groups% GF521groups, &f%commands% GF521commands, &f%subcommands% GF521blocked subcommands.''�B5FF%count% commands in no group&7: &f%commands%''GF521Every registered command is in a group.'# DCommands settings: which commands each player can use, hints in tab completion, spam protection.# Edit, then run /dcommands reload. A setting you delete comes back with its default.# Used by updates. Do not edit.config-version: 2# Language of the plugin's texts: EN, FR or ES.language: EN# Set to true by the plugin after it copies your old command settings (spam protection, unknown# command message, fix-caps) out of the DCore config. Leave it as it is.imported-from-dcore: false# Should DCommands hide admin commands from regular players?# true = yes. Players only see and can use the commands listed in their groups (see Groups below).# Anything not listed is hidden from tab completion and refused when typed.# false = no. Players see every command they have permission for. The groups are ignored, but the# spam protection and the unknown command message below still work.# Leave this on to keep commands like /stop or /op out of your players' tab list.enabled: true# Players with this permission see and can use every command, no matter what the groups say.# Give it to your staff ranks. They still need each command's own permission to actually run it.bypass-permission: 'dcommands.bypass'# A second permission that works exactly like the one above. Players with either one skip the groups.# It is the old name of dcommands.bypass, so the two are the same thing.see-all-permission: 'dcommands.see-all'# Many commands also exist in a long form with the plugin name in front, like "dshop:shop" next to "shop".# true = the long form is hidden from tab completion and refused when typed. Players only get "shop".# false = the long form works too, as long as the short form is in the player's group.# Leave this on: it keeps the tab list short and stops players using the long form to get around a block.hide-namespaced: true# Where do this plugin's replies appear (the "messages:" section at the bottom, like "command-denied")?# CHAT = in the chat box, with the prefix# ACTIONBAR = above the hotbar# BOTH = both places# The unknown command and spam protection messages below choose their own places.message-display: CHAT# --- Tab completion hints ---# When a player presses tab in the middle of a command, show what to type next.# Example: "/msg Steve " shows <message...>. The hints are written in hints.yml.hints:# Should the hints system be active?# true = yes, show hints for command arguments# false = no hints at allenabled: true# If a command has no entry in hints.yml, build the hint from the usage line the command itself declares?# true = yes. Most commands get a hint without you writing one.# false = no. Only commands written in hints.yml get a hint.auto-from-usage: true# How an argument name is shown. %name% is replaced by the argument's name.# required = a value the player must type. '<%name%>' shows <player># optional = a value the player can skip. '[%name%]' shows [reason]format:required: '<%name%>'optional: '[%name%]'# --- Groups ---# A group is a list of commands that players may see and use. A player gets every group they# have the permission for, and the lists add up.# default = everyone, no permission needed.# any other group = needs the permission dcommands.group.<name> (staff needs dcommands.group.staff).# Set permission: on the group to use a different node, such as a rank permission# you already hand out.# To add a group, copy the "staff" block below and change its name.# include-default: true means players in the group also get the default commands, which is how it has# always worked. Set it to false for a group that should see only its own list. If a player# has several groups and any of them says false, that player does not get default.# includes: other groups this group pulls in, so a player with this group also gets their commands# without needing their permissions. Example: includes: [builder, helper]. Groups that# include each other are followed only once, so loops do no harm.# commands: command names without the slash. If a command has several names, like home and homes, list each one.# subcommands: parts of a command to block even though the command itself is allowed.# Example: 'eco give' blocks "/eco give" but not "/eco balance".# A * stands for any word: '* reload' blocks "reload" on every command.# You can also change a group in game: /dcommands add <group> <command>groups:default:commands:- spawn- home- homes- sethome- tpa- tpaccept- tpadeny- msg- r- help- rules- discord- store- balance- pay- shop- sell- worth- ah- bounty- coinflip- cf- games- minigames- crash- jackpot- mines- chatgames- cg- blackjack- bj- roulette- slots- rps- kit- kits- warp- rtp- stats- settings- lootdrop- lootdrops- airdrop- afk- toggleannounce- toggleannouncements- announcetoggle- welcome- wlc- auction- auctionhouse- bounties- bin- trash- dustbin- keys- crates- crate- spawners- nightvision- nv- phantom- killeffect- deatheffect- joineffect- trail- trails- retrieveender- guide- serverinfo- info- media- creator- dc- webshop- buy- socials- social- links- link- serverlinks- linkreminders- website- wiki- map- github- telegram- twitch- youtube- yt- tiktok- apply- applications- staffapply- commands- keyall- keytime- nextkey- bal- money- payments- payalerts- payconfirm- tell- w- whisper- pm- reply- msgtoggle- input- togglemsg- msgblock- chattoggle- togglechat- hidechat- chatmute- ignore- unignore- ignorelist- ignores- chatcolor- chatcolour- cc- channel- mentions- dchatview- dmsgview- orders- order- points- pointshop- pshop- ps- sshop- rtpqueue- duelqueue- rtpqueuetoggle- rtpqtoggle- leavequeue- leave- randomcoordinates- rc- rcords- randomcords- randomteleport- wild- rteleport- rule- sellmenu- prices- itemworth- sellhistory- sellhist- sellmulti- sellmultiplier- sellmultis- worthlore- valuedisplay- sellvalue- sellorders- sellintoorders- toggles- prefs- spawnfly- tpahere- tpaaccept- tpacancel- tpauto- tpaconfirm- tpatoggle- tpaheretoggle- leaderboards- lb- baltop- balancetop- moneytop- tags- tag- team- teams- guild- clan- teamchat- timevote- tvote- vote- votes- votereminders- pwarp- pw- playerwarps- report- mobs- togglemob- mob- mobtoggle- livesubcommands: []# Players with the permission dcommands.group.staff get these commands on top of default.staff:permission: 'dcommands.group.staff'include-default: trueincludes: []commands: []subcommands: []# --- Unknown command message ---# What a player sees when they type a command that does not exist.# You can use: %command% (what they typed, without the slash).unknown-command:# true = show the messages below. false = the server's own "Unknown command" text is used.enabled: truechat: '�B5FF&lSMP 	B9B9B» &#FF5C5CThis command does not exist! &7(/help)'actionbar: '&#FF5C5C✕ &fUnknown command: &#FF5C5C/%command%'sound:# Sound played to the player. Any Minecraft sound name. Leave empty ('') for no sound.id: 'entity.villager.no'# 1.0 = normal loudness.volume: 1.0# 1.0 = normal. Higher = higher sound, lower = deeper sound.pitch: 1.0# --- Command spam protection ---# Stops players (and macros) from sending too many commands too fast. Staff with the bypass permission are not limited.command-cooldown:# Should spam protection be active?# true = yes, limit burst commands# false = no, players can type unlimited commandsenabled: true# The most commands a player may send inside the time window below.# Example: 12 with burst-seconds 3 = at most 12 commands every 3 seconds. The 13th is refused.# Raise it if normal players get blocked, lower it if macros get through. 0 = no burst limit.burst: 12# How long the burst window is, in seconds. Example: 3.0 = count commands over the last 3 seconds.burst-seconds: 3.0# Seconds a player must wait before using the SAME command again. Applies to every command that is# not in the per-command list or the ignored list below.# Example: 0.5 = after /home, /home is refused for half a second. 0.0 = no wait (recommended).default-seconds: 0.0# A different wait for single commands, in seconds. Write the command name without the slash.# Example, to give /sellmulti a 3 second wait, replace {} with:# per-command:# sellmulti: 3.0per-command: {}# Commands that are never limited, not by the burst limit and not by the waits above.# Menus run some commands for the player, so those must not be blocked.ignored:- msg- r- reply- tpaccept- tpadeny# Players with this permission are never limited. Give it to staff.# The old name dcommands.bypass-cooldown still works too.bypass-permission: 'dcommands.bypass.cooldown'# Shown in chat when a command is refused for being too fast. Leave empty ('') to show nothing in chat.# You can use: %time% (seconds left to wait) %command%message: '�B5FF&lSMP 	B9B9B» &#FF5C5CSlow down! &7Try again in &f%time%s&7.'# The same message above the hotbar. Leave empty ('') for none.actionbar: '&#FF5C5C✕ &fToo fast &8- &#FF5C5C%time%s'# Sound played when a command is refused. Leave id empty ('') for no sound.sound:id: 'entity.villager.no'volume: 1.0pitch: 1.0# --- Commands ---commands:# Should "/SELL" or "/Home" work like "/sell" and "/home"?# true = yes. A command typed with capital letters is changed to lowercase when the lowercase version exists.# false = no. Capitals give "unknown command".# Handy for players on phones whose keyboard capitalises the first letter.fix-caps: true# --- Messages ---# Chat messages. & colour codes and &#RRGGBB work. Where they show is set by message-display above.# The messages for /dcommands (add, remove, list, import, dump) are only seen by admins.# You can use: %command% %group% %groups% %count% %commands% %subcommands% %players% (each message uses the ones that fit it).messages:command-denied: '&#FF4D6DUnknown command &f- try �B5FF/help'subcommand-denied: '&#FF4D6DYou cannot use that command &f- try �B5FF/help'reloaded: 'GF521Reloaded &f- %count% commands in %groups% groups, %players% players refreshed.'usage: '&7/dcommands reload | add <group> <command> | remove <group> <command> | list [group] | import [overwrite] | dump'added: 'GF521Added &f%command% GF521to &f%group%GF521.'removed: 'GF521Removed &f%command% GF521from &f%group%GF521.'already-listed: '&#FF4D6D%command% is already in %group%.'not-listed: '&#FF4D6D%command% is not in %group%.'unknown-group: '&#FF4D6DNo group called %group%.'list-header: '�B5FFGroups &f(%groups%)'list-line: '&7- &f%group%&7: %commands% commands, %subcommands% blocked subcommands'list-group: '�B5FF%group% &f(%count%)&7: &f%commands%'import-missing: '&#FF4D6DNo plugins/CommandWhitelist/config.yml found - nothing to import.'import-empty: '&#FF4D6DThe CommandWhitelist config has no groups - nothing to import.'import-done: 'GF521Imported &f%groups% GF521groups, &f%commands% GF521commands, &f%subcommands% GF521blocked subcommands.'dump: '�B5FF%count% commands in no group&7: &f%commands%'dump-empty: 'GF521Every registered command is in a group.'
DCore
Paper 1.21 or newer, and forks like Purpur and Leaf. Folia is supported. Java 21 or newer.