GlobalMarket
GlobalMarket is a global market system. It allows players to buy and sell items via a convenient in-game interface. It's similar WoW's Auction House or Runescape's Grand Exchange. I created this plugin awhile ago (back in the days of WebAuction, it's what inspired me) for private use, but I've decided to release it to the public. This plugin requires Vault and ProtocolLib, other than that, just drop it in plugins (make sure you have Vault plus a supported economy plugin installed) and start trading!
Features
- Players can put any item up for sale using a dead simple in-game GUI system (see below)
- Uses ProtocolLib for proper item serialization that supports Bukkit, Spigot, and Cauldron
- Real time interface, all trades show up immediately without having to 'refresh' or close the GUI
- No maintenance or admin interaction required
Mailbox system that allows you to set up market areas or auction houses(not currently in 2.0.0)A built in price guide that compiles average prices from previous transactions(not currently in 2.0.0)
Latest Dev Build
Development builds of this project can be acquired at the following continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
http://build.survivorserver.com/job/GlobalMarket%202.0.0/
Changelog
Usage
- The Interface
- This is a display of all current listings, you click an item to buy it. You can shift+click to remove a listing if you own it, or if you have the "globalmarket.listingsadmin" permission. Listings automatically expire after 1 week (configurable). You can use
/marketto access the menu.

- Stock
- When you purchase an item it will be sent to your stock. Stock is an entirely optional system but is suggested to be enabled, as disabling it will disable certain other features like
/market send. The stock system can hold a configurable amount of stacks of items in a configurable amount of slots. Once you place an item in your stock, you can list it to be sold to other players. Players can also send items to other players' stock via/market sendif they have the "globalmarket.command.send" permission.

- Server Listings
- You can create 'infinite listings' that do not expire and can't be bought out. Create them with
/market createinf <price> <[amount]>. There's a dedicated section to server listings in the Market menu. You'll need the "globalmarket.command.createserverlisting" permission to do this. Or you can disable this system all-together in the config.
Commands
| Command | Description | Permission |
|---|---|---|
| /market | Opens the Market menu. | globalmarket.use |
| /market ? | Shows command help. | <no permission> |
| /market send <player> <[amount]> | Sends the item you're holding to <player>'s stock. Amount is optional. | globalmarket.command.send |
| /market createinf <price> <[amount]> | Creates a server listing. Amount is optional. | globalmarket.command.createserverlisting |
| /market reload | Reloads config.yml | globalmarket.command.reload |
Permissions
- globalmarket.use - base permission, required to use /market
- globalmarket.listingsadmin - ability to remove all listings
- globalmarket.command.send - ability to use /market send
- globalmarket.command.createserverlisting - ability to use /market createinf
- globalmarket.command.reload - ability to use /market reload
Config
All config values have comments that explain what they do in config.yml, how convenient for me!
If you wish to blacklist items from being used on the Market, there is blacklist.json. You can add material values with meta values:
- APPLE:0 - blacklist apples
- INK_SAC:-1 - blacklist all dies
If you're running Cauldron, you can do things like:
- oredict:ingotSteel - blacklist any item with an OreDictionary value matching ingotSteel
- extracells:storage.component:-1 - blacklist all ExtraCells storage cells
Locale
Virtually every string in the plugin is editable via the "en_US.json" file, inside the plugin's JAR. It's pretty straightforward to edit. Don't replace or edit the %s or %1$s's, these are variables. For example, "Item sold: %s" would appear as "Item sold: Cobblestone" in-game. You can add/edit colors by typing & plus a color code. So light green (the color code is a) would be &a. You can find color codes here: http://ess.khhq.net/mc/
You can also create an entirely different language set, name it something like ch_CN.json, stick it in the server's JAR, and change the appropriate config value in config.yml to use it.
Source
https://github.com/Dasfaust/GlobalMarket
That's all for now. Sorry if things are unclear, I'll be updating this page with more information periodically. If you're stuck just add a reply and I'll do my best to help!
-
View User Profile
-
Send Message
Posted May 21, 2013@xdasfaust
None, and its only happening sometimes and usually with items that have out of bounds(non vanilla) data values or lore name/text on them. It did happen a few times with normal vanilla items(no enchants, lore, or data values)
-
View User Profile
-
Send Message
Posted May 21, 2013For some reason, all my players' search page always says that its searching for
--- and they have to click it to see the items in the market...-
View User Profile
-
Send Message
Posted May 21, 2013@vangaurdan
I might do that in the future.
@Faldonboy
Getting any errors in the console?
-
View User Profile
-
Send Message
Posted May 21, 2013Having lots of duplication bugs whenever I shift click to remove items from the market, the item stays in the market but another one appears in my inventory but it has the markets lore text (saying my name, the price and to shift click to remove it)
Using Bukkit-1.5.2-R0.1 and this was tested with both 1.2.0 and your last dev build.
-
View User Profile
-
Send Message
Posted May 21, 2013An awesome thing to add in a future update would be a sell sign where the user could hit a sign with an item (or stack) and would be asked to type the price in the chat.
-
View User Profile
-
Send Message
Posted May 21, 2013@CyaNox
I had an idea for a command to open an inventory that you could put items in to list all at the same price. I might do something like that.
I'll try to make the Transaction Log a bit more legible, I agree <item>x<amount> looks a bit funny.
As for mixed creative/survival, I'll add an option in the config to disable creative listing.
@GoldcraftPVP
Did you read the description? :) check under 'Latest Dev Build'
-
View User Profile
-
Send Message
Posted May 21, 2013Ah man awesome plugin, keep up the good work. Thank you for this
-
View User Profile
-
Send Message
Posted May 21, 2013Can you add an option on the config to block special items to be sold including the transaction books.
-
View User Profile
-
Send Message
Posted May 21, 2013Heya, This is a very awesome plugin with very easy to use interface however I found that selling my double chest of dirt is rather painful. I'd appreciate it if you could for instance do /market create 5 64 16. It would then take 16 stacks at once and post them for 5 currency.
Or any other way to add a large amount of the same item for specified prices.
Also you may want to consider completely disabling the exchange functionality when in creative mode which is especially troublesome on servers with mixed creative and survival worlds.
Another minor point: Would it be possible to add the buyer to the transaction log and possibly a date and time as well? (and maybe add some spacers between the amount sold and the item name ... It is slightly confusing reading "Item sold: Melon" followed by the new line "Slicex32")
Hope the feedback makes this plugin even more awesome ;)
-
View User Profile
-
Send Message
Posted May 20, 2013@Adrenalineq
I know, sorry :( an admin shop/infinite listings isn't very high on the todo list at the moment.
@sundresso
Blacklist done. Check out the latest dev build.
@diannetea
That's on the todo list also.
-
View User Profile
-
Send Message
Posted May 20, 2013Could you please add a blacklist?! so some items cant be sold in the shop?
-
View User Profile
-
Send Message
Posted May 20, 2013It seems that when players try to list an item, they sometimes get a return that an "internal error has occurred". As this is not connecting to a db I'm not sure why this comes up. Additionally, while doing this, the item goes to the marketplace yet remains in their inventory and therefore they can dupe items.
-
View User Profile
-
Send Message
Posted May 19, 2013A few things I would like to see:
Actual auctions: choose between x time, x time and x time (all configurable!) buyout costs
something I just forgot
-
View User Profile
-
Send Message
Posted May 19, 2013@xdasfaust
This plugin is so cool.But I want some items can't be sold. Can you make a BlackLIst systlem?
-
View User Profile
-
Send Message
Posted May 19, 2013@xdasfaust
Do you already add unlimited mode ? :P (like adminShop from Chestshop)
-
View User Profile
-
Send Message
Posted May 18, 2013I fking love this plugin, great features and works like a dream with no bugs! Please never let this become outdated.
Thanks!
-
View User Profile
-
Send Message
Posted May 18, 2013@mumblerit
As Sonar said try the queue (specifically for mail) in the dev builds. Even with slot limits players would still use it as storage, with the queue it makes it a pain to do so.
@HopTownCraft
Negate the
globalmarket.createpermission from them.@eloyedelenbosch
With the later dev builds you can use
/market stallto do exactly that. It works just like the mailbox.-
View User Profile
-
Send Message
Posted May 18, 2013@xdasfaust
Can I kiss you?!
Great job, amazing plugin, better developer
-
View User Profile
-
Send Message
Posted May 18, 2013@eloyedelenbosch
you could not give them permission for the command.
-
View User Profile
-
Send Message
Posted May 18, 2013Amazing works perfect one of the best plugins i have ever used keep up the good work and thanks for adding :D