Opticraft Community

Discussion forum => Legacy => Archives => General Discussion => Topic started by: Nick3306 on June 10, 2015, 12:05:39 am

Title: Auction House System Ideas
Post by: Nick3306 on June 10, 2015, 12:05:39 am
I have started working on an auction house system for the smp server and would like input/suggestions on any specific features you may want to see.

How the plugin will work so far is you can put up any item in your inventory for auction and it will stay up for auction for a set amount of time(to be determined later). During this time, other player can bid on the item and obviously the highest bid at the end of the time wins.

Planned commands

/auction sell (blockID) (amount) (starting bid)
/auction list // lists all the current auctions
/auction listmine //list all the auctions you have bid on or have put up yourself
/auction cancel (auction ID)
Title: Re: Auction House System Ideas
Post by: TarynMai on June 10, 2015, 03:23:13 am
Is there going to be a way to remove an item from an auction if you change your mind/pick the wrong item, or remove your bid?
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 10, 2015, 03:34:14 am
Is there going to be a way to remove an item from an auction if you change your mind/pick the wrong item, or remove your bid?
There will be a way to cancel an auction(added to the post now), but no way to remove your bid.
Title: Re: Auction House System Ideas
Post by: DeeKay on June 10, 2015, 03:58:52 am
A gui for the whole thing could be cool, giving players a visual interface to work with rather than only using commands.
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 10, 2015, 04:10:55 am
A gui for the whole thing could be cool, giving players a visual interface to work with rather than only using commands.
I personally don't think it is too necessary, could definitely be an added feature after the main release though.
Title: Re: Auction House System Ideas
Post by: clawstrider on June 10, 2015, 07:10:12 am
/auction sell (blockID) (ammount) (starting bid)

I don't know about you, but I personally have no idea of half the blockIDs of stuff I'd want to sell. Perhaps have it put the things in your active hand slot up with /auction sell (starting bid) (optional amount, default is everything in hand)
Title: Re: Auction House System Ideas
Post by: 100penguin. on June 10, 2015, 07:59:26 am
Quite complicated to implement, but I've seen it work elsewhere. If you have an item auctioned for $100, and someone bids $150 for a minute, then in the last 10 seconds of the bid you can only bid if your bid is significantly (perhaps 50%) higher. Just an example, but the idea is to stop people sniping things for a dollar more than the last person. Thoughts?
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 10, 2015, 02:56:29 pm
Quite complicated to implement, but I've seen it work elsewhere. If you have an item auctioned for $100, and someone bids $150 for a minute, then in the last 10 seconds of the bid you can only bid if your bid is significantly (perhaps 50%) higher. Just an example, but the idea is to stop people sniping things for a dollar more than the last person. Thoughts?
I was thinking about this actually and that is a very good idea. It was either that or there would be a minimum bid value overall so you couldn't just add a dollar to it at anytime
/auction sell (blockID) (ammount) (starting bid)

I don't know about you, but I personally have no idea of half the blockIDs of stuff I'd want to sell. Perhaps have it put the things in your active hand slot up with /auction sell (starting bid) (optional amount, default is everything in hand)
Well the hope is to set up the aliases like world edit does but if that proves too difficult (or time consuming really) the item in had would be the way to go.
Title: Re: Auction House System Ideas
Post by: TarynMai on June 10, 2015, 03:18:11 pm
/auction sell (blockID) (ammount) (starting bid)

I don't know about you, but I personally have no idea of half the blockIDs of stuff I'd want to sell.

F3 + h will show you the IDs
Title: Re: Auction House System Ideas
Post by: VoreReznor on June 10, 2015, 03:18:45 pm
Quite complicated to implement, but I've seen it work elsewhere. If you have an item auctioned for $100, and someone bids $150 for a minute, then in the last 10 seconds of the bid you can only bid if your bid is significantly (perhaps 50%) higher. Just an example, but the idea is to stop people sniping things for a dollar more than the last person. Thoughts?
I was thinking about this actually and that is a very good idea. It was either that or there would be a minimum bid value overall so you couldn't just add a dollar to it at anytime

Maybe you could just add time after each bid is made..  So if someone tries bidding up $1 in last few seconds it just adds another minute or 10 minutes to the end time.
Title: Re: Auction House System Ideas
Post by: velo on June 10, 2015, 04:20:30 pm
Don't get me wrong, an auction system would be great. Maybe this has already been discussed, but the only problem I see is the amount of spam Auctions create in chat.
Would this be on a separate chat channel, that players would be able to turn on/off?
What I think might be a good idea would be an announcement for when a bid starts, something like
"(player name) has started an auction for (block/amount) starting at (price)", as well as
"(player name)'s auction is now over."
This way, only players involved with the auction get the bulk of the messages, such as updates when another bid is made, etc., and would significantly decrease the amount of messages people get if they don't want to participate in the auction

Title: Re: Auction House System Ideas
Post by: 100penguin. on June 10, 2015, 05:07:57 pm
Quote
F3 + h will show you the IDs

Not for those of us running Linux, Ubuntu or LUbuntu like me :P Just thought I'd throw that in there. If there wasn't a solution to this problem then perhaps we could use /itemdb. Many of the block id's are available at market under the name of the items there :D
Title: Re: Auction House System Ideas
Post by: clawstrider on June 10, 2015, 05:31:49 pm
Quote
F3 + h will show you the IDs

I wasn't saying it's impossible to find them. I was saying that for a custom plugin, that doesn't seem like the best way to go.

Well the hope is to set up the aliases like world edit does but if that proves too difficult (or time consuming really) the item in had would be the way to go.

Sounds good, thanks.
Title: Re: Auction House System Ideas
Post by: TarynMai on June 10, 2015, 05:39:10 pm
Quote
F3 + h will show you the IDs

Not for those of us running Linux, Ubuntu or LUbuntu like me :P

Aah I wasnt aware of that, my bad haha.

I wasn't saying it's impossible to find them. I was saying that for a custom plugin, that doesn't seem like the best way to go.

Well no, its not the best way, but my point was it isnt hard to figure out lol
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 10, 2015, 07:50:49 pm
Don't get me wrong, an auction system would be great. Maybe this has already been discussed, but the only problem I see is the amount of spam Auctions create in chat.
Would this be on a separate chat channel, that players would be able to turn on/off?
What I think might be a good idea would be an announcement for when a bid starts, something like
"(player name) has started an auction for (block/amount) starting at (price)", as well as
"(player name)'s auction is now over."
This way, only players involved with the auction get the bulk of the messages, such as updates when another bid is made, etc., and would significantly decrease the amount of messages people get if they don't want to participate in the auction


Personally I was going to hold players responsible for checking up on their auctions which means no chat spam at all.
Title: Re: Auction House System Ideas
Post by: velo on June 10, 2015, 08:08:53 pm
Personally I was going to hold players responsible for checking up on their auctions which means no chat spam at all.
I guess, but especially during the last couple minutes of an auction, when there;s a lot of last-minute bidding this would be very problematic as players would have to type "/auction listmine" just to see if they've been outbid and then whatever command to actually make a bid.
Personally, I have no preference with this, I just could see this becoming problematic in the future.
I can already see players complaining about not winning the auction over having to type so much, even though like you said, they should be responsible for their own auction
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 14, 2015, 12:26:47 pm
Personally I was going to hold players responsible for checking up on their auctions which means no chat spam at all.
I guess, but especially during the last couple minutes of an auction, when there;s a lot of last-minute bidding this would be very problematic as players would have to type "/auction listmine" just to see if they've been outbid and then whatever command to actually make a bid.
Personally, I have no preference with this, I just could see this becoming problematic in the future.
I can already see players complaining about not winning the auction over having to type so much, even though like you said, they should be responsible for their own auction
I could see how that would be a problem on a bigger server, but with how many players we have now, I don't think last minute bidding will be a real issue.
Title: Re: Auction House System Ideas
Post by: DJPirate on June 14, 2015, 06:39:50 pm
I thought about this subject, i think it would be easier to specify what slot in your hotbar the item is in, then you dont need to check if the player actually has that item or stuff like that
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 14, 2015, 06:45:22 pm
I thought about this subject, i think it would be easier to specify what slot in your hotbar the item is in, then you dont need to check if the player actually has that item or stuff like that
you still do.
Title: Re: Auction House System Ideas
Post by: DeeKay on June 15, 2015, 12:44:05 am
Well, the difference then would be checking if they actually have an item in their hand, and not necessarily if the item is a certain item, cause it could be anything. It would be easier than having to specify the block, however it would essentially be the same amount of checks.
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 15, 2015, 01:23:41 am
Plus you still have to check the amount of the item.
Title: Re: Auction House System Ideas
Post by: DeeKay on June 15, 2015, 02:39:02 am
Right, that happens either way, so it's then down to finding the easiest way for players to specify their stack, which I agree would be better as the item in their hand. Easier to manage for players in the final plugin.
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 15, 2015, 03:11:59 am
Right, that happens either way, so it's then down to finding the easiest way for players to specify their stack, which I agree would be better as the item in their hand. Easier to manage for players in the final plugin.
that's most likely true, I was just hoping to avoid players forgetting what was in their hands and accidentally putting it up for auction. I guess its not a big deal since you can always cancel it.
Title: Re: Auction House System Ideas
Post by: DeeKay on June 15, 2015, 04:16:07 am
Maybe use both methods and allow them to auction an id or enter "hand" where the id is to auction their hand.
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 16, 2015, 08:16:52 pm
Any input from mainly smp players?
Title: Re: Auction House System Ideas
Post by: blueted12345 on June 16, 2015, 08:20:28 pm
Personally I think the auction is a good idea. It gives people a chance to sell items people wouldn't normally think about wanting to buy. So sounds great!
Title: Re: Auction House System Ideas
Post by: VoreReznor on June 17, 2015, 05:10:01 pm
Will items and funds transfer automatically?
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 17, 2015, 06:01:45 pm
Will items and funds transfer automatically?
The items and funds would transfer automatically once the players log back in.
Title: Re: Auction House System Ideas
Post by: 100penguin. on June 18, 2015, 08:06:37 am
Spigotmc do a good auction plugin, which has all the "is the selling item in your hand" crap integrated, as well as the quantity you wanted to sell. This allows you to sell half a stack of items despite having a full stack in your hand. Just a thought...
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 18, 2015, 05:29:00 pm
Spigotmc do a good auction plugin, which has all the "is the selling item in your hand" crap integrated, as well as the quantity you wanted to sell. This allows you to sell half a stack of items despite having a full stack in your hand. Just a thought...
Regardless I would have them specify the amount of items. It would be awful to only be able to sell a full stack.
Title: Re: Auction House System Ideas
Post by: 100penguin. on June 18, 2015, 06:06:54 pm
Quote
Regardless I would have them specify the amount of items. It would be awful to only be able to sell a full stack.
Perhaps I didn't make that very clear, the point of that plugin (and many others like it) is that the command is usually along the lines of /auction sell hand (Number of items you want to sell) <Price for items> [Buyout price] (Time) giving you full customisability of the number of items you want to sell :D
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 18, 2015, 06:54:05 pm
Quote
Regardless I would have them specify the amount of items. It would be awful to only be able to sell a full stack.
Perhaps I didn't make that very clear, the point of that plugin (and many others like it) is that the command is usually along the lines of /auction sell hand (Number of items you want to sell) <Price for items> [Buyout price] (Time) giving you full customisability of the number of items you want to sell :D
You were very clear, I'm saying that is also the point of the plugin I am making.

/auction sell (blockID) (amount) (starting bid)

block id can easily be replaced by inhand
Title: Re: Auction House System Ideas
Post by: 100penguin. on June 19, 2015, 07:07:54 am
Ah, sweet. My bad, sounds good :)
Title: Re: Auction House System Ideas
Post by: OzzyKP on June 29, 2015, 12:19:25 am
Do the auctions continue when you are offline?

Are you able to sell more than a stack at a time? 

If I put a stack or two of an item up for auction, does it get removed from my inventory right away?  And then returned if it doesn't get sold?
Title: Re: Auction House System Ideas
Post by: OzzyKP on June 29, 2015, 01:25:31 am
It'd also be useful, as a seller, to set a minimum price, or be able to auto-pull an item from the auction if it doesn't reach some pre-set sale price.
Title: Re: Auction House System Ideas
Post by: Nick3306 on June 29, 2015, 02:12:43 am
Do the auctions continue when you are offline?
Thats the plan
Are you able to sell more than a stack at a time? 
If we go by hand then no
If I put a stack or two of an item up for auction, does it get removed from my inventory right away?  And then returned if it doesn't get sold?
It will get removed from your inventory right away and returned if not sold.

It'd also be useful, as a seller, to set a minimum price, or be able to auto-pull an item from the auction if it doesn't reach some pre-set sale price.
/auction sell (blockID) (amount) (starting bid)
(Starting bid) would be your minimum price.
Title: Re: Auction House System Ideas
Post by: Pensfan121 on July 31, 2015, 02:12:02 pm
This is a great idea! This will help a lot.