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

Pocketmine plugin designed for effects to be given to players when items are consumed.
version 1.0.0
Approved
Direct Download How to install?
165 Downloads / 165 Total
Plugin Description §

Information

HitCount

With this plugin, you are able to assign different effects to items so that when a player consumes that item, they are given the effect for a set duration at a set effect level! All of these options can be set in the items.json file. The format for the item listing can be found in both the config.yml file and down below if you ever get confused. You can also find examples inside the default items.json file. If you would like a video example of the plugin in action, click here

Item Formatting

In JSON, this is how your formatting should look:

{
    "Items":{
        "Item-ID":[
            [Effect-ID,Effect-Amplifier,Effect-Duration]
        ]
    }
}

Item Listing Example

Desired configuration:

  • When steak(364) is consumed, give blindness(15) level 1 for 10 seconds and strength(5) level 2 for 30 seconds
  • When an apple(260) is consumed, give speed(1) level 3 for 15 seconds and infinite(0) night vision(16) level 1

Configuration in JSON:

{
    "Items":{
        "364":[
            [15,1,10],
            [5,2,30]
        ],
        "260":[
            [1,3,15],
            [16,1,0]
        ]
    }
}
Supported API versions
3.0.0
->
3.9.4
License §
Categories:
General
Fun
Miscellaneous

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

Loading...