Global Command Bound Items

Discussion in 'Archived: Plugin Requests' started by PhillyCheezsteak, Jun 4, 2014.

  1. Plugin category: Admin Tools

    Suggested name: (Anything the creator of the plugin wants to name it)

    What I want:
    * Config that can support multiple items with global commands
    * Item ID/Data Value support
    * Items able to have multiple commands in config
    * Randomizing feature in config so an item can run a single random command
    * Item commands overriding permissions. An example of this would be if a player does not have essentials.warp, but the item has a warp command attached to it. The player can still warp only when right clicking that item with the command attached to it.
    * An option in the config to remove the item after use.

    Ideas for commands: No commands needed for this plugin. Everything in the config.

    Ideas for permissions: Permission to use items that have commands

    When I'd like it by: As soon as possible please

    If you have any questions please reply. Thank you for reading :)
     
  2. Offline

    DotDash

  3. This plugin will not work because I do not want players to join in with these items. It also does not meet the requirements I listed above. Thank you for the reply though.
     
  4. Offline

    Me4502

    CraftBook can do all of this but the randoms, but you can request that feature on youtrack.sk89q.com
     
  5. I tried going on that website you linked, but I am having issues putting my request in. I researched craftbook and it has an large amount of commands and features. Would there be a way for me to either remove or disable a large amount of it is a more light-weight plugin?
     
  6. Offline

    Me4502


    Nothing is enabled by default, the plugin is incredibly lightweight as you choose what parts of it are enabled.
     
  7. I researched the plugin and I sadly cannot use it since you have to create an item id with the command bound to it instead of it being bound to the original minecraft item id for that item. Thank you for the request, but sadly I cannot use it since I need the plugin to use the official item id, instead of having to create another one.
     
  8. Offline

    Me4502


    It doesn't create a new item id, you use an existing item ID.
     
  9. oh really? from what I saw in your video you had to create a new id for your command item. do you have a tutorial on creating a command item using a current item id?
     
  10. Offline

    Me4502

    In the video, I used the id of brick. It's not possible to do it with a non existing item ID, the ID must exist.
     
  11. In the video it asked to create a new "unique item id" for the brick. You created the item id "Awesome Brick." So it creates a separate item id instead of bounding the command to the original id of the brick. This is a problem since I cannot have mobs drop customized item id's. So say if I created a brick exactly like your "awesome brick" and made creepers drop bricks. The bricks would not be bounded with those commands. That is why I need a plugin that binds global commands to the original and actual minecraft item.
     
  12. Offline

    Me4502

    Oh, that's not an item ID. That's just an identifier for the CommandItem entry, for internal plugin identification.
     
  13. Ah alright. Sorry for the confusion. Yeah that is what I am talking about though.
     
  14. Would anyone be willing to make this plugin? I would really appreciate it. If you need anymore info please reply to the thread.
     
  15. Offline

    Me4502


    So yeah, in the video it was assigning the commands to the item held in my hand, any items that match that item in the hand the command works on.
     
  16. I am so confused right now. So the ID of a clay brick in minecraft is 336. IF a creeper would drop the item ID 336 (brick) would the commands work for ANY brick with the original minecraft ID of 336? So if I was in creative or survival and got/made a brick, would the commands work?
     
  17. Offline

    Me4502

    Yes. If you wanted it to only work for some bricks, you can give them a custom name, lore, etc, and then it'll only work for bricks with that specific name and lore.
     
  18. I have tested out your plugin and it does not work for what I need it for. I made a command item (Item1), I gave it the command Warp Town1, and the command works, BUT when I put in the item ID I created for the creeper drop, it says the item ID does not exist. I even tried the original brick ID and it only drops regular bricks. I am not sure if there is a data value it creates, but it says the item does not exist.
     
  19. Offline

    Me4502


    Can you pastebin your command items file, and your custom drops file?
     
  20. command-items:
    LightningRod:
    item: BLAZE_ROD|Lightning Rod
    commands:
    - strike
    permission-node: lightningrod.use
    run-as: PLAYER
    click-type: CLICK_RIGHT
    delay: 0
    cooldown: 10
    cancel-action: true
    consumed-items:
    - REDSTONE
    consume-self: false
    require-sneaking-state: NONE
    keep-on-death: false
    actions: {}
    Badge1:
    item: X366|CLAY_BRICK (Item 1)
    commands:
    - Warp Town1
    permission-node: ''
    run-as: PLAYER
    click-type: CLICK_RIGHT
    delay: 0
    cooldown: 0
    cancel-action: false
    consumed-items:
    consume-self: false
    require-sneaking-state: NONE
    keep-on-death: true
    actions: {}
     
  21. Online

    timtower Administrator Administrator Moderator

  22. timtower Me4502

    Sorry here you go http://pastebin.com/qP19AkCr

    The commands and the command item works perfectly. The problem I am having is it is not compatible with what I need since I need the command to be attached to the "Original" minecraft item id/data value for that item. Almost like how Powertools work, but I need it to fit the requirements of what I listed above.
     
  23. Offline

    Me4502

    In the CommandItems file, you have the item part set really weirdly. Just set it to 336 if you want it to work on normal bricks.
     

Share This Page