Skip to content

Commands and Permissions

SicklySurgeon edited this page Oct 27, 2026 · 1 revision

Commands & Permissions

Commands

Command Description Permission
/cdm Shows general help cdm.use
/cdm help [subcommand] Detailed help for a subcommand cdm.use
/cdmhelp [subcommand] Alias of /cdm help cdm.use
/cdm test [broadcast] [victim] <cause> [killer] [source] Previews a death message and prints a summary cdm.test (other players: cdm.test.others)
/cdm reload Reloads config.yml and messages.yml cdm.reload
/cdmreload Alias of /cdm reload cdm.reload
/cdm config validate Validates the current configuration cdm.reload
/cdmconfig validate Alias of /cdm config validate cdm.reload
/cdm broadcast ... Tests broadcast modes for sounds, particles and messages cdm.broadcast
/cdmbroadcast ... Alias of /cdm broadcast cdm.broadcast

/cdm test

/cdm test <cause> [killer] [source]
/cdm test <victim> <cause> [killer] [source]
/cdm test [broadcast] [victim] <cause> [killer] [source] [flags]
  • <cause> is any Bukkit DamageCause name: FALL, FIRE, ENTITY_ATTACK, PROJECTILE, DROWNING...
  • If no cause is given, FALL is used.
  • [victim] must be an online player. Testing on someone else requires cdm.test.others.
  • [killer] and [source] are free text used to fill the placeholders.
  • Flags can appear anywhere in the argument list:
    • broadcast — also sends the message to the real recipients.
    • global — plays the sound and particles globally.
    • global-sound — global sound only.
    • global-particles — global particles only.

Examples:

/cdm test FALL
/cdm test FALL Steve Arrow
/cdm test Steve FALL Alex
/cdm test broadcast Steve ENTITY_ATTACK Alex Diamond_Sword global

/cdm broadcast

/cdm broadcast sound <GLOBAL|WORLD|RADIUS|VICTIM_ONLY> [radius] [sound]
/cdm broadcast particle <GLOBAL|WORLD|RADIUS|VICTIM_ONLY> [radius] [particle]
/cdm broadcast message <GLOBAL|WORLD|RADIUS|VICTIM_ONLY> <message>
/cdm broadcast global <sound|particle|message> [value]
/cdm broadcast modes
/cdm broadcast test
  • VICTIM is accepted as an alias of VICTIM_ONLY.
  • RADIUS requires a radius in blocks.
  • modes shows the available modes and the current values from config.yml.
  • test runs every mode once so you can see who receives each effect.

Examples:

/cdm broadcast sound RADIUS 30 entity.player.death
/cdm broadcast particle GLOBAL EXPLOSION
/cdm broadcast message RADIUS 50 ¡Buenas noches!

Permissions

Permission Default Description
cdm.use true Access to /cdm and /cdm help
cdm.reload op Reloads the configuration and validates it
cdm.test op Uses /cdm test
cdm.test.others op Tests death messages on other players
cdm.broadcast op Uses /cdm broadcast
cdm.bypass false The player stops receiving custom death messages
cdm.admin op Receives plugin update notifications
cdm.message.vip false Uses the vip message group
cdm.message.admin false Uses the admin message group (takes priority over vip)

Group permissions only apply when use-permission-based-messages: true is set in config.yml.

LuckPerms examples

/lp group vip permission set cdm.message.vip true
/lp group staff permission set cdm.message.admin true
/lp user Steve permission set cdm.bypass true

Clone this wiki locally