Minecraft Exchange

This plugin enables players to trade items with each other as if they were using a stock market.
Permissions
mcex.admin: Administrator commands
mcex.cmd.*: User commands
Setup
- This plugin depends on Vault, and you should have an economy plugin like Essentials
- Run the server with the plugin once, and then shut it down. You need to configure config.yml in the plugins/mcex folder.
- Follow the directions in config.yml. It should be self-explanatory; you do need a MySQL server.
- Start the server and login on an account with mcex.admin permissions.
- This plugin only works with items that you add. You need to register the items beforehand using /mcex additem.
- The easiest way to add an item is to hold the item in your hand and do "/mcex additem hand <name>"
- You should see the item listed in /mcex search all.
- Have fun!
Commands
/mcex: show all commands and related help.
/mcex recent <buy|sell> [page #]: view recent open offers
/mcex buy <item name> <quantity> <price>: list a buy offer for $price each. If price starts with a /, it lists it for $price total.
/mcex buy <item name> <quantity> <price>: list a sell offer for $price each. If price starts with a /, it lists it for $price total.
/mcex account <buy|sell>: view your current open offers
/mcex chart <item name>: view web chart for item name
/mcex search <all|query>: search for all items starting with query. If "all" is specified, it lists all registered items. Move your mouse over the items: MCEX name is the item name you have to use with the plugin.
/mcex list <buy|sell> <item name> [page #]: View all orders for item name.
/mcex mailbox: View your purchased items.
Many features are currently planned, but backwards-compatibility will be maintained.
Click here for source code.
-
View User Profile
-
Send Message
Posted Jan 24, 2016@hoorigan
I lied, this is fine.
-
View User Profile
-
Send Message
Posted Jan 18, 2016I'm not sure if this was the intended functionality, but it seems that canceling an order (at least, with redstone) does not give you the item back.
-
View User Profile
-
Send Message
Posted Dec 26, 2015I'm using Gringotts with MCEX, and so far it's been really great. Exactly the sort of plugin I was looking for. I have one small issue though, and that is the fact that money values less than 1 are being counted as $0.00. I have a screenshot of the phenomenon on Imgur:
Screenshot
The items being bought are redstone for 0.15 and 0.18, respectively.
Oh, and my currency item denominations are 0.01, 0.1, 9, 36, 81, and 324, if that means anything.
-
View User Profile
-
Send Message
Posted Dec 20, 2015@tetrisd
Sweet! Thanks for the info. I'll get that sorted out on my end.
It's funny, because I've been using Minecraft to explain what I do to my roommates and the gaming community I play with.
"So, imagine you had a good bit of gold and thought that the value of apples was going to go up in a couple of weeks due to a pending war between two factions. You decided you wanted to purchase apples at today's price, to be received two weeks from now... Now, suppose you wanted to buy the right to make that purchase, but not the obligation, instead..." XD
-
View User Profile
-
Send Message
Posted Dec 19, 2015@hoorigan
Ah, I think I know what the problem is: the symbols aren't interpreted as formatting characters on your server. I'll release a patch for it. In the meantime, you can remove the special characters in config.yml.
You can cancel orders by clicking on the item in /mcex account and then clicking the red window pane.
So you work for a commodities exchange? Interesting. Eventually, I'll add a derivatives market, so you'll probably like that as well.
-
View User Profile
-
Send Message
Posted Dec 19, 2015This is a really awesome concept for a plugin. I work for a commodities exchange, and was looking for something like this for my server.
It looks like something weird is happening with the plugin's text strings, where certain non-printable characters are causing issues in-game. It might have something to do with character encoding, but I'm not a developer so I'm not sure on that. It does the same thing regardless of whether or not I'm forcing unicode in Minecraft. Here's a screenshot:
http://prntscr.com/9g9sry
I have a couple of feature requests, as well: