CommandUtils icon

CommandUtils -----

Provides a multitude of commands and placeholders for server owners.



Many addiions
Additions
New SendActionBar command
- Format: `/sendactionbar <player> <content>`
- `<content>` argument is Greedy, meaning any text after will be included
- Sends the player an ActionBar message using old color code formatting (&a, &e, &l, &b, &1 etc)
New ReplaceRegex Placeholder
- Searches for a regex to be replaced in input string.
- Format: `%stringutils_replaceregex_<input>,<regex>,<replacement>%`
- Example: `%stringutils_replaceregex_Hello World,(H|W),S%` returns `Sello Sorld`
CooldownCommand command new Argument
- Adds a new argument at the front of the command.
- New format: `/cooldowncommand <silent|run|clear|reset|getcd|getcooldown> <player> <id> <ticks> <commands>`
- `silent` will not send the target player a cooldown message if command is on cooldown
- `run` will work as normal
- `clear` and `reset` will reset the cooldown for a command ID. `<ticks>` and `<commands>` not needed for this.
- Running `clear` or `reset` *without* `<id>` will reset *all* cooldowns for a player.
- `getcd` and `getcooldown` will return the cooldown message in chat
- Old alternative format still works: `/cooldowncommand <player> <id> <ticks> <commands>`
Changes
SetItem command reworked
- New format: `/setitem <player> <slot> <itemStack> [<material|custommodeldata|attributemodifiers>]`
- Not having final argument will try to merge the provided itemstack's material and metadata as much as possible
- Providing final argument will specifically only merge the specified argument (material, cmdata, etc)
----------, Dec 28, 2024
Resource Information
Author:
----------
Total Downloads: 172
First Release: Jul 1, 2024
Last Update: Feb 16, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings