[Tnt Command] Gunpowder -> Tnt (1 Command)

Discussion in 'Archived: Plugin Requests' started by ib4est123, Sep 14, 2014.

  1. Offline


    Plugin category: idk

    Suggested name: Ill Change whatever it is so...

    What I want: I'd like to see a plugin that will turn 5 gunpowder to 1 tnt. With a simple /gunpowder command.

    Ideas for commands: /gunpowder -> Turns 5 Gunpowder to 5 Tnt

    Ideas for permissions: null;

    When I'd like it by: I don't think it will take to long so.... Imma say next Saturday.
  2. Offline


    ib4est123 This actually seems pretty easy, maybe I'll do this if I have enough time.
    PapiDimmi likes this.
  3. Offline


    Tbh, it didn't seem hard I just don't know how to multiply w/ java or divide :/ so... If its okay with whoever makes this I am going to take your code and put it in my plugin (Give you credit obv)
  4. Offline

    mrCookieSlime Retired Staff

    Multiply: 1 * 1 = 1
    Divide: 1 / 1 = 1

    Also if you just want code, put it under Plugin Developement.
  5. Offline


    Idk how I would get the gunpowder to multiply it by 5 to get the tnt...
  6. Offline

    mrCookieSlime Retired Staff

    new ItemStack(Material.SULPHUR, 5);
  7. Offline


  8. Offline

    mrCookieSlime Retired Staff

    There are methods in Bukkit which are working well, but as there are so many you may not find the one you want to use right away.

Share This Page