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 Jul 8, 2014I set group limits, and I add correct permission to groups, but nothing changes..
-
View User Profile
-
Send Message
Posted Jul 6, 2014When Creative Player DESTROYING sign - stall is removing (even if he has no build perm in this WG region, so sign is returning back, but market stall is removed :c
-
View User Profile
-
Send Message
Posted Jul 2, 2014I wish this would work for my 1.7.9 bukkit server
-
View User Profile
-
Send Message
Posted Jul 2, 2014So I downloaded the plugin dropped it in my server plugin directory, restarted my server, and the GlobalMarket folder never came up, and in-game I can't even use the commands in-game
-
View User Profile
-
Send Message
Posted Jun 30, 2014@xdasfaust
See my reply below, If you require any more information just ask, though there is not a lot to go off as its completely random. Items seem to turn into Transaction Logs in the market, I can confirm Transaction logs are blocked from been sold. The most recent occurrence of this was someone sold a head, next time they looked it turned into a Transaction log.
-
View User Profile
-
Send Message
Posted Jun 28, 2014Still having issues where random items turn into transaction logs in the market, fresh database on the latest dev build (146)
-
View User Profile
-
Send Message
Posted Jun 26, 2014How do u allow people in the market chest when in the shop region it's says you don't have permission to access this what do I do to have people access it
-
View User Profile
-
Send Message
Posted Jun 25, 2014@zCamaroz
yes
-
View User Profile
-
Send Message
Posted Jun 25, 2014how do u access a listings chest in a region at like your shop region?? if u know can u maybe msg me to:hulstryan@gmail.com or here either one but I prefer email.
-
View User Profile
-
Send Message
Posted Jun 24, 2014@xdasfaust
I think its our database, will report back after regenning it.
Thanks
-
View User Profile
-
Send Message
Posted Jun 24, 2014@overyde
Yes, in the dev builds. More info here.
-
View User Profile
-
Send Message
Posted Jun 24, 2014Is there a way to have it so a set group has a set number of listings? IE Members = 5 total Donators = 10+ Total
-
View User Profile
-
Send Message
Posted Jun 22, 2014@broluigi
That's already implemented in the dev builds.
@zCamaroz
Yes.
@externo6
What version fixes your problem? Maybe I can figure out what change is causing it.
-
View User Profile
-
Send Message
Posted Jun 18, 2014@xdasfaust
Nope, I've made sure the database is saving, I've had to revert to an older build because people where gaining the wrong items.
-
View User Profile
-
Send Message
Posted Jun 17, 2014update? work on 1.7.9?
-
View User Profile
-
Send Message
Posted Jun 17, 2014can it be made that when the announcement of something being put in market shows up, people can click the highlighted name to see the listing?
-
View User Profile
-
Send Message
Posted Jun 15, 2014@externo6
Is the server crashing or stopping without saving? That could cause data loss.
@UltrafaceGuy
Check out the latest build. In the config, "new_mail_notification_delay" is the delay in ticks after a player logs in to check their mail. You can also now disable it by setting "new_mail_notification" to false.
@animalvgamer
Have at it!
-
View User Profile
-
Send Message
Posted Jun 13, 2014I play on a Voltz server which probably runs some 1.5.2 build of this plugin. I very much so like the way this plugin works, and the interface is amazing. However, there are some possible changes I would like to make to the system. I ask now whether you would be comfortable with me creating my own plugin (I would write my own source) with this as its inspiration? I can give credit if you wish as well.
-
View User Profile
-
Send Message
Posted Jun 13, 2014I solved my issue, I had just broken the database somehow and things weren't saving right. Sorry about that.
But while I'm here, I have a quick, small feature request. Could a config field be added to the effect of "Login-message-delay: 0"? Many servers (including mine) have some sort of login text, and its hard to control what goes first. If this field were to be implemented, you could delay the message for X seconds as to show up after everything else has faded, and have a higher chance of informing the player of waiting items :D
-
View User Profile
-
Send Message
Posted Jun 9, 2014@externo6
In further investigation, adding a written book into the market, then restarting the server causes it to turn into a 'transactionlog' which seems completely random.