bind commands to items

Discussion in 'Plugin Requests' started by AlzeLemon, Jun 21, 2020.

  1. Offline


    Plugin category: Commands

    Minecraft version: 1.15.2

    Suggested name: CommandsToItems

    What I want: I'd like a plugin that allows me to bind commands to items by their custom display name

    Ideas for commands: No commands needed for this plugin.

    Ideas for config: (example)
    number of items: 1
    item: nether_star
    name: Warp Home
    command: /home

    Ideas for permissions:
    player.canread. Set it to false if they can't read this post.

    When I'd like it by: Like a week
  2. Offline


    Can't do this
  3. Online

    timtower Moderator Moderator

    Yes you can, pretty easy as well.
  4. Offline


    This is the plugin



    /cti <player> <itemId> <amount(must be greater than 0)> - Permission: cti.giveitem
    /cri - this command reloads the config - permission - Permission: cit.reloadconfig

    You can add as many items as you want as long as you follow the example model that i left you in the config.
    Setting an item isInfinite = false that means that, that item will lose 1 charge(For example you have two Home Stars and isInfinite is set to false, than when you right click,or left click, it will execute the command and the player will lose one Home Star, so set it to true if you don't want that or put it to false if you want to have 1 time use items)

Share This Page