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.2.0
Approved
Direct Download How to install?
Switch version
212 Downloads / 1152 Total
4 Reviews
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! You can also make the plugin check for a custom name set in the config! 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:
    "Name": "Custom-Name"
    "Effects":
        - [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:0":
    "Name": "§aAwesome §6Steak"
    "Effects":
      - [15,1,10]
      - [5,2,30]
  "260:0":
    "Effects":
      - [1,3,15]
      - [16,1,0]

Non-Consumables:
  "6:3":
    "Effects":
      - [2,1,60]
      - [12,1,30]
      - [1,3,5]
  "40:0":
    "Name": "§bLuck §cMushroom"
    "Effects":
      - [2,1,5]
What's new §
  • Added custom names support
  • Remove var_dump()s
  • Fix non-consumables not being removed
  • Updated formatting
  • 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

will07ptu
using v1.2.0
01 Jul 20
Xeno is great, He's made awesome plugins, He helped me with slappers for 1.16, 5/5
Xenophilicy
11 Jul 20
Haha thanks! Dylan wouldn't agree, though. He just believes that's common knowledge :)
TowerFallGaming
using v1.1.0
29 Jun 20
Super good! I make it so raw foods always give hunger! Amazing 5/5
Xenophilicy
11 Jul 20
Thanks for the 5 stars! Glad it works for you!
TWRRR
using v1.1.0
31 Mar 20
epic
Xenophilicy
03 Apr 20
Thanks!!
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.15.0
License §
Categories:
General
Fun
Miscellaneous

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

Loading...