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

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

  1. Offline


    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).

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

    To use, create a dispenser and a block under it. The block under that should be a sign, like this:
    The text on the sign should be as follows:
    For an example:
    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
    The source code is included in the .jar (/com/awesomevilleserver/SimpleVend/)

    Planned Changes
    None so far :)

    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


    Hmm... items with spaces doesn't seem to work for me. I used underscores too.



  3. Offline


    They work with underscores. I've done it many times..
  4. Offline


    Thank you :)
  5. Offline


    Well, it doesn't work for me.

    Here is a video of it:

  6. Offline


    Hi there,
    First off I just want to say thanks for such an awesome plugin!
    I have a very small server that only myself and my kids use and needed a use for the money we have been earning since getting iconomy and jobs working on our server.
    I had the same problem mentioned by a few others a few posts back where we got all our vending machines set up and working correctly but no money was deducted from our accounts no matter what I did.
    I finally found a way around it by adding a negative node ('-simplevend.free') to groups.yml in my world folder in permissions.
    Everyting is now working perfectly as intended!
    I hope this helps out others with the same issue I was having. I have no idea how to fix it if permissions isn't used though.
    Just as a side note ChargeOps: true in config.yml definitely did not work for me.

    I'm using Permissions 3.1.6, Jobs 2.3.2 and iConomy 5.0.1
    if it helps anyone.
  7. Offline


  8. Offline


    How do i create a vending machine? im confused
  9. Offline


    From top to bottom:
    For sign text put:
  10. Offline


    Hi, im new at the plugins for minecraft but i want to ask!
    When i buy 64 stone for 10 dollars (or whatever it is) i have the same money before and after and i want to make that to I want to take money when purchasing materials
    plz help me
  11. Offline


    I need to know what economy you are using, and you most likely are either OP (which gets the materials for free), or are using Permissions and have the .* node, which includes simplevend.free. Basically, if you de-op yourself you will be charged.
  12. Offline


    I´m using iConomy v5.x and i dont use permissions and even the node i already tried to deop me myself but i go to try again if it work i edit this post
    Edit: it already worked! thx so much!
    One more question normal people with no Op how can have more money?
  13. Offline

    Nove Lenducten

    does the money go to anyone or does it just disapear...?
  14. Offline


    This is an awesome plugin Im just havin an issue Im trying to get it to charge me "an OP'" I've messed around with config file and set the ChargeOps: true but it still wont charge me.
  15. Offline


    What is happening with the Colored Wool.Is there any chance to be in the plugin ?
  16. Offline


    Just use the item ID
  17. Offline


    Can you update this plugin for Craftbukkit 1000 ? THANKS ! :D
    It's a great plugin, don't forget to get it still alive! :)
  18. Offline


    can you fix damage items like colored wool we are all waiting on it but you sad i make it soon. and like that... but it never comes! were is it?!?!?!!?!?!?!?!
  19. Offline


    this is great. i have been looking for a stable command-free shop and im pretty sure this is it now. i am not being charged though (admin), but other users are (default). i have permissions 316, here are my permissions:

            default: false
                prefix: '&4'
                suffix: '&f'
                build: true
                - '*'
                - -simplevend.free
    and my cfg:

    ChargeOps: true
    SingularCurrency: Gold
    PluralCurrency: Gold
    i did not add anything for default user permissions but it works fine for them (they are charged, but they can not make shop signs). as a test i de-op'ed myself and restarted the server (and checked ops.txt to make sure i was not listed). i double checked the permissions wiki to make sure i was removing the simplevend.free node properly. im not sure what else to do.

    thanks for any suggestions or help you can offer me, and for this plugin. aside from this issue its perfect for my server and i will likely keep using it whether or not i can sort this problem out.

    if you cant wait, why not do it yourself. the source is right there for everyone to look at. im sure you could learn to make a simple change like that pretty quick instead of wasting all this time crying about it ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  20. Offline


    possibility to change "dollar" to own currency would be nice!
  21. Offline


    its in the cfg. mine is set to 'gold' and it works fine.

    ChargeOps: true
    SingularCurrency: Gold
    PluralCurrency: Gold
  22. Offline


    Hey, not quite sure whats wrong. But I have a Default group in Permissions for all those that just are able to build. And I am trying to set up a 'free start up' section in the spawn and I can get stuff out of it, and my other admin can, but those in the default group can't :/ I'm not sure whats wrong.
  23. Offline


    money does NOT get charged you dont have to pay
    please fix
  24. Offline


    hi does simplevend conflict with essential? without essential i can create [VEND] signs,but when i load in essentials they say:"you are not allow to do this".when i remove essential again it work...please help me

    hi i have a prroblem ,it is that my essential is preventing me from making [VEND] signs([VEND] signs is in a plugin called simplevend) i have bukkit build 1000 and essential build 2.5.6 and version 1.3 simple vend

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  25. Offline


    I'm really looking to see if dyes will be implemented. Not wool, but the dyes themselves. Mostly Lazuli and cocoa beans. I would really appreciate having this in the mod, thanks for your time.
  26. Offline


    15:30:24 [GRAVE] Could not pass event PLAYER_INTERACT to SimpleVend
    at org.bukkit.inventory.ItemStack.setType(ItemStack.java:70)
    at com.awesomevilleserver.SimpleVend.SVPL.onPlayerInteract(SVPL.java:80)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:63)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:458)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

  27. Offline


    My money never changes when i type /money and people can buy infinite. The only thing in my permissions file written is "simplevend.create" and i have iconmy5 or what ever. What did i do wrong? I just got the 2 mods, and played.
  28. Offline


    This is amazing, thank you. Running CB1060.
  29. Offline

    King Pyro

    i agree to
  30. Offline


    THIS IS AWESOME!!! I LOVE YOU captainawesome7. I made a vending machine 100 arrows for 1 dollar. and now it acts like a shotgun arrow
  31. Offline


    Did you give up from the plugin ?
    It's such a great plugin and the only problem was that it does't vend wool :/
    I really wanted the version in which it will vend wool and/or arrows :/

Share This Page