Item Actions icon

Item Actions -----

Elevate your items with one-of-a-kind effects!



Item Actions allows you to create items that have unique properties, or that execute specific actions upon click. For example, a stick that sends the player a defined message or a helmet that gives the player night vision.

NOTE: This plugin requires APIByLogic, download here.

Confused? Read the WIKI or join my Discord!

Commands:
  • /itemactions - View command help. (Permission: itemactions.help)
  • /itemactions reload - Reload the configuration and loaded items. (Permission: itemactions.reload)
  • /itemactions give <player> <item> - Give a player Action Item(s). (Permission: itemactions.give)
Default Configuration:

Code (YAML):
# Message Configuration
Messages
:
  Cooldown-Message
: "&cYou cannot use that action again yet!"

# General Configuration
Items
:
  SpeedPickaxe
: # The name of the item action, can be anything
    Type
: "INTERACT" # The type of action item this is. Valid Types: INTERACT, ARMOR
    Cooldown
: 60 # The cooldown before they can run the action again, this is in seconds.
    Bypass-Permission
: "itemactions.speedpickaxe.bypass" # The permission to bypass the cooldown.
    # Any information under this must be matched for the action to run from the item.
    # It is recommended to just use the 'data-key' field for items, because it's the safest.
    Item
:
      # A list of materials, if the item matches any it will be valid, learn more here (https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html)
      materials
:
       - "DIAMOND_PICKAXE"
      name
: "&eSpeed Pickaxe" # The items name
      # A custom key that can be added to any item/entity, learn more here (https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/persistence/PersistentDataContainer.html)
      # MUST be formatted plugin-name:data-key.
      data-key
: "itemactions:speed_pickaxe"
      # The data value type
      # Currently supports: INTEGER, STRING and DOUBLE
      data-type
: "STRING"
      # The value of the data
      # Must match the data-type field, for example INTEGER must be an integer.
      # You still must make below value a string though, so even if it's an integer it would still be "1"
      data-value
: "1"
    Requirements
:
      # The actual actions required to activate this item action (https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/block/Action.html)
      action-types
:
       - "RIGHT_CLICK_AIR"
      permission
: "itemactions.speedpickaxe" # The permission required to use this action, can be removed if no permission is needed
    Actions
: # Item actions, view valid actions on the wiki (https://wiki.justugh.net/resources/item-actions/actions)
      - "PLAY_SOUND:BLOCK_ANVIL_HIT"
      - "RUN_COMMAND:say Must go FAST."
      - "ADD_POTION_EFFECT:speed|3|true|true"
  ZoomyBoots
: # Armor example item, applies speed and negates fall damage when equipped.
    Type
: "ARMOR"
    Item
:
      materials
:
       - "LEATHER_BOOTS"
      name
: "&eZoomy Boots"
      dye-color
: "#FF0000"
      data-key
: "itemactions:zoomy_boots"
      data-type
: "STRING"
      data-value
: "1"
    Actions
:
     - "ADD_POTION_EFFECT:speed|3|true|true"
      - "RUN_COMMAND:say Zoomy Boots Equipped."
      - "NEGATE_FALL_DAMAGE"
    Unequip-Actions
:
     - "REMOVE_POTION_EFFECT:speed"
      - "RUN_COMMAND:say Zoomy Boots Removed."


Please leave a good review!

If you have any issues, please do not leave a negative review, contact me first on Discord (@BitByLogic) to attempt to solve your issue!
Resource Information
Author:
----------
Total Downloads: 348
First Release: Feb 9, 2021
Last Update: Jun 18, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings