a plugin to right click your pickaxe to sell

Discussion in 'Plugin Requests' started by F64_Rx, Feb 22, 2015.

Thread Status:
Not open for further replies.
  1. you could hook it up to sell using permissions and you could make it so you can disable it using a command /picksell on/off
    /picksell to show all commands
    permission : picksell.help
    /picksell reload
    permission : picksell.reload
    /picksell off
    permission : picksell.off
    /picksell on
    permission : picksell.on
    right click on mouse will allow you to sell you would need picksell.use to allow you to right click

    permissions for selling
    so in the config you can add the shops that sell via quicksell plugin and the permissions for quicksell you can use for the selling so if you had a shop that was for [A] the permission using quicksell is QuickSell.shop.A this means you can sell at the a shop so if you had permission just for that you can only sell at that and everytime your rankup i can make it so it takes QuickSell.shop.A away and adds QuickSell.shop.B ect
    you could add into the config something like this http://pastebin.com/7ue5S3py and more depending on how many ranks you have thanks
    you would need to make sure the user would be able to sell when the pickaxe is in the hand

    in the config i would need to have it so it can only be used on certain worlds to you could make it
    worlds:
    - world etc

    thanks to @mrCookieSlime
    In case someone wants to hook it into QuickSell:
    Shop shop = Shop.getHighestShop(player);
    shop.sellall(player, "");

    QuickSell will do the rest of it.
    in the config you can edit the sell message what pops up each time you try to sell and if you dont have anthing in your inv then you would get not enough items to sell
    the message could be you have sold {blocks} for {price} using /picksell to disable this feature do /picksell off
    so im not that good at explaining :/
    hopefully it can be made if you need anything else just asked below and ill reply as soon as.
    So people with a prison server can sell by right clicking so if you right click with items in your hand then you can sell them you could hook it Into quicksell so it collects the correct prices to sell for need any more information I'll do my best
     
    Last edited: Feb 23, 2015
  2. @F64_Rx I Dont really get the point of the Plugin ;( Please explain ;)
     
  3. So people with a prison server can sell by right clicking so if you right click with items in your hand then you can sell them you could hook it Into quicksell so it collects the correct prices to sell for need any more information I'll do my best ☺

    I'll explain the permissions more once I get home

    edited the OP with more detail about the permissions and shops

    EDIT by Timtower: merged posts
     
    Last edited: Feb 23, 2015
  4. Offline

    mrCookieSlime

    In case someone wants to hook it into QuickSell:

    Shop shop = Shop.getHighestShop(player);
    shop.sellall(player, "");

    QuickSell will do the rest of it.
    As well as sending the messages, applying Boosters, using Backpacks, etc...
     
  5. thanks
     
  6. anyone please also if you need help hooking into quicksell ask @mrCookieSlime for help :)
     
  7. so u are using QuickSell?
     
  8. so U just want to right click your pickaxe and it runs the sell cmd?
     
  9. @TheGamesHawk2001 Run 2 lines of code.

     
    Last edited by a moderator: Feb 26, 2015
  10. yes so if you have the permission to right click your pickaxe then you can sell and when you rankup the prices will change so if you went from rank a to rank b then the prices select the highest price that you have and will sell all items from quicksell hope this made sense lol
     
  11. Offline

    Apotheose

    He told you what to do
     
  12. could any dev make this please
     
  13. close dont need it now
     
  14. Online

    timtower Administrator Administrator Moderator

    Locked on request
     
Thread Status:
Not open for further replies.

Share This Page