[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

    AndyPandy89

    Hey Zaraza107,
    Thanks for making this plugin =) Auctions is a pretty big deal on my server.

    One feature I would like to see added is a way to send all auctions-notification to a separate chat-channel if HeroChat were installed on the server? Some users on my server get a little annoyed with the auctions sometimes.

    Andy =)
    Server-Admin
    www.ultimateminecraft.net
     
  3. Offline

    Mercury

    Hey, can you post please v.1.0 source. Colors on 1.0 were way better.
     
  4. Offline

    Zaraza107

    They're in .jar, you just need to unpack it, and then go to com/bukkit/Zaraza107/iAuction/ and check the .java files.
     
  5. Offline

    Daveyo

    one things for sure, ops using it crashes everyone rofl. It crashed my minecraft, and then kicked everyone. if that helps. I can show you the log if youd like
     
  6. Offline

    Dr_Herbalist

    Is it just me or can anyone bid any amount?
    I know it still takes the money but theres no check in place to see if they have the money.
    I get members with +$999,999,999 and another with -$999,999,999.
    Then one just buys everything the other needs.
    Please get it sorted soon, I tried to do it myself and it compiled but im doing somthing wrong because hte plugins never work.
    Lol.
     
  7. Offline

    Zaraza107

    It'd be cool if you could send me the log. Thanks :)

    There are two checks if bidding person does have enough money (one for bid and one for secret bid).
    EDIT: Ok, I just checked the code, and I forgot to copy balance check from playerlistener when applying onCommand(). Sorry, I'll upload fixed version in few minutes.
    --- merged: Feb 9, 2011 1:22 PM ---
    Version 2.2 released! Check original post for information.
     
  8. Offline

    Juze

    Haha, darn, I just restarted the server with 2.1 and now you release 2.2. :p Thanks for the update.
     
  9. Offline

    pixelbat

    Using build 302, tried also with 258 and it crashes my MC anytime I try to test making an auction.
     
  10. Offline

    Zaraza107

    If you're set as an Op, it is possible to crash server when you try to make an auction. I am not sure but it is possible that plugin Essentials is causing that bug.
     
  11. Offline

    henkee

    Great plugin, hwoever when somebody tries to bid (not OP), the server crash. I think I use bukkit v27x (btw, is there any way to check version?).
     
  12. Offline

    Zaraza107

    Do you get any crash info in craftbukkit screen?

    To check craftbukkit version type "/version". You will get this message:
    XXX indicates number of Craftbukkit's build (version of Craftbukkit).
     
  13. Offline

    henkee

    Ah ok thanks, I am running build 300. And no, no error messages.
    1. a player write /auction b 2
    2. the server console output Stopping the server
    List of my plugins:
    Thanks for any help!
     
  14. Offline

    Zaraza107

    To be honest I have no idea why it does that. But because it happened only to you i think it's fault of another plugin, I can't say which one actually.
     
  15. Offline

    ShaDooM

    is it possible to make the auction messages just visible in the Trade chat with herochat?
    So ppl who dont wanna buy anything and don't wanna see the spam, they could just leave the trade chat
     
  16. Offline

    Zaraza107

    It seems that in order to send message to HeroChat channel you need actual player.
     
  17. Offline

    ShaDooM

    aww ok imma post it in herochat he might add some support for it :D
     
  18. Offline

    GermanyMember

    Very very thanks, you plugin is now the best :)
     
  19. Offline

    Phantom Index

    Why not have it so you can choose what items can't be used in iAuction?
     
  20. Offline

    Daveyo

    same, only common addon i have is lwc, the rest i dont have, and no essentials
     
  21. Offline

    errdivideby0

    I get the server crash too with auction bid
    --- merged: Feb 18, 2011 4:43 AM ---
    running bukkit build 323
     
  22. Offline

    Zaraza107

    @Daveyo @errdivideby0
    If you are getting any errors in craftbukkit screen, it'll be cool to copy them here. It's hard to find a bug when you don't have any thing that can help you discover the problem.
     
  23. Offline

    henkee

    When I had this problem I tried to update all my plugins+bukkit, and now it works fine. Sorry for not sharing earlier
     
  24. Offline

    errdivideby0

    Sadly, my screen is not showing any errors :/
     
  25. Offline

    PatrickFreed

    Mine just kicks anyone who starts an auction.
     
  26. Offline

    DurtyFree

    Nice Plugin but it have a bug:
    -When you type /auction start 60 WrongItemName 40 10
    Your get a Internal Server error, because you wrote the item name wron. But when you write it right it works.
     
  27. Offline

    DThielke

    Hi. I just released a new version of HeroChat that provides a public method belonging to the HeroChatPlugin class that should allow you to send messages without a player. You just need to provide a Channel, the source string (the name of the message sender, i.e. iAuction) and the message.

    Code:
    sendMessage(Channel channel, String sourceName, String msg)
    You can get the available channels from getChannels() in the same class.
     
  28. Offline

    majorcyto

    Can you please add a permission node for "auction.start" to who can or cant start an auction.
     
  29. Offline

    Zaraza107

    Will look into it.

    Nice! Thanks for the information :)

    There is one actually. It's "auction.allow" (see OP).
     
  30. Offline

    majorcyto

    I know but i only want certian people/groups to be able to start an auction and EVERYONE to be able to bid in an auction. So it would be a lot better for me if start and bid were there own permission nodes.

    Sorry for not explaining correctly the first time.
     
  31. Offline

    Phantom Index

    I had the same problem about kicking everyone with a Internal server error.
     

Share This Page