CommandUtils - Command alias, delay, and other handy stuff

This is a discussion topic for the Ore project, CommandUtils. View the full project on Ore for downloads and more information.


CommandUtils

This plugin brings you easy and simple command aliases and other handy stuff.

Read the wiki to learn more.

This plugin uses bstats.org which helps me improving the user experience by collecting anonymous data. You can disable this in config/bstats/config.conf.

For quick help join my Discord server.

2 Likes

How does it save the commands to be run? If I restart the server will commands which need to be executed still execute after server is back up (ie: Need to run executewhenonline, but player doesnt log in before server restarts.)
If it’s saved in a database, is there mySQL support (that way I could add commands directly to the database, even if the game server is down)

The execute when online commands are saved in config/comand-utils.conf. The list of commands is mapped to the UUID of the player. Therefore it survives server restarts.

Is there a command to reload CommandUtils’ config?

The default /sponge plugins reload does it.

1 Like

A new version has been released for CommandUtils, it is available for download here.


Changes:

  • Fixed bug with aliases

Will you add cooldowns for custom commands?

Yeah, I will do this somehow.

1 Like

Please upgrade for API 7.0.

1 Like

A new version has been released for CommandUtils, it is available for download here.


Changes:

  • Redirected console error message to the command source when the command executor doesn’t have permission

Thanks for the update. The plugin works fine on API7.

A new version has been released for CommandUtils, it is available for download here.


Changes:

  • Added server startup commands feature

A new version has been released for CommandUtils, it is available for download here.


Changes:

  • Removed forgotten debug message

A new version has been released for CommandUtils, it is available for download here.


Changes:

  • The config is split up into 4 files in the folder config/command-utils, the old config will be renamed to command-utils-old.conf and can be deleted when the converting process was successful.

  • All commands are now processed by PlaceholderAPI if it is installed. This enables you to use placeholders like %player_name%.

  • Changed/Added the following commands:

    • Execute commands:
      • /cu execute if <condition> <commands>
      • /cu execute delayed <duration> <command>
      • /cu execute whenOnline <user> <command>
      • /cu execute parsed <user> <command>
    • Condition commands:
      • /cu has payed <user> <costs>
      • /cu has money <user> <money>
      • /cu is before <timestamp>
      • /cu is after <timestamp

You may want to use this pre-release of PlaceholderAPI to run this plugin and use the full functionality: v4.5-pre-randombyte

You can find in depth documentation on the wiki.

A new version has been released for CommandUtils, it is available for download here.


Changes:

  • The config is split up into 4 files in the folder config/command-utils, the old config will be renamed to command-utils-old.conf and can be deleted when the converting process was successful.

  • All commands are now processed by PlaceholderAPI if it is installed. This enables you to use placeholders like %player_name%.

  • Changed/Added the following commands:

    • Execute commands:
      • /cu execute if <condition> <commands>
      • /cu execute delayed <duration> <command>
      • /cu execute whenOnline <user> <command>
      • /cu execute parsed <user> <command>
    • Condition commands:
      • /cu has payed <user> <costs>
      • /cu has money <user> <money>
      • /cu is before <timestamp>
      • /cu is after <timestamp

You may want to use this pre-release of PlaceholderAPI to run this plugin and use the full functionality: v4.5-pre-randombyte

You can find in depth documentation on the wiki.

A new version has been released for CommandUtils, it is available for download here.


Changes:

  • Fixed crash when PlaceholderAPI wasn’t installed

A new version has been released for CommandUtils, it is available for download here.


Changes:

  • Fixed a crash

A new version has been released for CommandUtils, it is available for download here.


Changes:

  • Added /cu has in hand <player> <item> [quantity]
  • Added /cu has given from hand <player> <item> [quantity] (useful for shops)
  • Added /cu has permission <player> <permission>

A new version has been released for CommandUtils, it is available for download here.


Changes:

  • Fixed bug

A new version has been released for CommandUtils, it is available for download here.


Changes:

  • Fixed a bug where commands got out of order