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 Feb 15, 2014Why not just put a limit of items that can be in the market mail? So the limit for listings would be the total amount of items for sale and the items in the mail.
-
View User Profile
-
Send Message
Posted Feb 15, 2014I have secret treasure books that lead people on a quest. It would be nice for people that have already completed the quest to put the books up for sale...however if another player single clicks on the book and drags it to their inventory with the "ghost" issue they don't actually buy it, however it shows up in their inventory which they can then open the book and read the quest.. if they go back into the market it disappears...tested with enchanting books and going into the anvil gui makes it dissapear as well...
this gets around the need to buy any special lore books that you want them to actually own before reading...not sure if there is a way around this, will probably just have to block those books from being sold
-
View User Profile
-
Send Message
Posted Feb 14, 2014A per rank permissions would be cool.
Like globalmarket.limite.5 > These people could sell up to 5 items Globalmarket.limit.10 > Same but 10 items etc etc..
-
View User Profile
-
Send Message
Posted Feb 12, 2014@xdasfaust
True, I'm no plugin dev but I would simply have an "offline" users mailbox were if the user is offline the items are temporarily stored in the offline box until they come online. Then the items are automatically given to them. If their inventory is full it the items would remain in the market mail until it is no longer full. But of course it is easier said then done..
-
View User Profile
-
Send Message
Posted Feb 12, 2014@xdasfaust
Could you add support for the item options (like health, speed etc.)? Because after restart they are cleared from the items.
-
View User Profile
-
Send Message
Posted Feb 12, 2014Love this.
-
View User Profile
-
Send Message
Posted Feb 12, 2014@xxxtrigger50xxx
The only reason I haven't implemented something like that is what do you do when the player is offline? It could go into their mailbox, or some type of queue. I might experiment around with those options.
@KeithSt0ne
In the newer builds, if you have ProtocolLib installed you can create directly from the listings menu. Might help out with that.
@xxxtrigger50xxx
Does your permissions plugin have Vault support?
@mal67
I'm not aware of any major bugs in the dev builds at the moment.
@t0mmie_owner
Well there's /market create, but did you uninstall ProtocolLib? The create button depends on ProtocolLib.
@JanazLeonhart
No. But that's an interesting idea... I might look into that.
-
View User Profile
-
Send Message
Posted Feb 9, 2014Dear xdasfaust,
I can't create a listing in a stall. The hopper icon dissapeared and now my players can only buy stuff and they can't sell.
How can I fix this?
-Tommie
-
View User Profile
-
Send Message
Posted Feb 8, 2014hows the latest dev build running? any more dupe issues popping up? or should it be safe to upgrade from 115
-
View User Profile
-
Send Message
Posted Feb 7, 2014I found a bug in 1.3, using multiple configurations of "limits" will only load the "default" Settings. It ignores all other groups regardless of the permission. However I did try adding the permission to the user as well and get the same results.
-
View User Profile
-
Send Message
Posted Feb 7, 2014Suggestion:
New Sign Type: /market sellstall
When you right click the sign with the item in your hand it starts the listing process
I'm trying to find more way's to show players they can list their items on the market, I think this would help.
-
View User Profile
-
Send Message
Posted Feb 7, 2014Very nice plugin my server is making use of it. Just a question, is their a way to have the server buy things, sort of to make an economy go? Or maybe an addon that admins can give the server X amount of money and the server itself buys stuff? I was wanting to simulate an ecomony by the server and the users.
-
View User Profile
-
Send Message
Posted Feb 6, 2014Is there anyway to have a items that are canceled immediately be sent to a users inventory instead of the mail box? Users could easily use the current mail box as a way to protect their gear. Regardless of the "queue times. Adding a feature to have canceled items be sent directly to a users inventory would be a awesome add on. Awesome plugin though!
-
View User Profile
-
Send Message
Posted Feb 6, 2014@xdasfaust
thanks fix bug
no any error now
-
View User Profile
-
Send Message
Posted Feb 5, 2014@Dsiddia
Do you have ProtocolLib? If so, which version?
@Tunix2
Like using at as storage? You can look into the queue system so they have to wait to put items in or take them out.
@Zombiemold
Wasn't intentional, but should be fixed in the latest build.
@ircopdd
I think I've caught the bug, try the newest build.
@externo6
I've experimented with it before but I'm still not sure how to do build numbers. I would like to have them in the plugin somewhere so I'll Google around some more ;)
-
View User Profile
-
Send Message
Posted Feb 4, 2014Is it possible to have the build numbers in the /ver of the plugin? Would help me remember what build we are using :)
Thanks!
-
View User Profile
-
Send Message
Posted Feb 4, 2014@xdasfaust
fast click bug maybe work
i will keep on to test
SNAPSHOT #120 error
http://dev.bukkit.org/paste/9284/
-
View User Profile
-
Send Message
Posted Feb 4, 2014Players are reporting that with the newest dev build as of this message, that they are unable to search for items sold by specific players anymore via the search function.
ie, if someone searched for Zombiemold, they would get to see all the items sold by me in the global market.
Has this feature been intentionally left out in the newer versions?
-
View User Profile
-
Send Message
Posted Feb 4, 2014Users are using the market to protect their stuff, is there something I can do to negate this?
-
View User Profile
-
Send Message
Posted Feb 4, 2014Error with latest dev build; http://pastebin.com/EB9CgEa9
Running Spigot-1286