TNT Wand

Discussion in 'Plugin Requests' started by HeroJackPvP, Aug 7, 2018.

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

    HeroJackPvP

    1.8

    What I Want:

    This is an item similar to a Sell-Wand from most factions servers. However this wand crafts tnt.

    When a player right clicks a chest with this wand any gunpowder in the chests will convert to TNT.

    I know there are plugins out there like this but I want the TNT to go straight into the players inventory, even when it fills their inventory, it will overflow and drop on the floor.

    The config must include how many gunpowder per tnt and the cost of each TNT (that can be set to 0)

    The Item is a Gold Hoe
     
  2. Offline

    KarimAKL

  3. Offline

    HeroJackPvP

    Awesome, So how do I obtain the wand?
     
  4. Offline

    KarimAKL

    @HeroJackPvP To me it sounded like it should just be a golden hoe and therefore i made it work with just a golden hoe, anything wrong with that? Should i change it?
     
  5. Offline

    HeroJackPvP

    Ohh shoot.

    Could you make it a special item that could only be summoned by a command (still a golden hoe)

    Non enchanted. Also could you let me edit the name and lore??

    Im sorry but it works great anyway!!

    Also its 1 TNT = 9 Gunpowder (ik its wierd but its what I want)


    Thank You!!
     
  6. Offline

    KarimAKL

    @HeroJackPvP
    1. I'll try and do that now.
    2. I'll make sure to make you able to do that.
    3. What do you mean 1 TNT = 9 gunpowder? If you mean it needs 9 gunpowder in the chest for 1 TNT you should just be able to set the cost in the config.yml file to 9, unless i misunderstood something.
    EDIT: What should the command be? Also, should there be a permission for the command?
     
    Last edited by a moderator: Aug 8, 2018
  7. Offline

    HeroJackPvP

    Ok I thought the cost meant eco.

    /tntwand %player%

    Tnt.admin
     
  8. Offline

    KarimAKL

    @HeroJackPvP
    I see, i didn't really explain that, my bad. :7
    Anyway i'll make this right away! :)
    EDIT: The link in the post above should be updated now but i'll give you the link again, here:
    https://www.dropbox.com/s/q7ob7nvdnhmus3y/TNTWand.jar?dl=0

    Here are some info:
    Commands:
    - /tntwand [player]

    Permission:
    - tnt.admin (used for "/tntwand" command)

    Default config:
    Code:
    Cost: 1
    Name: "Change name in config"
    Lore-Enabled: true
    Lore:
      - "&cRemember you can use color codes!"
      - "&cAnd add more lines if you want!"
    
    Messages:
      No-Perm-Command: "&cYou do not have permission to use this command!"
      No-Player-Found: "&cNo player found."
      No-Argument: "&cYou need to specify a player you want to give the tnt wand to!"
      You-Received-Wand: "&aYou've received a tnt wand from {sender}!"
      You-Gave-Wand: "&aYou've given {player} a tnt wand!"
    Cost being the amount of gunpowder needed for 1 tnt.
    Name and Lore is self explanatory.
    Messages also self explanatory.
    "{sender}" is replaced by the name of the one who gave you a wand.
    "{player}" is replaced by the name of the player you gave a wand.
     
    Last edited by a moderator: Aug 8, 2018
  9. Offline

    HeroJackPvP

    Thank you so much!!!!

    Ill report any bugs

    @KarimAKL
    There is one tiny bug.
    After right clicking the chest it does not give you the tnt until you open the chest then close it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Aug 9, 2018
  10. Offline

    KarimAKL

  11. Offline

    HeroJackPvP

    so now it opens the chest and gives the tnt. Can you make it so the chest doesn't open?
     
  12. Offline

    KarimAKL

Thread Status:
Not open for further replies.

Share This Page