CommandItem

Abandoned
Force players to have a certain item in their hand to use a command

Force players to have a certain item in their hand to use a command, Want to require players to have a clock in their hand to do /time? Want them to hold an Eye of Ender to teleport? Now you can!

CommandItem!

Features

  • Require an item to be held in order to use a command
  • Set a custom message when they aren't holding the item
  • %Item% variable to easily show what item they must hold!
  • Support for colorcodes! Do note that instead of ยง symbol you may use the & symbol as shown in the configuration example

Installation

Just simple drag'n'drop.

Configuration

Easy as pie!

# Example usage
commands:
  YourCommand: ItemId
  YourSecondCommand: ItemId
messages:
  YourCommand: "Custom message!"
  YourSecondCommand: "&4This one is red and tells you that what item you need. %item%"

Commands

  • /commanditem reload

Reloads your configuration

Permissions

  • commanditem.admin

Allows you to use the /commanditem reload command

Source

https://github.com/ammaraskar/CommandItem

Bugs and feature requests!

Please submit a ticket!

The CommandItem Team

profile avatar
  • 2
    Projects
  • 35.1K
    Downloads

More from AmmarAskarView all