Sueta
IT

ItemCommands

1.2.0

Easily customizable item commands!

·Plugin

This plugin allows you to set any item(s) to run any action(s) you'd like!

Commands & Permissions:
/itemcommands reload -- itemcommands.reload

Config:

#ItemCommands v1.2.0 created by cj89898  
 #  
 #Example config  
 #  
 # Not all options are required.  
 #  
 #items:  
 #  pickaxes: #Name can be anything, just no duplicate names  
 #    materials: #List of materials  
 #      - wood_pickaxe  
 #      - stone_pickaxe  
 #      - iron_pickaxe  
 #      - gold_pickaxe  
 #      - diamond_pickaxe  
 #    left_click_actions: #Actions that are executed when the player left clicks. Full list of actions here: https://github.com/iGabyTM/Util-Actions/#actions  
 #      - '[PLAYER] spawn'  
 #    right_click_actions: #Actions that are executed when the player right clicks. Full list of actions here: https://github.com/iGabyTM/Util-Actions/#actions  
 #      - '[PLAYER] spawn'  
 #    left_click_message: 'You must wait before clicking again!' #Messages that are sent to the player when they are on cooldown  
 #    right_click_message: 'You must wait before clicking again!' #Messages that are sent to the player when they are on cooldown  
 #    disabled_worlds: #Worlds where this item is disabled  
 #      - world_nether  
 #   left_click_cooldown: 20 #Based on ticks (20 per second)  
 #   right_click_cooldown: 20 #Based on ticks (20 per second)  
 #  
 #   
items  :  
  pickaxes  :  
    materials   : 
    - wood_pickaxe 
    - stone_pickaxe 
    - iron_pickaxe 
    - gold_pickaxe 
    - diamond_pickaxe  
    disabled_worlds   : 
    - world_nether  
    left_click_cooldown   :  100  
    left_click_message   :  '&cYou can''t go to spawn yet!'  
    right_click_cooldown   :  20  
    left_click_actions   : 
    - '  [  PLAYER  ]  spawn'  
    right_click_actions   : 
    - '  [  PLAYER  ]  fly'  
  axes  :  
    materials   : 
    - wood_axe 
    - stone_axe 
    - iron_axe 
    - gold_axe 
    - diamond_axe  
    right_click_cooldown   :  20  
    right_click_message   :  '&cYou must wait before clicking again!'  
    right_click_actions   : 
    - '  [  PLAYER  ]  spawn'

Similar projects

Plugin →