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

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

  1. Offline


    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


    • /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
    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 (Text):
    1. 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

    Code (Text):
    1. 'auction.start' - permission to start an auction
    2. 'auction.bid' - permission to bid an auction
    3. 'auction.end' - override of auction ending for someone who is not Op or auction owner (for example for moderators)
    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. Wonderful! Yay!
  3. Offline


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


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


  6. Offline


    How cool!
  7. Offline


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


    I. Love. You. :D
  9. Offline


    Well i think so, but I'll add this with Permissions support.
    Colors support is already being tested.
  10. Offline


    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


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

    • 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


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


  14. Offline


    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.

    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


    Whose version?
  16. Offline


    Zaraza's version
  17. Offline


    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


    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


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


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


    This. The yellow is really ugly and doesn't fit the colour theme of my server :(.
  22. Offline


    the plugin dont work for build #197 nijis
  23. Offline


    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


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

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


    ^ Re-download it
  26. Offline


    With CB 232

    Error when using /auction

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


    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


    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


    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