Right Click Gives Item

Introduction

Configure a block type, such that, when it's right clicked, the user receives the item set in configuration

Optionally, you can destroy the block that is right-clicked once the user receives their item, and/or you can cancel the original right-click request.

Requirements

None

Configuration

config.yml contains:

  • block_type_that_gives_items: YELLOW_FLOWER
  • item_to_give: GOLD_ORE
  • destroy_block_on_right_click: false
  • cancel_normal_right_click_event: true
  • delay_in_seconds: 5

A full list of block names can be found here: https://github.com/Bukkit/Bukkit/blob/master/src/main/java/org/bukkit/Material.java

Like My Plugin?

Comment and say so! Also, if it's within your means and you feel like doing so, you can donate a bit of beer money to me by clicking "Donate" to the top right.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    89576
  • Created
    Feb 16, 2015
  • Last Released File
    Feb 21, 2015
  • Total Downloads
    828
  • License

Categories

Members

Recent Files