ItemCommands icon

ItemCommands -----

Execute commands using items



Description:
  • Assign persistent commands to any item you have in your hand
Commands:
  • /itemcmd relaod: Reloads the config.yml
  • /itemcmd set <text>: Sets a command to the item you have in your main hand
  • /itemcmd set-cooldown <time_in_seconds>: Sets a cooldown to the item you're holding in your main hand (only if the item has a command)
  • /itemcmd remove: Removes the command from the item
  • /itemcmd remove-cooldown: Removes the cooldown from the item
Permissions:
  • itemcommand.reload
  • itemcommand.set
  • itemcommand.remove
Configuration:
  • Code (YAML):
    prefix : '&8 [&bItemCommand&8 ] '

    messages
    :
      no-permission
    : '&cYou cannot use this command.'
      invalid-sender
    : '&cThis command is only for players.'
      command-usage
    : '&eUsage : /itemcmd <reload/set/remove> <command>'
      no-item
    : '&cYou must have an item in your main hand.'
      specify-time
    : '&cYou need to specify a time in seconds.'
      command-set
    : '&aCommand assigned successfully.'
      cooldown-set
    : '&aCooldown to this item has been set to %amount%s.'
      command-remove
    : '&cThe current command has been removed.'
      cooldown-remove
    : '&cThe cooldown to this item has been removed.'
      no-command-found
    : '&cThis item does not have a command assigned.'
      no-cooldown-found
    : '&cThis item does not have a cooldown.'
      item-cooldown
    : '&cYou cannot use this item in %time%s.'
      reload
    : '&aPlugin reloaded successfully.'
Notes:
  • Commands do not need "/" when setting one
  • Commands executed by console must have %player% to set the holder as target
Resource Information
Author:
----------
Total Downloads: 407
First Release: Jul 7, 2022
Last Update: Jul 8, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings