Plugin Help TntCraft With $$

Discussion in 'Plugin Help/Development/Requests' started by 808sFinest, Apr 21, 2016.

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

    808sFinest

    Hi guys I made this plugin were you convert 5 gunpowder into 1 tnt using /tntc but i also want it remove $100 per tnt crafted. Can someone help me?
     
  2. did u add it into your plugin ??
    can i see some code , like were u use the money ect , cant help if im blind but basically just remove the line were u took the money
    the way u worded ur post makes it seem like u didnt code it !
     
  3. Offline

    mcdorli

    The way you worded your post make it seem like you can't speak english.

    You should use vault, get the player's account, and them withdraw 100$ from it, check out Vault's API docs: https://github.com/MilkBowl/VaultAPI/blob/master/README.md
     
  4. Offline

    808sFinest

    @mcdorli I know how to remove $100 from a player but I want it to remove $100 per tnt crafted/created.
     
  5. why do you have to be rude ?
    im trying to help someone then u come in and be rude

    anyways:
    when u convert the gunpowder into tnt get the amount of tnt that was crafted then times it by 100 then remove the result !
     
  6. Offline

    mcdorli

    I stated, that you shouldn't use SMS language.
     
    teej107 likes this.
  7. prety sure u said i couldnt english but what ever lets focus on the guy who needs help and stop arguing
     
  8. Offline

    teej107

    @808sFinest For every tnt you give when that command is run, just take away $100.
     
  9. Offline

    808sFinest

  10. check for transaction sucsess when u run the command and if it is equal to false dont do anything just return !
    simple vault code !
     
Thread Status:
Not open for further replies.

Share This Page