Skip to content

CMI command cooldowns stopped working after update to 9.8.7.5 #10282

@tabatintores

Description

@tabatintores

Description of Issue

Summary

After updating CMI to version 9.8.7.5, command cooldowns no longer work for players. Commands listed in the Cooldowns.List section can be executed repeatedly without waiting for the configured cooldown time.

Environment

  • Plugin version: 9.8.7.5
  • Server software: Purpur
  • Minecraft version: 1.21.11

Steps to Reproduce

  1. Configure command cooldowns in CMI with cooldowns enabled:

    Cooldowns:
      Enabled: true
      List:
      - pvpon:60
      - pvpoff:60
      - /wand:60
      - cmi heal:180
      - cmi god:60
      - cmi gm:5
      - cmi feed:120
      - cmi ext:30
      - cmi repair:3600
      - cmi repair_:3600
      - cmi repair all:3600
      - cmi repair all_:10800
      - cmi inv:60
      - cmi inv_:60
      - cmi ec_:60
      - cmi tpahere:1800
      - cmi suicide:1800
      - cmi broadcast:300
      - cmi time day:3600
      - cmi weather sun:3600
      - co near:5
    
  2. Start the server with CMI version 9.8.7.5.

  3. Join as a player and execute one of the listed commands, for example cmi heal.

  4. Execute the same command again immediately.

Actual Behavior

  • The command can be executed again immediately.
  • The configured cooldown is not applied.
  • This appears to affect all configured command cooldowns.

Expected Behavior

  • CMI should block repeated command usage until the configured cooldown time has passed.
  • Players should receive the normal cooldown behavior/message when attempting to use a command too soon.

Impact

  • Players can bypass intended command limitations.
  • Commands such as heal, feed, repair, god, inventory access, ender chest access, time/weather commands, and teleport-related commands can be spammed or reused without delay.
  • This negatively affects server balance, moderation control, and gameplay restrictions.

Additional Notes

  • The issue started after updating to CMI 9.8.7.5.
  • Cooldowns are enabled in the configuration.
  • No custom workaround or fix is being suggested here; this report only describes the observed behavior.

Version Information

9.8.7.5

Errors

Relevant Config Sections

Relevant Plugins

No response

Agreements

  • My server is supported by CMI.
  • My version of CMI at the time of this report is up to date.
  • I have searched the github and asked around before making this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportReports of bugs/inconsistencies

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions