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 applied to players when items are interacted with or consumed.
version 1.1.0
Approved
Direct Download How to install?
Switch version
111 Downloads / 468 Total
1 Review
Plugin Description §

Information

HitCount

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


In the config, this is how your formatting should look:

"Item-ID:Item-Damage":
    - [Effect-ID,Effect-Amplifier,Effect-Duration]
    - [Effect-ID,Effect-Amplifier,Effect-Duration]
    - [Effect-ID,Effect-Amplifier,Effect-Duration]

Listing Example

Desired configuration:

  • When steak(ID = 364) is consumed, give blindness(ID = 15) level 1 for 10 seconds and strength(ID = 5) level 2 for 30 seconds
  • When an apple(ID = 260) is consumed, give speed(ID = 1) level 3 for 15 seconds and night vision(ID = 16) level 1 infinitely(0)
  • When interacting with a jungle sapling(ID = 6:3), give slowness(ID = 2) level 1 for 60 seconds, fire resistance(ID = 12) level 1 for 30 seconds, and speed(ID = 1) level 3 for 5 seconds
  • When interacting with a red mushroom(ID = 40), give slowness(ID = 2) level 1 for 5 seconds

Configuration in config.yml:

Consumables:
  "364":
    - [15,1,10]
    - [5,2,30]
  "260":
    - [1,3,15]
    - [16,1,0]

Non-Consumables:
  "6:3": 
    - [2,1,60]
    - [12,1,30]
    - [1,3,5]
  "40":
    - [2,1,5]
What's new §
  • Update v1.1.0
    • Add support for non-consumable items
    • Converted JSON item listing to YAML for easier formatting
    • File 'items.json' is no longer supported

louise76
using v1.1.0
09 Feb 20
nice:)
Xenophilicy
12 Feb 20
Thanks bro :)

Reply to review by :

Supported API versions
3.0.0
->
3.11.4
License §
Categories:
General
Fun
Miscellaneous

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

Loading...