ItemTriggersCommand Plugin

Discussion in 'Plugin Requests' started by TedTheGamerYT, Oct 29, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    TedTheGamerYT

    Plugin Catagory: Fun (Simple too :D)

    Suggested name: ItemTriggersCommand

    What I want: I'd A plugin that allows you to give players items via command, and when the right click the item, it triggers a command. When a player right clicks the item, it will NOT be removed from the players inventory (I guess you could also make it in config as keepInventoryItem: true/false). Also when the player right clicks it, make a configurable message show up ONLY for that player.
    Use <player> for the player.

    Ideas for config:
    (ItemID - A name for the item to be used in commands):
    minecraftID:
    useMessage: ""
    commands:
    -
    -

    Ideas for commands: /itc give <player> <itemID> (ItemID is not a Minecraft or Bukkit ID, it will be the ID used in the config)

    Ideas for permissions: No permissions needed.

    When I'd like it by: ASAP.
    Thank you :)
     
  2. Offline

    Scimiguy

    Like essentials /powertool?
     
  3. Offline

    TedTheGamerYT

    Yes, but you need a specific item to use it. This is so that if i made paper a powertool, the whole server now has access to it.
     
  4. Online

    timtower Administrator Administrator Moderator

    @TedTheGamerYT I have a plugin that lets you put the commands on an item with a command, then it puts the command in the lore.
    Could compile it if you want it.
     
  5. Offline

    TedTheGamerYT

    Yes, but just make sure that if I put /give player minecraft_diamond 64 on paper, then no one else can just get any piece of paper and execute the command. It has to be a specific piece of paper from the config.
     
  6. Online

    timtower Administrator Administrator Moderator

    @TedTheGamerYT The plugin looks at the lore on the item, that is specific per itemstack.
    Not sure if I have the player variable though.
     
  7. Offline

    TedTheGamerYT

    thats fine, players on my server won't have permission to add lores.
     
  8. Offline

    TedTheGamerYT

    will this ever be done?
     
  9. Online

    timtower Administrator Administrator Moderator

    Forgot about it, player variable is %player%
    Code:
    commands:
      ItemBind:
        description: Binds an command to an item
        usage: /ItemBind <command without / >
      ItemUnBind:
        description: Unbinds all lores
        usage: /ItemUnBind
    Need to be OP to use or know the format to use it.
    This runs commands from the player, not the console.
    https://www.dropbox.com/s/ye3t7xd19jxhzt8/ItemCommandLikeMe.jar
     
  10. Offline

    OkinawaBoss

  11. Offline

    TedTheGamerYT

  12. Offline

    OkinawaBoss

    @TedTheGamerYT I added the player variable and automatically has a glow. Sorry but for now I'm not going to add glow to the config. It might be something that I can add later but I would have to rewrite part of the plugin.
     
    Last edited: Nov 8, 2015
  13. Offline

    TedTheGamerYT

    What is the player variable? I can't get it to work
     
  14. Offline

    OkinawaBoss

Thread Status:
Not open for further replies.

Share This Page