[INACTIVE][ECON] SimpleVend v1.2 - Vending with dispensers + iConomy/3co [860]

Discussion in 'Inactive/Unsupported Plugins' started by captainawesome7, May 28, 2011.

  1. Offline

    captainawesome7

    SimpleVend - Create vending machines with dispensers and iConomy/3co
    Version: 1.2
    SimpleVend is a plugin that somebody requested and I felt that it was about time that I learned how to create a plugin that works with iConomy or 3co. All you do is make a sign 2 blocks under a dispenser that defines what item is given, how many, and how much it costs (not per item, overall).

    Requirements:
    Features:
    • Dispenser vending machine
    • Permissions
    • iConomy 5.x
    • Lightweight
    Usage:
    Usage (open)

    To use, create a dispenser and a block under it. The block under that should be a sign, like this:
    Dispenser
    Grass
    Sign
    The text on the sign should be as follows:
    [VEND]
    itemname
    amount
    cost
    For an example:
    [VEND]
    stone
    1
    10
    The above will dispense 1 stone, and charge the player 10 dollars (or whatever your iConomy currency is). If no itemname is specified, it defaults to stone. If no item amount is specified, it defaults to 1. If no cost is specified, it defaults to 0.

    Video Demo:
    Video (open)



    Permission Nodes:
    • simplevend.create - To make a [VEND] sign
    • simplevend.edit - To edit the inventory of the Dispenser, it clears it on item dispensing anyways
    • simplevend.free - To not charge the player when they get something from the machine
    Downloads:
    The source code is included in the .jar (/com/awesomevilleserver/SimpleVend/)

    Planned Changes
    None so far :)

    Changelog:
    Version 1.2
    • Added 3co support, the plugin works the same
    Version 1.1
    • Added a check to see if the player has enough money, if they don't, they can't buy the item.
    Version 1.0
    • Release
    [​IMG] To me to support my plugins :)
     
    krasi1105, dutstra, Mitsugaru and 3 others like this.
  2. Offline

    irnehhenri

    Hey.
    Could you please make it so peole could sell their stuff with these? So they put the items in the dispenser and they get paid if someone buys it (You could make this configurable with the sign like instead of the item code you must type USER or something :D)?
    I hope you will add this!
     
  3. Offline

    algiuxas

    This wouldn't work with iConomy 6 :( It says Sorry, you don't have enough money every time I try to buy something.
     
  4. Offline

    Master666

    I also wanted to report this. but you already did it
     
  5. Offline

    Lehl

    just some advice or whatever for ppl using permission v.3x as it was in my first try...


    i was setting up the dispensers and everything was working fine with only 1 thing. it just wasnt charging me for the items i checked my group permissions... hmm no .free node there.. i deopped myself.. still not charging...

    thing was in the user config i had the '*' permission by default cu im admin so that was the reason it didnt worked for me;P

    as i can see some of u ppl got the same problem with no charging maybe that could be the reason
     
  6. Offline

    cedrico123

    i have the same problem with Tarmon11 but i have iconomy 6 (celty)...
     
  7. Offline

    CombatWiZ

    This is incompatible with the latest version of iConomy, which is iConomy 6.

    If you want this to work then go to this link.

    http://mirror.nexua.org/iConomy/5.0/

    Remember to delete your iConomy folder so it'll create a fresh one.

    Happy vending =))
     
  8. Offline

    krasi1105

    When I play in my server and I click on the dipenser i have not got enought money but I have 100,000:00.
    Can somebody help me?:(
     
  9. Offline

    TakeMeNL

    Read post above your's

    Why don't you update this plugin :( and make it compatible with iConomy 6 ??
     
  10. Offline

    lolydodo123

    Does it work with Iconomy 6? Does it work with PEX? i did everythign u did on the video, But when people right click it, and left.. Nothing happens
     
  11. Offline

    SissyZ

    Did u add the wool , dye and etc. change so we can sell them ? Please I need it ! If someone finds a way to fix this please tell me :)
     
  12. Offline

    Maiko

    Should make it compatible with Vault :)
     

Share This Page