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 Aug 1, 2013@MCwolski
Have you tried GM with MCPC+? It works fine for most mods, but other than the scope of Bukkit, I can't offer official support: it's a Bukkit plugin, not a Forge plugin. Buy and sell is also a correct description, you buy items and you sell them. How are you going to sell it if you don't put it up for sale? Haha. This plugin does what it says on the tin. I get what you mean though, like 'buy offers' (like in Guild Wars and RS), that's in the works.
-
View User Profile
-
Send Message
Posted Aug 1, 2013Yeah i would like to see some support for mod id's too, one of the main reasons running mods/plugins together suck is because plugins don't support id's outside the range vanilla set.
Then secondly it says sell/buy, in your description, and this is in fact not the case, yeah you can buy other ppl's listing but you can't sell your own stuff on there unless you list them yourself.
What would be nice is a way to allow admins to create listings where it buys for instance dirt from players infinite.
-
View User Profile
-
Send Message
Posted Jul 30, 2013Nice plugin but still not support selling MOD's item.... sigh
-
View User Profile
-
Send Message
Posted Jul 29, 2013@PieterA
Not a bug, you can prevent that with permissions.
@Grant1204
I can't reproduce that bug. When I click the item it disappears, it's a client side clone.
@Spiritwind51
Easier said than done, not sure when/if that'll happen.
-
View User Profile
-
Send Message
Posted Jul 28, 2013Please add Multiworld Support (Separate auctions per world)
-
View User Profile
-
Send Message
Posted Jul 28, 2013I found another dupe glitch;
This duplication glitch works for any craftable item such as diamonds, gold ingots, redstone, etc.
Works in GlobalMarket v1.2.2 and earlier.
-
View User Profile
-
Send Message
Posted Jul 27, 2013Greetings, is this a bug or a feature
Creative players can create a market listing then go back to survival cancel the listings and get the creative item in survival, is there a work around to this ?
thx in advance
Pieter
-
View User Profile
-
Send Message
Posted Jul 26, 2013Thank you!
-
View User Profile
-
Send Message
Posted Jul 25, 2013Thank you, I will check back here frequently :-)
-
View User Profile
-
Send Message
Posted Jul 25, 2013@wickstim
I recommend you try it out to get a feel for how it works.
@pellopo82
Yes, it's a high priority. I'll try to have a working dev build up soon.
@s60team
Added, thanks!
@SyncCraft
Set
server: enable:to false in the config-
View User Profile
-
Send Message
Posted Jul 25, 2013Hi again,
I seem to be getting this error on startup:
http://pastie.org/8174697
-
View User Profile
-
Send Message
Posted Jul 25, 2013xdasfaust:
I made a Russian Translation for your plugin "Global Market".
Can you post it, please?
Here it is:
http://pastebin.com/d3kYRPBT
Best regards, Vova Gendel aka s60team
-
View User Profile
-
Send Message
Posted Jul 25, 2013xdasfaust: will you release a version that runs under java 6 ? I'd love to use your plugin, but can't right now.
-
View User Profile
-
Send Message
Posted Jul 24, 2013@xdasfaust
Thanks for your prompt reply, much appreciated. So when players are using global market, what is the 'standard' way it is being used? Everything is sold in stacks of 64? or is there all sorts of numbers of items? Also, how are people working out prices? They use the price command, and then times it by the amount the want to sell?
-
View User Profile
-
Send Message
Posted Jul 24, 2013@wickstim
\#1 is in the works, but #2 is because you can only sell stacks of items.
-
View User Profile
-
Send Message
Posted Jul 24, 20131. How do we list multiple swords, I can only list 1 at a time.
2. I dont understand how to add items to the market place so that another player can buy individual items. The way it seems to me is that we can only buy items as they are sold in stacks, so if there is one item, we can buy that one item, but if there is a stack of 21 items, we cant buy part of the stack, just the whole stack. If I am wrong, could you please explain how to buy part of a stack?
-
View User Profile
-
Send Message
Posted Jul 24, 2013Nevermind, I figured it out! Great plugin though!
-
View User Profile
-
Send Message
Posted Jul 24, 2013I love the plugin!! Works great for my server! Just wondering, how do you bind commands to signs or chests?
-
View User Profile
-
Send Message
Posted Jul 24, 2013@xdasfaust
That worked, thanks! Sorry for bothering you with it!
-
View User Profile
-
Send Message
Posted Jul 23, 2013Hmm, I think I was using a dev build. Using the latest version from here has fixed it now, thanks.