CommandUtils - Command alias, delay, and other handy stuff


#1

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.


How can I make an alias for a command?
Custom Commands / Aliases
How to set a really simple command alias?
#2

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)


#3

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.


#4

Is there a command to reload CommandUtils’ config?


#5

The default /sponge plugins reload does it.


#6

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


Changes:

  • Fixed bug with aliases

#7

Will you add cooldowns for custom commands?


#8

Yeah, I will do this somehow.


#9

Please upgrade for API 7.0.


#10

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

#11

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


#12

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


Changes:

  • Added server startup commands feature

#13

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


Changes:

  • Removed forgotten debug message

#14

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.


#15

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.


#16

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


Changes:

  • Fixed crash when PlaceholderAPI wasn’t installed

#17

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


Changes:

  • Fixed a crash

#18

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>

#19

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


Changes:

  • Fixed bug

#20

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


Changes:

  • Fixed a bug where commands got out of order