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 26, 2014some players use auto click software (1 second 100 clicks or more) click the item in globalmarket (they do not has enough money) make server very lag
spigot timings http://aikar.co/timings.php?url=8148184 InterfaceListener::clickEvent(InventoryClickEvent)
-
View User Profile
-
Send Message
Posted Aug 25, 2014Why aren't the stalls and mailboxes being saved? I have to recreate them after server startup or market reload. Is it a bug with me?
Using 1.3.0 with Spigot 1543, MC 1.7.9
Thanks!
-
View User Profile
-
Send Message
Posted Aug 24, 2014I have finally sorted out the dev builds, the link has changed.
@overyde
Both the release here and the dev builds work in 1.7.10.
@tomwolf22
Your save file might be corrupt. Watch for errors in your log when the server starts up.
@mcmain99
I'll look into it.
-
View User Profile
-
Send Message
Posted Aug 23, 2014http://pastebin.com/BLEjJiS5 - I am seeing these errors in the console quite frequently.
Could I have an explanation of what they mean/how to fix it? Otherwise, Great plugin :)
-
View User Profile
-
Send Message
Posted Aug 23, 2014Could you add a config option that with or without a delay to cut out the market mail and go straight to player inventory
-
View User Profile
-
Send Message
Posted Aug 23, 2014Just me, or is the dev build page down?
-
View User Profile
-
Send Message
Posted Aug 22, 2014Hi, when will a 1.7.10 version be released?
-
View User Profile
-
Send Message
Posted Aug 10, 2014Could you add a way for each player to create different shops linked to each sign/chest? Because atm if a player does /market stall on 2 different signs, you can go to both of the shops from one of the signs... so if you added /market stall [name of the shop] then the shops would be individual between signs/chests.
Also I'd like very much an in-game command to set an infinate stock shop for ops only. Maybe like /market infinate then right-clicking the shop sign/chest to select :)
THANKS FOR THIS PLUGIN! Saved my server :D
-
View User Profile
-
Send Message
Posted Aug 8, 2014@tomori_peti
Jenkins will be back soon. Check this issue for more info. I can't post download links here.
@dymdym88
No, but I'm sure there are other plugins that do that.
-
View User Profile
-
Send Message
Posted Aug 7, 2014dev website not avaliable. can someone upload globalmarket 1.3 to mediafire? thank you very much.
-
View User Profile
-
Send Message
Posted Aug 7, 2014is there away to change the market listings to /auctions?
-
View User Profile
-
Send Message
Posted Aug 2, 2014The dev build's server not really avaliable.
-
View User Profile
-
Send Message
Posted Aug 1, 2014I'm getting an error with this plugin. http://hastebin.com/anavetinuw.avrasm
Whenever I open someones mailbox and then close out of it, I get that error. After that I cannot open listings anymore, if I type "/market listings" it reopens the last players mailbox that I opened and when I close out of that I get the error again.
-
View User Profile
-
Send Message
Posted Jul 24, 2014Found a glitch: Players are getting infinite storage by mailing items to alts or their friends and then having 99 pages of free storage. Is there a way to limit this?
-
View User Profile
-
Send Message
Posted Jul 21, 2014@xdasfaust
Sent a PM, if you require anymore info please just ask :)
-
View User Profile
-
Send Message
Posted Jul 19, 2014@externo6
Are there any messages from GM? Mind searching your logs for
[GlobalMarket]and give me any output? I'm going to double check all of the code and see if I can catch anything weird, but I've never had it happen to me. Can you PM me your config and DB dump?-
View User Profile
-
Send Message
Posted Jul 19, 2014@xdasfaust
Hello, please can you have a look at our issue which is causing us much of a headache. Items that are been added to the market are getting mixed up, please view here a player submitted report of the issue: http://forum.banxsi.com/threads/market-bug-june-19th-2014.1824/
It is getting to such a point we are having to disable market.
We have fully regenerated the database and configuration, we are stuck on what next we can do. Version: GlobalMarket (1.3.0-SNAPSHOT-b150)
Also see image here: https://www.dropbox.com/s/5bonxjz4gvna88o/Capture.PNG Transaction logs cannot be sold as they are black listed in the config..
-
View User Profile
-
Send Message
Posted Jul 17, 2014@mal67
That's a feature, leave your search criteria in the 4th line of a stall sign. There is no way to do with with a chest, though.
@eudaemonia
Yes, it works on 1.7.X. Most releases are on the CI server. It's just easier to do, in general. I will still make a BukkitDev release once I feel it's polished enough.
@Bodyash
Fixed in build #151.
-
View User Profile
-
Send Message
Posted Jul 15, 2014Love this plugin, using it on 1.7.9 r2. really wish LocalMarket would come back too. or a way to create a stall with a built in search? (open a chest, and have it open a market search for playername, effectively opening only that players shop?)
thanks for this amazing plugin :) i hope you continue support for it.
-
View User Profile
-
Send Message
Posted Jul 10, 2014Is this functional for 1.7.10? Doesn't look like you've had a recent release on it. Thanks