[INACTIVE][ECON] iAuction v2.5 - auctions for iConomy [440]

Discussion in 'Inactive/Unsupported Plugins' started by Zaraza107, Jan 29, 2011.

  1. Offline

    Zaraza107

    iAuction
    Version: v2.5​

    This is an auctioning plugin for iConomy v4.0 "Kristen". For list of commands use /auction help or /auction ?
    iConomy is required for proper working.
    Permissions and GroupManager plugins are not obligatory.

    Download v2.5 (source included)
    Older versions:
    Show Spoiler


    GitHub

    Commands:
    • /auction help|? - help message
    • /auction start|s <time> <item> <amount> <price> - starts and auction for amount of <time> with <amount> of <item> for <price>.
      NOTE: <item> can be either item's id or name compatible with Bukkit.
    • /auction bid|b <bid> (secret bid) - bids auction with <bid>, if [secret bid] is set and <bid> is greater than current bid, it will automatically bid up when new bid is lower than (secret bid)
    • /auction end|e - ends auction before time's up
      NOTE: only the player who started the auction and Op can end an auction
    • /auction info|i - shows information about current auction
    Installation:
    Put iAuction.jar into plugins folder. After first load it will create iAuction folder in plugins and a configuration file.
    If maximal-time is set to 0 (default), it will be ignored.
    Every color configuration has string value which have to be one of ChatColor colors (below)
    Code:
    black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple, gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white
    permission-system - "permissions" or "groupmanager" (not case sensitive) any other will set permissions system off

    Permissions:
    Code:
    'auction.start' - permission to start an auction
    'auction.bid' - permission to bid an auction
    'auction.end' - override of auction ending for someone who is not Op or auction owner (for example for moderators)
    Changelog:
    Show Spoiler
    Version 1.0
    • first release
    Version 2.0
    • used Nijikokun's fixed version of v1.0, also:
    • changed command handler to onCommand()
    • fixed Permissions support
    • fixed items duplicating bug
    • fixed damaged tool repair (only fully repaired tools can be auctioned)
    • nicer colors :)
    • hopefully, null currency fixed
    Version 2.1
    • added settings for colors and maximal time
    • NumberFormatException in auction bidding fix
    Version 2.2
    • bidding now checks if someone has enough balance
    • namespace fix
    Version 2.3 beta
    • removed constructor
    • some optimization
    • HeroChat support
    • permissions nodes separation
    • invalid item name bug fix
    Version 2.4
    • auction.bid permission node fix
    • update for MC Beta 1.3 (CraftBukkit #432)
    Version 2.5
    • iConomy 4.0 update
    • Permissions 2.3 update
    • GroupManager support added
    • currency does not have to be integer anymore (thanks to iConomy)
    • minor fixes (mostly visual)


    Known Bugs:
    • Op trying to auction kills the server (not always)
    • Disconnected player won't get items
     
    GermanyMember likes this.
  2. Offline

    Lolmewn

    Wonderful! Yay!
     
  3. Offline

    c_dric

    Can't wait to try it [​IMG]
     
  4. Offline

    zingzam

    Awesome and it works perfect [​IMG]
     
  5. Offline

    Nijikokun

  6. Offline

    Azraeil

    How cool!
     
  7. Offline

    pudd1nG

    Would it be possible for people to be unable to auction damaged tools? I guess that may come with the dye update? Thanks!
     
  8. I. Love. You. :D
     
  9. Offline

    Zaraza107

    Well i think so, but I'll add this with Permissions support.
    Colors support is already being tested.
     
  10. Okay, this is really bad :/. I'm running craftBukkit #186 and people can auction stuff they don't have and get that item if no one bids. They're also able to buy stuff with more currency than they have, thus leaving them with negative currency.
     
  11. Offline

    Nijikokun

    If anyone wants my version, It will show up here:
    http://mirror.nexua.org/iAuction/JARS/1.0/ (Source)

    Features:
    • Permission Support
      • auction.end
    • Items.db Support
      • Grab it from General, Cleaner, SimpleShop
    • Cleaner & Easier to read source (Kinda)
    • Utilizes Damage & Data type (Hopefully)
    • Uses nicknames & Better item names from Items.db
    • Better tag / easier on the eyes colors.
     
  12. Offline

    MinehubGaming

    What version of craftbukkit does this run on currently?
     
  13. Offline

    Nijikokun

    All.
     
  14. Offline

    Nulk

    After starting an auction and if you start a new auction right after. If you leave everything the same but change the amount. It dupes the item by the amount you set the second time.

    Ex:
    First : /auction s 300 278 1 100
    second : /auction s 300 278 12 100

    This would take your 1 diamond pickaxe and dupe it to 12. Then all someone would have to do is /auction end and get 11 free pickaxes. Is there any way around this?
     
  15. Offline

    Nijikokun

    Whose version?
     
  16. Offline

    Nulk

    Zaraza's version
     
  17. Offline

    RustyDagger

    No offense Niji But you should not try to thread jack this guys plug in release Topic.

    You refused to release yours when there were no others made but the second some 1 else makes one you decide to thread jack his topic by releasing yours am i not the only 1 that find that just a bit wrong.

    Make your own topic..
     
  18. Offline

    axebyte

    yeah same thing the guy above said. (about the doubling items on end auction)
    Also it doesnt seem to draw the money name from Iconomy, just says bids 40 Null..
    An option to configure colors would be nice as well, as the yellow [iAuction] is really harsh.
    tested it out but i need to wait for permissions to work with this.

    good job just need a nice working player shop thing now.
     
  19. Offline

    Juze

    Lovely, been waiting to get this on our server!
     
  20. Offline

    Nijikokun

    LOL. I released the source which I didn't even steal, it's open source. I just modified his, hence why I didn't make a new thread.

    My version just adds and fixes all the problems you are having. So it's kind of pointless to say I'm hijacking anything.
     
  21. This. The yellow is really ugly and doesn't fit the colour theme of my server :(.
     
  22. the plugin dont work for build #197 nijis
     
  23. Offline

    CaptainDDL


    If @Nijikokun were to make his own thread, people would expect him to support this ...when he is just fixing some bugs. I feel sorry for the guy, he's got a bajillion plugins to support!

    Thank you @Zaraza107 for bringing back auction support, now we just need sign shops. :p
     
  24. Offline

    MIKUiqnw0

    That isn't your problem to bring up, frankly.
    --- merged: Feb 3, 2011 5:00 AM ---
    Error occurs when attempting to end auction.

    Code:
    Feb 3, 2011 3:59:28 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to iAuction
    java.lang.NullPointerException
            at com.bukkit.Zaraza107.iAuction.iAuctionPlayerListener.onPlayerCommand(iAuctionPlayerListener.java:120)
            at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.java:133)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:213)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:590)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:563)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:283)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-03 15:59:28 [INFO] MIKUiqnw0 issued server command: auction end
    2011-02-03 15:59:28 [INFO] Unknown console command. Type "help" for help.
     
  25. Offline

    Nijikokun

    ^ Re-download it
     
  26. Offline

    averad

    With CB 232

    Error when using /auction

    Code:
    SEVERE: Could not pass event PLAYER_COMMAND to iAuction
    java.lang.ArrayIndexOutOfBoundsException: 1
            at com.bukkit.Zaraza107.iAuction.iAuctionPlayerListener.onPlayerCommand(iAuctionPlayerListener.java:30)
            at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.java:133)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:213)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:590)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:563)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:283)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
     
  27. Offline

    axebyte

    also having it where, if someone starts an auction, then another one starts an auction, the new auctioner takes control of the active one, and gets the money for the first guys item when its sold.
    Along with the same error as the guy above me.
     
  28. Offline

    Stephen92

    it doesnt seem to start the auction on both of your's plugins im typing
    /auction start:-s 60 2 1 10
    2 as being dirt can someone please type out the proper way for say a 5 minute auction for testing purposes pls, thanks.
     
  29. Offline

    Herr Riz

    You use /auction start OR /auction -s. The colon indicates an alias.
     
  30. Offline

    Zaraza107

    Nijikokun is right, cause I released the source code on purpose. And I'm thankful to him, cause i couldn't work on code lately.
     
    atristoffate likes this.

Share This Page