BottleRecycling - good for getting rid of bowls in KitPvP! 2.0.0

Useful for KitPvP!! You can get rid of the empty bottle/bowl after you drink the pot/soup.

  1. User's individual recycling state is now saved in individual file.

    vk2gpz
    User's individual recycling state is now saved in individual file.
  2. added ItemConsumeEventPriority option.

    vk2gpz
    added ItemConsumeEventPriority option.
  3. checks bottle/soup item in hand.

    vk2gpz
    checks bottle/soup item in hand.
  4. added extra NP sanity check.

    vk2gpz
    added extra NP sanity check.
  5. added RecycleType option

    vk2gpz
    added RecycleType option

    Code (Text):

    #if this option is not specified, GLASS_BOTTLE and BOWL will be automatically added.
    RecycleType:
      - GLASS_BOTTLE
      - BOWL
     
  6. added handling of NPE.

    vk2gpz
    added handling of NPE.
  7. added "DefaultMode" option

    vk2gpz
    added "DefaultMode" option.

    Code (Text):

    # if DefaultMode is true, the bottle recycling mode is turned on by default.
    # otherwise, a player would need to turn it on via toggle command.
    DefaultMode: true
     
    Elijah likes this.
  8. supports stacked potion bottles.

    vk2gpz
    supports stacked potion bottles.
  9. added bottle/soup checking

    vk2gpz
    added bottle/soup checking
  10. Refund option is now implemented

    vk2gpz
    If you set "AllowRefund: true", when the empty bottle/bowl is recycled, the player get refund.

    Refund is executed through the command specified in the config.yml. You can refund in $, token,exp, etc. depending on the command you use.