CmdRelay

CmdRelay

Automated event engine: execute random commands with weighted chances (%), auto-cooldowns, and dynamic player timers.

186 downloads 3 followers

🚀 CmdRelay

CmdRelay is a lightweight and professional event automation engine for Minecraft servers. It allows you to create automated "Event Groups" that execute random commands based on weighted chances and custom intervals.

✨ Key Features

  • 🎯 Smart Weight System: Add commands with simple weights or use percentages (e.g., 99%). The plugin automatically calculates the math for you.
  • ⏰ Auto-Execution: No manual input needed! Events run on a repeating cycle based on your cooldown settings.
  • ⏳ Dynamic Player Commands: Automatically generates commands like /eventdelay (customizable) so players can check the time remaining until the next event.
  • 🛡 Permission-Ready: Fully compatible with LuckPerms. Separate access for admins and players.
  • ⚡ High Performance: Optimized code using Bukkit Schedulers to ensure your server stays lag-free (Zero TPS impact).

🛠 Commands & Permissions

  • /cmdrelay register <name> — Create a new event type.
  • /cmdrelay addtoevent <name> <chance%> <command> — Add an action to the cycle.
  • /cmdrelay reload — Instantly refresh configuration.
  • Player Command: /<event>delay — Check the cooldown (e.g., /airdropdelay).

Permissions:

  • cmdrelay.admin — Access to all plugin settings.
  • cmdrelay.event.time — Allows players to check event timers.

⚙️ Quick Configuration Example

events:
  airdrop:
    find-out-time-to-left: 'delay' # Creates /airdropdelay
    cooldown: 12000 # 10 minutes in ticks
    actions:
      - command: "broadcast A legendary crate is falling!"
        chance: 90%
      - command: "spawn_boss_mega"
        chance: 10%
Version Minecraft Loader Download

CmdRelay 1.5.0

1.5.0

1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9
paper
Download

CmdRelay 1.4.0

1.4.0

1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6
paper
Download

CmdRelay 1.2.0

1.2.0

1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4
paper
Download

CmdRelay 1.2.0

1.2.0

1.18, 1.18.1, 1.18.2
paper
Download

CmdRelay 1.0.0

1.0.0

1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5
paper
Download

CmdRelay 1.1.0

1.1.0

1.17, 1.17.1
paper
Download

1.0.0 Beta

1.0.0

1.16.5
paper
Download