By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Assign commands to items
version 1.0.0
Approved
Direct Download How to install?
Switch version
3454 Downloads / 4168 Total
5 Reviews
Plugin Description §

Powertools

Assign commands to specific items

There are 2 base permissions: powertools.use and powertools.command. You need the first permission to use powertools and the second one to assign/unassign powertools. It's that simple!

Powertools work a little different in this plugin than they do in java edition. You assign commands to SPECIFIC items and not the id. This way you can share powertools to people to other people (that might only have the permission to run powertools).

API

If, for instance, you want to make this plugin compatible with your plugin (maybe a kit plugin or something) you can do that by making sure you use Powertools with use AndreasHGK\Powertools\Powertools; and then call it by doing this:

$pt = Powertools::getInstance();

/**
* @param item $item
* @param string $command
*
* @return item $item
*/
$pt->enablePowertool($item, $command);

If the item is an existing item, be sure to also add a $sender->getInventory()->setItemInHand($item)

What's new §
  • improved cooldown
  • added a counter for the amount of commands you execute in a row
  • added messages.yml

radledazzler13
using v1.0.0
07 Jul 20
Great Plugin but PLEASE fix permissions.
TowerFallGaming
using v1.0.0
01 Jul 20
The instructions are very confusing and I can't seem to understand. However I see the thought put into this and if u do figure it put (users) then I encourage you to make a ban hammer! Lol
TWRRR
using v1.0.0
02 Apr 20
Hai andreas, its chasebreh35 thx for the epic plugins
Play2KillTV
using v1.0.0
06 Sep 19
Sorry I dont get this plugin
ZZWILLIAMXXTrue
using v1.0.0
26 Apr 19
First comment, and VERY GOOD!
AndreasHGK
06 May 19
Thank you!

Reply to review by :

Supported API versions
3.0.0
->
3.14.0
License §
Categories:
General
Admin Tools
Permissions
Other files
Permissions
Commands

You can leave one review per plugin release, and delete or update your review at any time

Loading...